MapShape.IsStroked

Syntax

IsStroked: Boolean;

Description

The IsStroked property determines whether the draw mode of the map layer area with outline and without fill is enabled.

Comments

Use JSON or the setIsStroked method to set the property value and the getIsStroked method to get the property value.

Available values:

Example

To execute the example HTML page must contain the object of the PP.MapShape type (see page with description of the MapShape.Visual) property named mapShape. Show a map layer area where outline thickness is 2 pixels and without fill:

mapShape.setIsStroked(true);
// Set line width
mapShape.setStrokeWidth(2);
// Rerender map
map.draw();

After executing the example, the map layer area with the RU-KYA identifier was shown with outline thickness equal to 2 pixels and without fill:

See also:

MapShape