This website requires JavaScript.
Explore
Help
Sign In
ashatora
/
openlayers
Watch
1
Star
0
Fork
0
You've already forked openlayers
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
Files
510ab8561c3a48cfe738be32d00bfc39cf1cb517
openlayers
/
lib
/
OpenLayers
/
Control
History
euzuro
510ab8561c
add a new property to layer.js called 'visibility' which we now need to store instead of reading directly from the visiblity of the div itself, since the div might be hidden, but only because it is out of range. we thus add a new method on layer called inRange() which returns whether or not the layer's max/min resolution settings allow it to be displayed at the current map's resolution. to make sure that min/max resolution, scale, etc are set for *all* layers, we remove the if statement limiting the running of initResolution() to only baselayers, and we add code at the end of that function that, once the resolutions array has been calculated, then goes back and sets min/max scale and resolution. now what we have to do is every time moveTo() is called on a layer, if the zoom has changed, then we must check if the layer is inRange() and update the display accordingly. on that same note, the layerswitcher must now be attentive to these changes, so we set it to redraw every time the zoom changes. in the layerswitcher code, we now add special code to disable a layer if it is out of range. must add the superclass call to moveTo() for all of the layers to ensure this code is executed for all. update test.
...
git-svn-id:
http://svn.openlayers.org/trunk/openlayers@1577
dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-05 04:20:16 +00:00
..
KeyboardDefaults.js
change the '@require:' to '@requires' so as to be compatible with JSDOC standards. put these directly inside the class definition comment block. update script to suggest this and update all source files to follow pattern. Caught a missing @requires in the EventPane.js file
2006-08-14 23:05:05 +00:00
LayerSwitcher.js
add a new property to layer.js called 'visibility' which we now need to store instead of reading directly from the visiblity of the div itself, since the div might be hidden, but only because it is out of range. we thus add a new method on layer called inRange() which returns whether or not the layer's max/min resolution settings allow it to be displayed at the current map's resolution. to make sure that min/max resolution, scale, etc are set for *all* layers, we remove the if statement limiting the running of initResolution() to only baselayers, and we add code at the end of that function that, once the resolutions array has been calculated, then goes back and sets min/max scale and resolution. now what we have to do is every time moveTo() is called on a layer, if the zoom has changed, then we must check if the layer is inRange() and update the display accordingly. on that same note, the layerswitcher must now be attentive to these changes, so we set it to redraw every time the zoom changes. in the layerswitcher code, we now add special code to disable a layer if it is out of range. must add the superclass call to moveTo() for all of the layers to ensure this code is executed for all. update test.
2006-10-05 04:20:16 +00:00
MouseDefaults.js
coding standards -- spacing
2006-09-15 20:00:41 +00:00
MouseToolbar.js
was able to reproduce the wierd clicking bug jrf found. it was happening because the mouseup was not being properly handled by the toolbar buttons. this is taken care of.
2006-09-15 20:20:59 +00:00
PanZoom.js
update id system -- now control and layer divs take their classname and add a random number
2006-09-06 20:44:55 +00:00
PanZoomBar.js
give our events model the option of allowing events to fall through so that they can be picked up in lower layers. change the panzoombar and the mousetoolbar to use this new fallthrough option so that we aren't causing bugs when the drag zoom rectangle gets dropped over them, they dont freak out. next up i am going to re-fix the popup events code to use this feature.
2006-09-14 20:25:23 +00:00
Permalink.js
Permalink will now save state if there's no base layer when it's added, and
2006-10-03 04:34:51 +00:00
Scale.js
update id system -- now control and layer divs take their classname and add a random number
2006-09-06 20:44:55 +00:00