Page tree
Skip to end of metadata
Go to start of metadata


Introduced in

Version:1.00

Description

Description:

Defines whether the given marker changes size, in proportion to the map zoom level.

The values returned by getMarkerSize are not affected by this setting, only the visual appearance on the map.

Only works with markers of setMarkerType "Icon".

Markers that are set to auto-size have the specified size only when the current map scale (see ctrlMapScale) is 1150. At other scales, the icon size is different, in order to keep its relative size in regard to the screen (to fill the height of the screen with an auto-sized icon, a height of 14.2 is needed).

Syntax

Syntax:markername setMarkerAutoSize autosize
Parameters:
  • markername: String - Marker name.
  • autosize: Boolean - If true (default), then the marker size always stays the same. If false, then marker is resized with the zoom level, to always keep its absolute size.
Return Value:Nothing

Examples

Examples:
"startMarker" setMarkerAutoSize true;

Additional Information

See also: markerAutosize, setMarkerAutoSizeLocal
Multiplayer:
Problems:

Notes