Documentation
Reference
2.1.50 (current version)
collection
interactivityModel
Interfaces
2.1.52 (release candidate)
collection
interactivityModel
Interfaces

option.presetStorage

Static object.

Instance of util.Storage

Storage for preset options. List of available keys:

Placemarks with text

Placemark content is set via properties.iconContent.

Icon Key Icon Key
'islands#blueIcon' 'islands#darkGreenIcon'
'islands#redIcon' 'islands#violetIcon'
'islands#darkOrangeIcon' 'islands#blackIcon'
'islands#nightIcon' 'islands#yellowIcon'
'islands#darkBlueIcon' 'islands#greenIcon'
'islands#pinkIcon' 'islands#orangeIcon'
'islands#grayIcon' 'islands#lightBlueIcon'
'islands#brownIcon' 'islands#oliveIcon'

Placemarks with text (icons stretch to fit the content)

Placemark content is set via properties.iconContent.

Icon Key Icon Key
'islands#blueStretchyIcon' 'islands#darkGreenStretchyIcon'
'islands#redStretchyIcon' 'islands#violetStretchyIcon'
'islands#darkOrangeStretchyIcon' 'islands#blackStretchyIcon'
'islands#nightStretchyIcon' 'islands#yellowStretchyIcon'
'islands#darkBlueStretchyIcon' 'islands#greenStretchyIcon'
'islands#pinkStretchyIcon' 'islands#orangeStretchyIcon'
'islands#grayStretchyIcon' 'islands#lightBlueStretchyIcon'
'islands#brownStretchyIcon' 'islands#oliveStretchyIcon'

Placemarks without content with a dot in the center

Icon Key Icon Key
'islands#blueDotIcon' 'islands#darkGreenDotIcon'
'islands#redDotIcon' 'islands#violetDotIcon'
'islands#darkOrangeDotIcon' 'islands#blackDotIcon'
'islands#nightDotIcon' 'islands#yellowDotIcon'
'islands#darkBlueDotIcon' 'islands#greenDotIcon'
'islands#pinkDotIcon' 'islands#orangeDotIcon'
'islands#grayDotIcon' 'islands#lightBlueDotIcon'
'islands#brownDotIcon' 'islands#oliveDotIcon'

Placemarks in the style of a circle with text

Placemark content is set via properties.iconContent.

Icon Key Icon Key
'islands#blueCircleIcon' 'islands#darkGreenCircleIcon'
'islands#redCircleIcon' 'islands#violetCircleIcon'
'islands#darkOrangeCircleIcon' 'islands#blackCircleIcon'
'islands#nightCircleIcon' 'islands#yellowCircleIcon'
'islands#darkBlueCircleIcon' 'islands#greenCircleIcon'
'islands#pinkCircleIcon' 'islands#orangeCircleIcon'
'islands#grayCircleIcon' 'islands#lightBlueCircleIcon'
'islands#brownCircleIcon' 'islands#oliveCircleIcon'

Placemarks in the style of circles with a dot in the center

Icon Key Icon Key
'islands#blueCircleDotIcon' 'islands#darkGreenCircleDotIcon'
'islands#redCircleDotIcon' 'islands#violetCircleDotIcon'
'islands#darkOrangeCircleDotIcon' 'islands#blackCircleDotIcon'
'islands#nightCircleDotIcon' 'islands#yellowCircleDotIcon'
'islands#darkBlueCircleDotIcon' 'islands#greenCircleDotIcon'
'islands#pinkCircleDotIcon' 'islands#orangeCircleDotIcon'
'islands#grayCircleDotIcon' 'islands#lightBlueCircleDotIcon'
'islands#brownCircleDotIcon' 'islands#oliveCircleDotIcon'

Placemarks with a dot in the center. Caption in the right-hand block

The caption is set in properties.iconCaption.

