Q: How to control the Vector layer display level?

A: map.events.on(“zoomend “,callback): monitor the completion event of map zooming. The callback function gets the current scale or zoom level, and then set the layer of hiding and displaying. layer.setVisibility(): the base method. All layer sub-classes inherit this class.

09 July,2019
Tags: iClient

More iClient FAQ