How to add pins using the MapPinLayer?
This approach is better suited for large data sets where clustering may be required:
Add a
MapPinLayercomponent to the MapRenderer's GameObject. If clustering is enabled, check this setting on the layer and attach a prefab that has a ClusterMapPin component.

In a script, get a reference to the
MapPinLayerand addMapPininstances to the the layer'sMapPinscollection.
Last updated
Was this helpful?