Icon Key
'islands#blueDotIconWithCaption'
'islands#darkGreenDotIconWithCaption'
'islands#redDotIconWithCaption'
'islands#violetDotIconWithCaption'
'islands#darkOrangeDotIconWithCaption'
'islands#blackDotIconWithCaption'
'islands#nightDotIconWithCaption'
'islands#yellowDotIconWithCaption'
'islands#darkBlueDotIconWithCaption'
'islands#greenDotIconWithCaption'
'islands#pinkDotIconWithCaption'
'islands#orangeDotIconWithCaption'
'islands#grayDotIconWithCaption'
'islands#lightBlueDotIconWithCaption'
'islands#brownDotIconWithCaption'
'islands#oliveDotIconWithCaption'

Placemarks in the style of circles with a dot in the center. Caption in the right-hand block

The caption is set in properties.iconCaption.

Icon Key
'islands#blueCircleDotIconWithCaption'
'islands#darkGreenCircleDotIconWithCaption'
'islands#redCircleDotIconWithCaption'
'islands#violetCircleDotIconWithCaption'
'islands#darkOrangeCircleDotIconWithCaption'
'islands#blackCircleDotIconWithCaption'
'islands#nightCircleDotIconWithCaption'
'islands#yellowCircleDotIconWithCaption'
'islands#darkBlueCircleDotIconWithCaption'
'islands#greenCircleDotIconWithCaption'
'islands#pinkCircleDotIconWithCaption'
'islands#orangeCircleDotIconWithCaption'
'islands#grayCircleDotIconWithCaption'
'islands#lightBlueCircleDotIconWithCaption'
'islands#brownCircleDotIconWithCaption'
'islands#oliveCircleDotIconWithCaption'

Placemarks with an icon

For this type of placemark, the key uses the format: 'islands#{color}{icon}Icon'. For example, 'islands#blueHomeIcon'. The list below shows available icons and corresponding keys. For the list of available colors, see any other table.

Icon Key Icon Key
'islands#blueHomeIcon' 'islands#blueScienceIcon'
'islands#blueAirportIcon' 'islands#blueAutoIcon'
'islands#blueBarIcon' 'islands#blueShoppingIcon'
'islands#blueFoodIcon' 'islands#blueSportIcon'
'islands#blueCinemaIcon' 'islands#blueVideoIcon'
'islands#blueMassTransitIcon' 'islands#blueRailwayIcon'
'islands#blueToiletIcon' 'islands#blueParkIcon'
'islands#blueBeachIcon' 'islands#bluePocketIcon'
'islands#blueZooIcon' 'islands#blueNightClubIcon'
'islands#blueUnderpassIcon' 'islands#bluePoolIcon'
'islands#blueRunIcon' 'islands#blueMedicalIcon'
'islands#blueBicycleIcon' 'islands#blueBicycle2Icon'
'islands#blueGardenIcon' 'islands#blueVegetationIcon'
'islands#blueObservationIcon' 'islands#blueGovernmentIcon'
'islands#blueEntertainmentCenterIcon' 'islands#blueCircusIcon'
'islands#blueFamilyIcon' 'islands#blueRapidTransitIcon'
'islands#blueTheaterIcon' 'islands#blueEducationIcon'
'islands#blueBookIcon' 'islands#blueMountainIcon'
'islands#blueWaterwayIcon' 'islands#blueCarWashIcon'
'islands#blueFuelStationIcon' 'islands#blueFactoryIcon'
'islands#blueRepairShopIcon' 'islands#blueCourtIcon'
'islands#bluePostIcon' 'islands#blueHotelIcon'
'islands#blueWaterParkIcon' 'islands#blueChristianIcon'
'islands#blueWorshipIcon' 'islands#blueLaundryIcon'
'islands#blueFashionIcon' 'islands#blueSouvenirsIcon'
'islands#blueWasteIcon' 'islands#blueDogIcon'
'islands#blueMoneyIcon' 'islands#blueLeisureIcon'
'islands#blueHydroIcon'

Placemarks in the style of a circle with an icon

For this type of placemark, the key uses the format: 'islands#{color}{icon}CircleIcon'. For example, 'islands#blueHomeCircleIcon'. The list below shows available icons and corresponding keys. For the list of available colors, see any other table.

