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
|
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
|
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 |
|
crschmidt
|
692d0f6113
|
Fix broken units: inches was missing, and dd was in place of images.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@966 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 14:37:40 +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
|
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
|
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 |
|
crschmidt
|
37e47ad612
|
Added rounding in updateScale().
git-svn-id: http://svn.openlayers.org/trunk/openlayers@925 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-08 06:35:47 +00:00 |
|
crschmidt
|
3d59c93b9d
|
Removed unnecessary base param from Scale control.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@924 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-08 06:20:36 +00:00 |
|