IsStroked: Boolean;
The IsStroked property determines whether the draw mode of the map layer area with outline and without fill is enabled.
Use JSON or the setIsStroked method to set the property value and the getIsStroked method to get the property value.
Available values:
true. Draw mode of the map layer area with outline and without fill is enabled.
false. Draw mode of the map layer area with outline and without fill is disabled (default).
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: