Documentation
Reference
2.1.56 (current version)
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'

Note. This type of placemark supports the ‘iconCaption’ field to display a caption to the right of the marker. For example, a placemark with iconCaption set as 'caption' and preset set as 'islands#blueIcon' looks like this:

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'

Note. This type of placemark supports the ‘iconCaption’ field to display a caption to the right of the marker. For example, a placemark with iconCaption set as 'caption' and preset set as 'islands#yellowDotIcon' looks like this:

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'

Note. This type of placemark supports the ‘iconCaption’ field to display a caption to the right of the marker. For example, a placemark with iconCaption set as 'caption' and preset set as 'islands#nightCircleIcon' looks like this:

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'

Note. This type of placemark supports the ‘iconCaption’ field to display a caption to the right of the marker. For example, a placemark with iconCaption set as 'caption' and preset set as 'islands#blackCircleDotIcon' looks like this:

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#blueAirportIcon' 'islands#blueAttentionIcon'
'islands#blueAutoIcon' 'islands#blueBarIcon'
'islands#blueBarberIcon' 'islands#blueBeachIcon'
'islands#blueBicycleIcon' 'islands#blueBicycle2Icon'
'islands#blueBookIcon' 'islands#blueCarWashIcon'
'islands#blueChristianIcon' 'islands#blueCinemaIcon'
'islands#blueCircusIcon' 'islands#blueCourtIcon'
'islands#blueDeliveryIcon' 'islands#blueDiscountIcon'
'islands#blueDogIcon' 'islands#blueEducationIcon'
'islands#blueEntertainmentCenterIcon' 'islands#blueFactoryIcon'
'islands#blueFamilyIcon' 'islands#blueFashionIcon'
'islands#blueFoodIcon' 'islands#blueFuelStationIcon'
'islands#blueGardenIcon' 'islands#blueGovernmentIcon'
'islands#blueHeartIcon' 'islands#blueHomeIcon'
'islands#blueHotelIcon' 'islands#blueHydroIcon'
'islands#blueInfoIcon' 'islands#blueLaundryIcon'
'islands#blueLeisureIcon' 'islands#blueMassTransitIcon'
'islands#blueMedicalIcon' 'islands#blueMoneyIcon'
'islands#blueMountainIcon' 'islands#blueNightClubIcon'
'islands#blueObservationIcon' 'islands#blueParkIcon'
'islands#blueParkingIcon' 'islands#bluePersonIcon'
'islands#bluePocketIcon' 'islands#bluePoolIcon'
'islands#bluePostIcon' 'islands#blueRailwayIcon'
'islands#blueRapidTransitIcon' 'islands#blueRepairShopIcon'
'islands#blueRunIcon' 'islands#blueScienceIcon'
'islands#blueShoppingIcon' 'islands#blueSouvenirsIcon'
'islands#blueSportIcon' 'islands#blueStarIcon'
'islands#blueTheaterIcon' 'islands#blueToiletIcon'
'islands#blueUnderpassIcon' 'islands#blueVegetationIcon'
'islands#blueVideoIcon' 'islands#blueWasteIcon'
'islands#blueWaterParkIcon' 'islands#blueWaterwayIcon'
'islands#blueWorshipIcon' 'islands#blueZooIcon'

Note. This type of placemark supports the ‘iconCaption’ field to display a caption to the right of the marker. For example, a placemark with iconCaption set as 'caption' and preset set as 'islands#blueSportIcon' looks like this:

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#blueAttentionCircleIcon'
'islands#blueAutoCircleIcon' 'islands#blueBarCircleIcon'
'islands#blueBarberCircleIcon' 'islands#blueBeachCircleIcon'
'islands#blueBicycleCircleIcon' 'islands#blueBicycle2CircleIcon'
'islands#blueBookCircleIcon' 'islands#blueCarWashCircleIcon'
'islands#blueChristianCircleIcon' 'islands#blueCinemaCircleIcon'
'islands#blueCircusCircleIcon' 'islands#blueCourtCircleIcon'
'islands#blueDeliveryCircleIcon' 'islands#blueDiscountCircleIcon'
'islands#blueDogCircleIcon' 'islands#blueEducationCircleIcon'
'islands#blueEntertainmentCenterCircleIcon' 'islands#blueFactoryCircleIcon'
'islands#blueFamilyCircleIcon' 'islands#blueFashionCircleIcon'
'islands#blueFoodCircleIcon' 'islands#blueFuelStationCircleIcon'
'islands#blueGardenCircleIcon' 'islands#blueGovernmentCircleIcon'
'islands#blueHeartCircleIcon' 'islands#blueHomeCircleIcon'
'islands#blueHotelCircleIcon' 'islands#blueHydroCircleIcon'
'islands#blueInfoCircleIcon' 'islands#blueLaundryCircleIcon'
'islands#blueLeisureCircleIcon' 'islands#blueMassTransitCircleIcon'
'islands#blueMedicalCircleIcon' 'islands#blueMoneyCircleIcon'
'islands#blueMountainCircleIcon' 'islands#blueNightClubCircleIcon'
'islands#blueObservationCircleIcon' 'islands#blueParkCircleIcon'
'islands#blueParkingCircleIcon' 'islands#bluePersonCircleIcon'
'islands#bluePocketCircleIcon' 'islands#bluePoolCircleIcon'
'islands#bluePostCircleIcon' 'islands#blueRailwayCircleIcon'
'islands#blueRapidTransitCircleIcon' 'islands#blueRepairShopCircleIcon'
'islands#blueRunCircleIcon' 'islands#blueScienceCircleIcon'
'islands#blueShoppingCircleIcon' 'islands#blueSouvenirsCircleIcon'
'islands#blueSportCircleIcon' 'islands#blueStarCircleIcon'
'islands#blueTheaterCircleIcon' 'islands#blueToiletCircleIcon'
'islands#blueUnderpassCircleIcon' 'islands#blueVegetationCircleIcon'
'islands#blueVideoCircleIcon' 'islands#blueWasteCircleIcon'
'islands#blueWaterParkCircleIcon' 'islands#blueWaterwayCircleIcon'
'islands#blueWorshipCircleIcon' 'islands#blueZooCircleIcon'

Note. This type of placemark supports the ‘iconCaption’ field to display a caption to the right of the marker. For example, a placemark with iconCaption set as 'caption' and preset set as 'islands#blueSportCircleIcon' looks like this:

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.