[OpenLayers-Users] Show Icons only in Zoom 9 to 16
Philip Bruvoll
pbruvoll at hotmail.com
Thu Sep 3 09:03:15 EDT 2009
I think you can register a zoomend event.
Something like this :
var olMap = new OpenLayers.Map(...)
var callBack = function(zoomLevel) {...}
olMap.events.register("zoomend", olMap, callBack);
Then you can hide the markers in the callback function depending on zoomLevel
Kind regards,
Philip B
_________________________________________________________________
Show them the way! Add maps and directions to your party invites.
http://www.microsoft.com/windows/windowslive/products/events.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090903/b85b08e0/attachment.html
More information about the Users
mailing list