addMapMarkers abstract method
- List<
MapMarker> markers
Adds multiple map markers to this map scene.
Adding the same marker instances multiple times has no effect. Adding markers that are already part of a map marker cluster has no effect.
Note: Due to technical limitations using the MapMarkers API to add a very large number of markers (several thousands, especially 10000+) is not recommended. Adding this many markers will have a negative impact on the performance leading to stuttering of the app and lower frame rates. To work around this limitation add only map items which are in the current camera viewport. A guide on how to achieve this can be found towards the end of the MapScene class doc.
markersThe list of markers to be added to this map scene.
Implementation
void addMapMarkers(List<MapMarker> markers);