MapLayer.PlaceVisualsOneByOne

Syntax

PlaceVisualsOneByOne: Boolean;

Description

The PlaceVisualsOneByOne property determines whether map factors are in line.

Comments

Use JSON and the setPlaceVisualsOneByOne method to set the property value and the getPlaceVisualsOneByOne method to get it.

Available values:

Example

To execute the example HTML page must contain object of the PP.MapLayer type (see page with description of the MapLayer.addSubLayer) property named layer. Show map factors one after another:

// Delete all factors from the map
layer.clearVisualItems();
// Refresh the map
map.refresh();
// Create a new map layer
var layer = createLayer("Visuals");
// Place factors one after another
layer.setPlaceVisualsOneByOne(false);
// Place map factors for the RU-KYA map layer area
var shapeId = "RU-KYA";
showBar(shapeId);
showPie(shapeId);
showBubble(shapeId);
// Redraw the map
map.draw();

As a result of executing the example, map factors are show one after another:

See also:

MapLayer