groundOverlays property
Ground overlays to be initialized for the map.
Support table for Ground Overlay features:
| Feature | Android | iOS | Web |
|---|---|---|---|
| GroundOverlay.image | Yes | Yes | Yes |
| GroundOverlay.bounds | Yes | Yes | Yes |
| GroundOverlay.position | Yes | Yes | No |
| GroundOverlay.width | Yes (with position only) | No | No |
| GroundOverlay.height | Yes (with position only) | No | No |
| GroundOverlay.anchor | Yes | Yes | No |
| GroundOverlay.zoomLevel | No | Yes (with position only) | No |
| GroundOverlay.bearing | Yes | Yes | No |
| GroundOverlay.transparency | Yes | Yes | Yes |
| GroundOverlay.zIndex | Yes | Yes | No |
| GroundOverlay.visible | Yes | Yes | Yes |
| GroundOverlay.clickable | Yes | Yes | Yes |
| GroundOverlay.onTap | Yes | Yes | Yes |
- On Android, GroundOverlay.width is required if GroundOverlay.position is set.
- On iOS, GroundOverlay.zoomLevel is required if GroundOverlay.position is set.
- GroundOverlay.image must be a
MapBitmap. See AssetMapBitmap and BytesMapBitmap.MapBitmap.bitmapScalingmust be set to MapBitmapScaling.none.
Implementation
final Set<GroundOverlay> groundOverlays;