[android] update javadoc on style image missing
This commit is contained in:
@@ -9,6 +9,9 @@ Mapbox welcomes participation and contributions from everyone. If you'd like to
|
||||
- Font lookup on pre lollipop devices failed, provide default font list instead [#15410](https://github.com/mapbox/mapbox-gl-native/pull/15410).
|
||||
- Fixed rendering and collision detection issues with using `text-variable-anchor` and `icon-text-fit` properties on the same layer [#15367](https://github.com/mapbox/mapbox-gl-native/pull/15367).
|
||||
|
||||
### Docs
|
||||
- Add javadoc to OnStyleImageMissingListener indicating the required synchronous addition images, document workaround [#15418](https://github.com/mapbox/mapbox-gl-native/pull/15418)
|
||||
|
||||
## 8.3.0-alpha.3 - August 15, 2019
|
||||
[Changes](https://github.com/mapbox/mapbox-gl-native/compare/android-v8.3.0-alpha.2...android-v8.3.0-alpha.3) since [Mapbox Maps SDK for Android v8.3.0-alpha.2](https://github.com/mapbox/mapbox-gl-native/releases/tag/android-v8.3.0-alpha.2):
|
||||
|
||||
|
||||
@@ -1013,14 +1013,18 @@ public class MapView extends FrameLayout implements NativeMapView.ViewCallback {
|
||||
}
|
||||
|
||||
/**
|
||||
* Interface definition for a callback to be invoked with the id of a missing icon.
|
||||
* Interface definition for a callback to be invoked with the id of a missing icon. The icon should be added
|
||||
* synchronously with {@link Style#addImage(String, Bitmap)} 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.
|
||||
* <p>
|
||||
* {@link MapView#addOnStyleImageMissingListener(OnStyleImageMissingListener)}
|
||||
* </p>
|
||||
*/
|
||||
public interface OnStyleImageMissingListener {
|
||||
/**
|
||||
* Called when the map is missing an icon.
|
||||
* Called when the map is missing an icon.The icon should be added synchronously with
|
||||
* {@link Style#addImage(String, Bitmap)} 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.
|
||||
*
|
||||
* @param id the id of the icon that is missing
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user