[OpenLayers-Users] Show Icons only in Zoom 9 to 16
Jan Tappenbeck
osm at tappenbeck.net
Fri Sep 4 07:31:48 EDT 2009
Philip Bruvoll schrieb:
> 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
>
Hi Philip!
thanks for message but i am a greenhorn like js - did you have a more
detail example for me ??
regards Jan :-)
More information about the Users
mailing list