Zoom layers
- Last UpdatedAug 29, 2024
- 2 minute read
Zoom layers allow you to control which graphics appear on a map when it is zoomed to a particular percentage. Configuring zoom layers is a two-step process:
-
Create one or more zoom layers: Each layer defines a minimum and maximum zoom percentage. At run time, if the zoom percentage is within these limits, the graphics that are assigned to this zoom layer appear on the map. You can define as many zoom layers as you like, and the zoom ranges that you assign to layers can overlap. For example, if you create one zoom layer for the range 10% to 30% and another for the range 25% to 50%, when a map is zoomed to between 25% and 30%, it includes graphics assigned to either zoom layer.
-
Assign graphics to each zoom layer: You can assign one or more graphics to each zoom layer under Locations tab. When you assign a graphic, you select the zoom layer and assign the graphic to a position by specifying its latitude and longitude.
It may take some experimenting to get the transitions between zoom layers set to give the optimal appearance at run time. How close should a map have to be zoomed in before you show individual locations, or assets within those locations, instead of larger state or region symbols? You can modify existing zoom layers, or create new ones, at any time. Overlapping the boundaries of zoom layers can also help, so that at some percentages the user can see, for example, both smaller regions and larger individual locations,
Note: If you change the zoom layer definitions or graphics, you need to reopen the WindoeMaker.