Icon Key Icon Key
'islands#blueHomeCircleIcon' 'islands#blueScienceCircleIcon'
'islands#blueAirportCircleIcon' 'islands#blueAutoCircleIcon'
'islands#blueBarCircleIcon' 'islands#blueShoppingCircleIcon'
'islands#blueFoodCircleIcon' 'islands#blueSportCircleIcon'
'islands#blueCinemaCircleIcon' 'islands#blueVideoCircleIcon'
'islands#blueMassTransitCircleIcon' 'islands#blueRailwayCircleIcon'
'islands#blueToiletCircleIcon' 'islands#blueParkCircleIcon'
'islands#blueBeachCircleIcon' 'islands#bluePocketCircleIcon'
'islands#blueZooCircleIcon' 'islands#blueNightClubCircleIcon'
'islands#blueUnderpassCircleIcon' 'islands#bluePoolCircleIcon'
'islands#blueRunCircleIcon' 'islands#blueMedicalCircleIcon'
'islands#blueBicycleCircleIcon' 'islands#blueBicycle2CircleIcon'
'islands#blueGardenCircleIcon' 'islands#blueVegetationCircleIcon'
'islands#blueObservationCircleIcon' 'islands#blueGovernmentCircleIcon'
'islands#blueEntertainmentCenterCircleIcon' 'islands#blueCircusCircleIcon'
'islands#blueFamilyCircleIcon' 'islands#blueRapidTransitCircleIcon'
'islands#blueTheaterCircleIcon' 'islands#blueEducationCircleIcon'
'islands#blueBookCircleIcon' 'islands#blueMountainIcon'
'islands#blueWaterwayCircleIcon' 'islands#blueCarWashCircleIcon'
'islands#blueFuelStationCircleIcon' 'islands#blueFactoryCircleIcon'
'islands#blueRepairShopCircleIcon' 'islands#blueCourtCircleIcon'
'islands#bluePostCircleIcon' 'islands#blueHotelCircleIcon'
'islands#blueWaterParkCircleIcon' 'islands#blueChristianCircleIcon'
'islands#blueWorshipCircleIcon' 'islands#blueLaundryCircleIcon'
'islands#blueFashionCircleIcon' 'islands#blueSouvenirsCircleIcon'
'islands#blueWasteCircleIcon' 'islands#blueDogCircleIcon'
'islands#blueMoneyCircleIcon' 'islands#blueLeisureCircleIcon'
'islands#blueHydroCircleIcon'

Pictograms

IconKey
'islands#geolocationIcon'

Cluster icons

IconKeyIconKey
'islands#blueClusterIcons' 'islands#invertedBlueClusterIcons'
'islands#redClusterIcons' 'islands#invertedRedClusterIcons'
'islands#darkOrangeClusterIcons' 'islands#invertedDarkOrangeClusterIcons'
'islands#nightClusterIcons' 'islands#invertedNightClusterIcons'
'islands#darkBlueClusterIcons' 'islands#invertedDarkBlueClusterIcons'
'islands#pinkClusterIcons' 'islands#invertedPinkClusterIcons'
'islands#grayClusterIcons' 'islands#invertedGrayClusterIcons'
'islands#brownClusterIcons' 'islands#invertedBrownClusterIcons'
'islands#darkGreenClusterIcons' 'islands#invertedDarkGreenClusterIcons'
'islands#violetClusterIcons' 'islands#invertedVioletClusterIcons'
'islands#blackClusterIcons' 'islands#invertedBlackClusterIcons'
'islands#yellowClusterIcons' 'islands#invertedYellowClusterIcons'
'islands#greenClusterIcons' 'islands#invertedGreenClusterIcons'
'islands#orangeClusterIcons' 'islands#invertedOrangeClusterIcons'
'islands#lightBlueClusterIcons' 'islands#invertedLightBlueClusterIcons'
'islands#oliveClusterIcons' 'islands#invertedOliveClusterIcons'

Methods

option.presetStorage()

Methods

NameReturnsDescription
add(key, object)

util.Storage

Adds an object to storage.

get(key)

Object

Returns object stored for the specified key, or the primary key, if this is not a string.

remove(key)

util.Storage

Deletes the "key: value" pair from storage.