euzuro
b3c10c0892
remove unused remove function, add new clear() function
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1149 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 06:11:31 +00:00
euzuro
8e5acd019a
declare urls property in wfs tile
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1148 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 05:58:37 +00:00
euzuro
f3d6fb8718
add JSDOC commenting and stub moveTo function in WFS tile
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1147 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 05:42:42 +00:00
euzuro
b262f2fb71
hack hack hack
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1146 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 04:41:21 +00:00
euzuro
3a9d4e8852
we have no logger now and i doubt we ever will
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1145 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 04:39:33 +00:00
euzuro
f339e3a93d
hash -> hashtable and Hash -> Object -- let there be no confusion, we are *not* using prototype
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1144 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 04:36:39 +00:00
euzuro
f65ea55fa3
str -> String
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1143 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 04:23:27 +00:00
euzuro
0332bd09ec
event -> Event
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1142 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 04:21:29 +00:00
crschmidt
bc780edcec
Fix test failures by changing the failover mode to check for existince of needed variables rather than storing 'newGrid'
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1141 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 04:18:18 +00:00
euzuro
c0e06dae19
grid is always loaded. check only if we have a map
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1140 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 03:59:06 +00:00
euzuro
69876208f4
fix tests that do double-test to check lonlat or xy or wh instead of using the equals() functions
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1139 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 03:56:32 +00:00
crschmidt
31af99c64d
Fix new test failures with the tile-reuse branch
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1138 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 03:54:10 +00:00
crschmidt
0ba7961df4
Commit tile-reuse branch back to trunk. This branch offers numerous performance
...
improvements in the form of reduced memory use and lower element creating costs,
hopefully making the OpenLayers code more usable in internet explorer as well
as less of a memory hog in Firefox and other browsers. Additionally, a buffer
is available around the main map grid which allows tiles to be loaded outside
of the viewing area for faster dragging.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1137 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 03:47:33 +00:00
euzuro
51ac2b4acf
remove useless or duplicate functions from Util.js -- no more: Array prepend() append() -- use push() and unshift(). clear() and indexOf() both removed as they are duplicated in Prototype.js -- all instances replaced and tests updated.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1136 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 03:31:06 +00:00
euzuro
f2a3cf9348
don't allow a baselayer to unselect itself
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1134 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-09 03:10:57 +00:00
euzuro
864e54b8e7
if there are no overlays then don't display the overlay label
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1116 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-08 22:02:28 +00:00
crschmidt
9ebdfabd30
Change this to use dev version as is practice for examples.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1098 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-08 18:37:40 +00:00
crschmidt
7cbb36a5ea
Commit XHTML example page.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1097 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-08 18:33:34 +00:00
euzuro
f3a072b151
new layerswitcher, improved google layer, boxes layer, grid fix
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1096 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-08 18:20:24 +00:00
crschmidt
138d22af3f
Commit with no zoom passed.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1084 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-08 15:34:59 +00:00
crschmidt
e60734747d
Commit example for testing of bug reports on mailing list. Will deliver this
...
URL to users and see if they can reproduce the problem in a simple test case
that mimicks this.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1083 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-08 14:21:10 +00:00
crschmidt
adc561b38f
When panning by large distances, OpenLayers previously created all the grid
...
space inbetween. This no longer happens -- instead, the grid will re-init if
the bounds is not at least partially contained by the existing box.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1074 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-03 17:27:47 +00:00
euzuro
236b39138d
add new layerswitcher icons
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1068 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-03 11:57:11 +00:00
euzuro
29aec75256
update wiki link
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1052 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-02 18:11:55 +00:00
euzuro
94072f8dfe
update wiki link
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1051 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-02 18:11:11 +00:00
euzuro
620cebb79c
add a 'changelayer' event that fires when a layer's visibility changes. listen for this in the layerswitcher
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1050 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-02 16:08:09 +00:00
euzuro
443f28dee8
change warning background color to darkblue. lets try to be consistent here
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1049 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-31 18:35:22 +00:00
crschmidt
0343f5a35e
The old Marker wasn't displaying in the right position when you zoomed out -- no Icon.Offset was being set. (The code was copy pasted from before such a thing existed.) Change to the OpenLayers marker style, instead of some random image I grabbed off a website -- using the default icon means our offset is set right, so the markers end up in the right place.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1038 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-29 12:28:20 +00:00
euzuro
6d330f1f05
no reason to exclude VE. it is mostly done
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1015 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-27 00:55:30 +00:00
euzuro
a559e87775
decomposed in r989 but forgot to put the link.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1014 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-26 21:14:39 +00:00
euzuro
6c22690d8b
removing JSON handling code from Ajax.js. It is not currently needed in this library.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1013 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-26 15:52:33 +00:00
euzuro
88e1b772b9
only call the concluding setCenter() (which generally will do no more than fire the 'moveend' event) if the drag was actually performed. otherwise, it was just a click, and no need.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1012 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-26 15:33:12 +00:00
euzuro
a171ae13b6
fixing more tabs. all tests pass
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1011 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-26 14:44:44 +00:00
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
crschmidt
d221e33ba6
More documentation, link to wiki.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1002 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-24 12:37:23 +00:00
crschmidt
d87312cb49
Add ka-map example file. This is a PHP file, slightly modified from the distribution, and combining the tile.php and config.php files into one, so that users only have to use one file to set up a ka-map backend.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1001 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-24 12:33:51 +00:00
crschmidt
975377fb89
KaMap tests. This led to r999, relating to base layer differences, and is in large part a copy of the Grid layer, so it could use some more tests to ensure it Does The Right thing with regard to the different initTiles functionality that kamap requires.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1000 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-24 12:18:51 +00:00
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
2afe7dbab4
Set OpenLayers.ProxyHost on examples that make use of loadURL.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@998 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-24 11:38: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
crschmidt
b5fb825788
Change freemap mapfile.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@996 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-24 11:29:46 +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