Optionalcategory?: stringThe base map style POI category to render the place as.
Optionalgroup?: stringThe base map style POI group the place belongs to.
Populated only for the base-map and pin-clustered marker types. It drives the inherited
text-color expression on the base map's POI layers.
Valid values are those toBaseMapPOIGroup produces, such as
eat_and_drink, lodging, driving, transport, shopping,
healthcare, finance, cultural, leisure, sport, outdoor,
protected, public, religion, military, business, education,
parking.
The sprite image ID the place marker is drawn with.
The main layer binds icon-image to ['get', 'iconID'], so the sprite
named here is what renders. The base map's POI-Micro-like layer inherits
the style's group-driven expression verbatim and ignores this value. The
sprite name depends on the marker type:
pin and pin-clustered pick a POI category image of the pinCategories
sprite, so its ID carries that sprite's namespace.circle-icon and base-map pick the base map's poi-<category> image.PlaceIconConfig.categoryIcons entry overrides the default for
the main layer on any marker type.The unique ID of the place feature.
Optionaltitle?: stringThe text label rendered next to the place marker.
They extend the source place with display-only fields the places layer stack reads. Which fields are populated depends on the active marker type:
icon-image expression binds to with ['get', 'iconID'].
The base map's POI-Micro-like layer inherits the style's ['get','group']
expression verbatim, so custom PlaceIconConfig.categoryIcons sprites apply
only to the main layer.base-map and pin-clustered marker types also populate
category and
group, so the base map style's own
text-color expression and the POI-Micro layer's icon-image expression
resolve against the place feature as they do for native POIs.pin-clustered marker type also populates baseMapIconID, the
poi-<category> sprite of the place, which a single-category cluster is drawn with.
Properties attached to a place feature for rendering on the map.