public static interface MapSnapshotter.Observer
MapSnapshotter.setObserver(Observer)
Modifier and Type | Method and Description |
---|---|
void |
onDidFinishLoadingStyle()
Called when snapshotter finishes loading its style.
|
void |
onStyleImageMissing(java.lang.String imageName)
Called when the map is missing an icon.The icon should be added synchronously with
MapSnapshotter.addImage(String, Bitmap, boolean) to be rendered on the current zoom level. |
void onDidFinishLoadingStyle()
void onStyleImageMissing(java.lang.String imageName)
MapSnapshotter.addImage(String, Bitmap, boolean)
to be rendered on the current zoom level.
When loading icons asynchronously, you can load a placeholder image and replace it when you icon has loaded.imageName
- the id of the icon that is missing