euzuro
|
3962b0a814
|
fixed tabs, multiple return (coding standards)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1010 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-26 14:42:50 +00:00 |
|
euzuro
|
5216e5b042
|
add comment -- limitSigDig only works with integers... for now
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1009 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-26 12:27:41 +00:00 |
|
euzuro
|
ce69912782
|
add limitSigDigs() function to number's prototype. tests included
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1008 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-26 12:22:12 +00:00 |
|
euzuro
|
317c15a5ce
|
readibility / coding standards
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1007 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-26 10:17:21 +00:00 |
|
euzuro
|
63396d27d0
|
r1005 introduced some infinite recursion. no good. split addControl() into two functions, one public, which adds to internal this.controls arrray... and one private addControlToMap() which does the same, but without adding it to this.controls
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1006 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-26 10:13:33 +00:00 |
|
euzuro
|
d079f0bbca
|
allow user to specify initial controls via 'controls' array option, instead of simply passing an empty array and then later adding. that seems extraneous
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1005 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-26 10:01:45 +00:00 |
|
euzuro
|
04a2e9472d
|
allow an option to kill all other popups on addition of new one
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1004 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-25 21:43:28 +00:00 |
|
euzuro
|
65da9e491e
|
'=' != '==' oops.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1003 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-25 21:40:02 +00:00 |
|
euzuro
|
b063447471
|
move getFeature() to the Layer
git-svn-id: http://svn.openlayers.org/trunk/openlayers@995 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-21 19:19:54 +00:00 |
|
euzuro
|
82d335df03
|
add a getFeature() to Tile.WFS
git-svn-id: http://svn.openlayers.org/trunk/openlayers@994 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-21 19:07:33 +00:00 |
|
euzuro
|
96c3720aab
|
protect for null bounds (not-loaded map)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@993 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-21 18:22:37 +00:00 |
|
euzuro
|
4f208e2207
|
now with multiple wfs servers, we do NOT want to clear this list. argh.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@990 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-20 18:01:37 +00:00 |
|
euzuro
|
3351e2ceb1
|
decompose addResults() function
git-svn-id: http://svn.openlayers.org/trunk/openlayers@989 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-20 16:41:38 +00:00 |
|
euzuro
|
339026faf6
|
update tests to new feature id
git-svn-id: http://svn.openlayers.org/trunk/openlayers@988 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-20 16:10:25 +00:00 |
|
euzuro
|
16b0f1b3ef
|
always give features random id's. this prevents duplicate issues on zooming
git-svn-id: http://svn.openlayers.org/trunk/openlayers@987 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-20 16:00:43 +00:00 |
|
euzuro
|
9783a64c64
|
update comment
git-svn-id: http://svn.openlayers.org/trunk/openlayers@985 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-20 13:47:55 +00:00 |
|
euzuro
|
b6e937e877
|
add addScript() function for loading JSON scripts (or any scripts, for that matter)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@984 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-20 13:46:33 +00:00 |
|
euzuro
|
9a5f6c8d33
|
start tile & layer id's with standard strings, to avoid funky characters when later these ids are used as parameters
git-svn-id: http://svn.openlayers.org/trunk/openlayers@983 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-19 17:09:18 +00:00 |
|
euzuro
|
ca8993dd68
|
only send up arguments if not blank
git-svn-id: http://svn.openlayers.org/trunk/openlayers@982 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-19 16:41:36 +00:00 |
|
euzuro
|
2e67a6aedf
|
add getTile() function to Grid.js. with tests
git-svn-id: http://svn.openlayers.org/trunk/openlayers@981 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-19 15:20:25 +00:00 |
|
euzuro
|
2def6f6327
|
give Tile a unique id. add tests
git-svn-id: http://svn.openlayers.org/trunk/openlayers@980 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-19 14:47:41 +00:00 |
|
euzuro
|
96d0f62c59
|
add getLayer() function to Map
git-svn-id: http://svn.openlayers.org/trunk/openlayers@979 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-19 14:42:20 +00:00 |
|
euzuro
|
5855e1cb1f
|
move clear button down with the run buttons.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@978 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-19 14:41:18 +00:00 |
|
euzuro
|
f71f3d0cfb
|
give layer a unique id. udpate tests
git-svn-id: http://svn.openlayers.org/trunk/openlayers@977 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-19 14:30:46 +00:00 |
|
euzuro
|
3f07472d5d
|
rollback of r975
git-svn-id: http://svn.openlayers.org/trunk/openlayers@976 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 18:39:15 +00:00 |
|
euzuro
|
abeb2ce686
|
give the map div a reference back to the OpenLayers.Map object
git-svn-id: http://svn.openlayers.org/trunk/openlayers@975 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 18:13:33 +00:00 |
|
euzuro
|
4709d697b7
|
add appropriate requirements now that we are using an Util.js function in Feature.js
git-svn-id: http://svn.openlayers.org/trunk/openlayers@974 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 17:21:36 +00:00 |
|
euzuro
|
e08ab3371c
|
use built-in VE translation functions
git-svn-id: http://svn.openlayers.org/trunk/openlayers@973 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 16:43:34 +00:00 |
|
euzuro
|
a046bb2b31
|
bug hidden from change to multiple WFS
git-svn-id: http://svn.openlayers.org/trunk/openlayers@972 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 16:31:39 +00:00 |
|
euzuro
|
c0e82d966f
|
consolodate usage of Math.random() in OpenLayers.Util.createUniqueID()
git-svn-id: http://svn.openlayers.org/trunk/openlayers@971 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 16:23:12 +00:00 |
|
euzuro
|
ab98af7635
|
add test for OpenLayers.Util.createUniqueID()
git-svn-id: http://svn.openlayers.org/trunk/openlayers@970 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 16:17:01 +00:00 |
|
euzuro
|
0a1529e00a
|
lowercase functionname, indicate unique
git-svn-id: http://svn.openlayers.org/trunk/openlayers@969 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 16:12:31 +00:00 |
|
euzuro
|
788ee7fee2
|
add a util function to create a random id
git-svn-id: http://svn.openlayers.org/trunk/openlayers@968 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 16:10:38 +00:00 |
|
euzuro
|
1a71ac6199
|
update to new way of specifying feature class. OpenLayers.Feature.WFS is actually the default, so this technically doesnt even need to be done, but just for example.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@967 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 15:46:38 +00:00 |
|
euzuro
|
3c4d324f12
|
allow for user to specify an alternate tile class to use with WFS
git-svn-id: http://svn.openlayers.org/trunk/openlayers@964 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 14:19:12 +00:00 |
|
euzuro
|
17426fcfc4
|
no longer need to set this parameter here now that we are correctly bubbling the setMap() call up to its two superclasses. Before, when we didnt define setMap() in WFS.js, then it was only bubbling up to Markers.js, which means that it wasnt getting the default tileSize from the map which happens in Grid.js.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@963 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 14:07:32 +00:00 |
|
euzuro
|
7651590f7d
|
make sure setMap() bubbles up correctly to both superclasses
git-svn-id: http://svn.openlayers.org/trunk/openlayers@962 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 13:37:04 +00:00 |
|
euzuro
|
e91d0546ee
|
replace all usage of copyOf() with clone(). Now copyOf() is officially deprecated and unused. supported only if users out there have used it, but we can phase it out in the next official release.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@961 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 11:56:13 +00:00 |
|
euzuro
|
fc41d9dac1
|
update projection processing. if a layer (or the map) declares its projection as 'none' then no SRS parameter is added to the WMS/WFS requests
git-svn-id: http://svn.openlayers.org/trunk/openlayers@960 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-17 15:39:44 +00:00 |
|
euzuro
|
f9034ac9a2
|
do not add null-valued parameters
git-svn-id: http://svn.openlayers.org/trunk/openlayers@959 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-17 15:37:48 +00:00 |
|
euzuro
|
fa090a0826
|
clear the grid if not visible
git-svn-id: http://svn.openlayers.org/trunk/openlayers@958 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-17 13:09:39 +00:00 |
|
euzuro
|
7994088a7a
|
update WFS to new clone()
git-svn-id: http://svn.openlayers.org/trunk/openlayers@957 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-17 12:59:12 +00:00 |
|
euzuro
|
0bcf214ddc
|
update ve.html example
git-svn-id: http://svn.openlayers.org/trunk/openlayers@956 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-16 18:57:35 +00:00 |
|
euzuro
|
fca63a4ffe
|
two changes I had to scour the net to find. First off, PixelToLatLong() does not take the arguments that the official SDK tell us it does. Thanks to Denis of ViaVirtualEarth.com for the workaround. Next, the olPix-vePix conversion, the actual mysterious undocumented 'Pixel' class appears to be Msn.VE.Pixel -- thanks to blogs.msdn.com/virtualearth for that one. if only things were a little more *open* we wouldnt have to hunt for things like this <exclamation>.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@955 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-16 18:49:39 +00:00 |
|
euzuro
|
500cc01778
|
rearrange loading structure to account for ve libraries not being loaded and for the mozilla match bug
git-svn-id: http://svn.openlayers.org/trunk/openlayers@954 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-16 18:18:29 +00:00 |
|
euzuro
|
63b8cd6210
|
ve still doesnt totally work, but soon it will... and at any case it no longer auto-includes the script
git-svn-id: http://svn.openlayers.org/trunk/openlayers@953 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-16 17:11:06 +00:00 |
|
euzuro
|
54f37fe30a
|
oops. carryover from google.js copy :-(
git-svn-id: http://svn.openlayers.org/trunk/openlayers@952 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-16 17:07:44 +00:00 |
|
euzuro
|
d15d941d68
|
we now can remove the getExtent() function from Google.js and VirtualEarth.js
git-svn-id: http://svn.openlayers.org/trunk/openlayers@951 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-16 16:56:15 +00:00 |
|
euzuro
|
3776a5d729
|
establish generic getExtent() function in Layer. Move resolution-based calculation up into Grid.js. This prevents infinite loops and is more useful to generic layers like Gmaps, VE, etc.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@950 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-16 16:55:20 +00:00 |
|
euzuro
|
629e62b82b
|
protect google base layer functions from an uncentered gmaps object
git-svn-id: http://svn.openlayers.org/trunk/openlayers@949 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-16 16:41:54 +00:00 |
|
euzuro
|
460446f558
|
actually don't have to use hacked functions afterall :-)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@948 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-16 15:34:08 +00:00 |
|
euzuro
|
f013e9c2e5
|
removed auto-script loader from VirtualEarth.js, beginning adding accessor and translation functions so that it can be used as a base layer. still not complete.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@947 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-14 19:01:45 +00:00 |
|
euzuro
|
e645fb03ac
|
update warning message to users
git-svn-id: http://svn.openlayers.org/trunk/openlayers@946 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-14 16:23:04 +00:00 |
|
euzuro
|
35aebd03fd
|
give the warning message a bit of padding
git-svn-id: http://svn.openlayers.org/trunk/openlayers@945 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-14 15:51:37 +00:00 |
|
euzuro
|
e5dbb97ef2
|
even if the wrong key is provided to gmaps, it still loads the GMap2 object. When you try to instantiate it, however, it errors. So we use a try statement and on error, we display the warning message. Nice
git-svn-id: http://svn.openlayers.org/trunk/openlayers@944 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-14 15:51:01 +00:00 |
|
euzuro
|
eb6c2a6346
|
first step of deprecating copyOf() functions, to be replaced with clone()
git-svn-id: http://svn.openlayers.org/trunk/openlayers@943 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-14 12:59:08 +00:00 |
|
euzuro
|
a3aa327d2f
|
only add extra urls if this.urls actually exists
git-svn-id: http://svn.openlayers.org/trunk/openlayers@942 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-13 12:42:19 +00:00 |
|
euzuro
|
bd9ee403f2
|
updates to allow a wfs layer to query multiple wfs servers with the same parameters. untested, but all tests pass.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@941 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-13 12:33:22 +00:00 |
|
euzuro
|
1e5e8d1490
|
coding standards
git-svn-id: http://svn.openlayers.org/trunk/openlayers@940 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-13 11:26:38 +00:00 |
|
euzuro
|
9eb4f1967e
|
fix calculation for random ids
git-svn-id: http://svn.openlayers.org/trunk/openlayers@939 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-12 01:53:03 +00:00 |
|
euzuro
|
68e58ab679
|
comments and spacing
git-svn-id: http://svn.openlayers.org/trunk/openlayers@938 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-12 00:35:46 +00:00 |
|
euzuro
|
488b41a50b
|
put destroy after init
git-svn-id: http://svn.openlayers.org/trunk/openlayers@937 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-12 00:34:47 +00:00 |
|
euzuro
|
ec33ac4a84
|
give Control classes same setMap() functionality as Layer
git-svn-id: http://svn.openlayers.org/trunk/openlayers@936 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-12 00:16:14 +00:00 |
|
euzuro
|
a52b1fc8f1
|
update moveTo() function to take the 'minor' argument
git-svn-id: http://svn.openlayers.org/trunk/openlayers@935 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-11 15:06:06 +00:00 |
|
euzuro
|
e0e5dd544b
|
update comment, adding 'minor' param
git-svn-id: http://svn.openlayers.org/trunk/openlayers@934 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-11 14:55:50 +00:00 |
|
euzuro
|
63e0242ca9
|
update comment
git-svn-id: http://svn.openlayers.org/trunk/openlayers@933 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-11 14:54:34 +00:00 |
|
euzuro
|
fe6ede2c87
|
check for transparency was not correct
git-svn-id: http://svn.openlayers.org/trunk/openlayers@932 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-11 13:52:16 +00:00 |
|
euzuro
|
ba157b6645
|
update clone to correct class name
git-svn-id: http://svn.openlayers.org/trunk/openlayers@931 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-11 12:18:34 +00:00 |
|
euzuro
|
d747bc1d83
|
rewrite of Untiled.js to only create the div's once, and from then on just modify the attributes. this should be faster.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@930 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-11 12:17:59 +00:00 |
|
euzuro
|
1fa74c7c68
|
rewrite of Untiled class to use HTTPRequest class and not to use the Grid.js class. This speeds it up a bit, I think. all tests still pass.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@929 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-11 01:15:59 +00:00 |
|
euzuro
|
a6870c66b0
|
grid's moveTo should also accept 'minor' even though it won't do anything with it.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@928 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-11 01:12:47 +00:00 |
|
euzuro
|
3030c421b5
|
if we allow a non-minor setCenter to get into this loop, then even if the last setCenter() on a drag is to the same center point and zoom, the moveTo()s of the layers will still get called with non-minor parameter -- in the case of Untiled, we need this to redraw the layer on move end.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@927 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-11 01:01:23 +00:00 |
|
euzuro
|
5a5c0f349d
|
somehow this got left off during the LayersReworking fiasco. Luckily only Untiled.js was actually using it. tests seem to pass, seems alright
git-svn-id: http://svn.openlayers.org/trunk/openlayers@926 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-11 00:50:32 +00:00 |
|
euzuro
|
03272cc894
|
add tests for passing null values to translation functions
git-svn-id: http://svn.openlayers.org/trunk/openlayers@921 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-07 17:05:16 +00:00 |
|
euzuro
|
6f17fbf54a
|
configure google zoom translation to return null if null passed in
git-svn-id: http://svn.openlayers.org/trunk/openlayers@920 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-07 17:00:34 +00:00 |
|
euzuro
|
b0d9a997c1
|
update comments
git-svn-id: http://svn.openlayers.org/trunk/openlayers@919 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-07 16:58:23 +00:00 |
|
euzuro
|
8e2448413e
|
add tests for google layer
git-svn-id: http://svn.openlayers.org/trunk/openlayers@918 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-07 16:45:09 +00:00 |
|
euzuro
|
5769205acb
|
give google layer a destroy() function
git-svn-id: http://svn.openlayers.org/trunk/openlayers@917 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-07 16:05:14 +00:00 |
|
euzuro
|
b84b3763a6
|
remove fixed layers from the viewport, not the layercontainer
git-svn-id: http://svn.openlayers.org/trunk/openlayers@916 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-07 16:04:32 +00:00 |
|
euzuro
|
83fe2a828a
|
created new GMaps API key for higher level directory. this way we can use the same key for the tests
git-svn-id: http://svn.openlayers.org/trunk/openlayers@915 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-07 15:46:48 +00:00 |
|
euzuro
|
f8e38a7b4d
|
change heading on example
git-svn-id: http://svn.openlayers.org/trunk/openlayers@914 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-07 15:28:08 +00:00 |
|
euzuro
|
e9d7ff12b4
|
add GMaps API key for http://openlayers.org/dev/examples/
git-svn-id: http://svn.openlayers.org/trunk/openlayers@913 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-07 15:27:03 +00:00 |
|
euzuro
|
517282baa4
|
if gmaps is unable to load, well then we will show the user some help
git-svn-id: http://svn.openlayers.org/trunk/openlayers@912 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-07 14:50:46 +00:00 |
|
euzuro
|
2897834520
|
tag fromLatLngToContainerPixel() function directly onto the GMap2 object. Cleaner code. Easier to distinguish where the hack is, and it is not completely separate of any OL code.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@911 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-07 13:20:33 +00:00 |
|
euzuro
|
10d55bd72a
|
remove document.write() call that loaded the gmaps script in google.js. from now on, the user is responsible for adding that script tag to his/her page. Add a test to make sure gmaps code base is loaded before trying to initialize new gmap2. update isBaseLayer() to return true only if gmaps is correctly loaded. finally, protect all methods if this.gmap is null, do nothing. update OpenLayers.js to now include Google.js and library.cfg to not exclude it.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@910 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-07 12:55:39 +00:00 |
|
euzuro
|
3b1545eadc
|
if we cant translate our lonlat to px, then dont try to draw.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@909 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-07 12:22:01 +00:00 |
|
euzuro
|
d4587b06c0
|
make sure grid is set before trying to reinit tiles
git-svn-id: http://svn.openlayers.org/trunk/openlayers@908 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-06 17:08:49 +00:00 |
|
euzuro
|
a6d4a42058
|
add a destroy() function and a clone() function -- they are mostly empty but they are there for people to add on. Also added a check to make sure that a grid has been loaded before trying to re-init tiles after a mergeParams. added extensive tests.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@907 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-06 17:07:51 +00:00 |
|
euzuro
|
9b263461c0
|
update comments to reflect new function name
git-svn-id: http://svn.openlayers.org/trunk/openlayers@906 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-06 16:55:42 +00:00 |
|
euzuro
|
0144ee66ab
|
fix the require
git-svn-id: http://svn.openlayers.org/trunk/openlayers@905 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-06 15:39:10 +00:00 |
|
euzuro
|
19adc2b155
|
require httprequest, not layer
git-svn-id: http://svn.openlayers.org/trunk/openlayers@904 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-06 15:27:03 +00:00 |
|
euzuro
|
304b61f8f8
|
add tests for Layer.Grid
git-svn-id: http://svn.openlayers.org/trunk/openlayers@903 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-06 13:04:04 +00:00 |
|
euzuro
|
aa30c9cae4
|
switch order of superclass.clone() (as in r901). then make sure that tileSize gets copied using copyOf(), and that the reference to the old grid does not get carried over.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@902 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-06 13:03:27 +00:00 |
|
euzuro
|
6b8bde0ff4
|
switch around order of call to superclass.clone() and the setting of noninit/nonsimple vars. that needs to be done *afterwards*. there is no functional difference in this commit -- it is only for good precedence.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@901 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-06 13:00:24 +00:00 |
|
euzuro
|
c13f7f5d4d
|
copy the actual tileSize object, not just the reference.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@900 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-06 12:47:09 +00:00 |
|
euzuro
|
3d52b3e4c5
|
nullify all Grid-specific values. just for good measure
git-svn-id: http://svn.openlayers.org/trunk/openlayers@899 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-06 12:29:45 +00:00 |
|
euzuro
|
774db5dbca
|
add test for visibility accessors for Layer
git-svn-id: http://svn.openlayers.org/trunk/openlayers@898 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-06 12:14:58 +00:00 |
|
euzuro
|
7f5ea40aca
|
change function to use bl / tr
git-svn-id: http://svn.openlayers.org/trunk/openlayers@897 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-06 11:59:39 +00:00 |
|
euzuro
|
7b80623c5c
|
update comment
git-svn-id: http://svn.openlayers.org/trunk/openlayers@896 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-06 10:46:57 +00:00 |
|
euzuro
|
986eaaf7a4
|
add hook to trigger the drawing of a layer upon addition to the map (assuming a center has been set)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@895 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-06 02:20:06 +00:00 |
|