For the complete documentation index, see llms.txt. This page is also available as Markdown.

How to add pins using the MapPinLayer?

This approach is better suited for large data sets where clustering may be required:

  • Add a MapPinLayer component to the MapRenderer's GameObject. If clustering is enabled, check this setting on the layer and attach a prefab that has a ClusterMapPin component.

Map Pin Layer Script
  • In a script, get a reference to the MapPinLayer and add MapPin instances to the the layer's MapPins collection.

Last updated

Was this helpful?