crschmidt
|
5eb1fdfaca
|
When we remove a layer from the map, if it is the base Layer, we need to find *another* base layer to replace it, otherwise when we call getExtent, etc. it will be on the *old* base layer, which no longer has a map object defined.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@999 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-24 12:17:48 +00:00 |
|
crschmidt
|
162f0a408b
|
Add require statements to feature classes, so that single file build works correctly.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@997 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-24 11:30:50 +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 |
|
crschmidt
|
02efb5c213
|
Edit out toJSON() prototypes since they're breaking unit tests.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@991 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-21 03:40:31 +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
|
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 |
|
crschmidt
|
e75ece7909
|
Add JSON parser and exporter, to allow people to more safely parse and use JSON in their OpenLayers applications.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@986 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-20 14:23:05 +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
|
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 |
|