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 |
|
Schuyler Erle
|
70df45d160
|
Created scale indicator based on Chris's Permalink.js.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@923 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-08 06:17:33 +00:00 |
|
Schuyler Erle
|
3a018dbb45
|
Declared vars in Permalink.js as lexical.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@922 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-08 06:05:48 +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
|
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
|
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
|
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
|
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
|
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 |
|
euzuro
|
90933052aa
|
give Grid a clone() function.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@894 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-06 02:19:04 +00:00 |
|
euzuro
|
8c6972bb06
|
uberminor change - spacing/alignment in jsdoc comments
git-svn-id: http://svn.openlayers.org/trunk/openlayers@893 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-06 02:05:24 +00:00 |
|
euzuro
|
43e1788f6f
|
coding standards - no multiple returns
git-svn-id: http://svn.openlayers.org/trunk/openlayers@892 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-06 02:02:03 +00:00 |
|
euzuro
|
24503103b3
|
rearranging order of some functions, marking some of them private
git-svn-id: http://svn.openlayers.org/trunk/openlayers@891 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-06 01:57:53 +00:00 |
|
euzuro
|
f14a6049c1
|
coding standards for Grid.js
git-svn-id: http://svn.openlayers.org/trunk/openlayers@890 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-06 01:51:14 +00:00 |
|
euzuro
|
353c7b810d
|
jsdoc Grid.js
git-svn-id: http://svn.openlayers.org/trunk/openlayers@889 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-06 01:39:19 +00:00 |
|
euzuro
|
b848e824d7
|
modify Grid to use HTTPRequest, update WMS & WFS with their necessary specifications -- capitalizing all parameters and adding SRS param from getProjection()
git-svn-id: http://svn.openlayers.org/trunk/openlayers@888 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-06 01:28:48 +00:00 |
|
euzuro
|
5debdb69ec
|
make sure clone() of a layer does not copy the reference in the 'map' property. that should always be null as a cloned layer will still need to be added to the map via map.addLayer()
git-svn-id: http://svn.openlayers.org/trunk/openlayers@887 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-06 01:02:02 +00:00 |
|
euzuro
|
4182cc1955
|
adding new HTTPRequest class that adds a 'url' and 'params' properties to a Layer, and gives a getFullRequestString() function. Thorough tests.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@886 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-06 00:32:11 +00:00 |
|
euzuro
|
96a32e8fb0
|
make a safe copy of options on initialization, utilize applyDefaults() on clone to pick up stray addons. dont need the if in addOptions, as extend can safely handle a null source
git-svn-id: http://svn.openlayers.org/trunk/openlayers@884 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-05 15:31:08 +00:00 |
|
euzuro
|
23c2ea1c04
|
set all properties of layer to null on destroy. add test.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@883 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-04 23:55:34 +00:00 |
|