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
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
..
Control
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
Feature
Fix all cases where we have Windows line endings, and set eol-style="native"
2006-09-09 15:46:17 +00:00
Layer
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
Marker
Patch from Tim Schaub to Box.js to make display better in IE.
2006-10-02 16:06:44 +00:00
Popup
Fix all cases where we have Windows line endings, and set eol-style="native"
2006-09-09 15:46:17 +00:00
Tile
replace useage of OpenLayers.Util.setOpacity() with OpenLayers.Util.modifyDOMElement(). Rewrite the former to use the latter, and mark the former as deprecated.
2006-10-03 19:38:15 +00:00
Ajax.js
Change OpenLayers.ProxyHost in Subversion to be null. This means that Ajax
2006-08-15 14:11:58 +00:00
BaseTypes.js
minor update to r1558 for coding standards, comments, etc
2006-10-04 20:57:25 +00:00
Control.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
Events.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
Feature.js
add onScreen() function to OpenLayers.Feature, and add tests to prove it.
2006-09-27 21:56:17 +00:00
Icon.js
make default behaviour for an icon with no specified offset or calcuateOffset() function be to have a standard calculateOffset() function setting the offset point at the center of the icon
2006-10-03 20:51:39 +00:00
Layer.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
Map.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
Marker.js
simplify defaultIcon now that default Icon sets offset to center
2006-10-03 20:52:29 +00:00
Popup.js
redo of r1438 to make popup use new Events-Fall-Through functionality (as introduced with r1468)
2006-09-14 20:58:46 +00:00
SingleFile.js
Added license headers to all JS source files.
2006-06-21 15:22:48 +00:00
Tile.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
Util.js
replace useage of OpenLayers.Util.setOpacity() with OpenLayers.Util.modifyDOMElement(). Rewrite the former to use the latter, and mark the former as deprecated.
2006-10-03 19:38:15 +00:00