OverviewMap

fun OverviewMap(viewpoint: Viewpoint?, visibleArea: Polygon?, modifier: Modifier = Modifier, symbol: Symbol = remember { SimpleFillSymbol( outline = SimpleLineSymbol(color = Color.red), color = Color.transparent ) }, scaleFactor: Double = 25.0, arcGISMap: ArcGISMap = remember { ArcGISMap(BasemapStyle.ArcGISTopographic) })

OverviewMap is a small, secondary MapView which shows a representation of the main GeoView's current Viewpoint.

Choose this overload if your main view is a MapView. If a non-default symbol is provided the symbol must be suitable for a polygon geometry such as a SimpleFillSymbol.

Since

200.8.0

Parameters

viewpoint

the current viewpoint of the main view. This should be provided as a ViewpointType.CenterAndScale

visibleArea

the current visible area of the main view

modifier

the modifier to apply

symbol

the symbol to use to show the main view's current visible area. Must be suitable for a polygon geometry.

scaleFactor

the factor to multiply the main view's scale by. The OverviewMap will display at the product of mainGeoViewScale * scaleFactor.

arcGISMap

the map to display within the OverviewMap


fun OverviewMap(viewpoint: Viewpoint?, modifier: Modifier = Modifier, symbol: Symbol = remember { SimpleMarkerSymbol( style = SimpleMarkerSymbolStyle.Cross, color = Color.red, size = 20.0f ) }, scaleFactor: Double = 25.0, arcGISMap: ArcGISMap = remember { ArcGISMap(BasemapStyle.ArcGISTopographic) })

OverviewMap is a small, secondary MapView which shows a representation of the main GeoView's current Viewpoint.

Choose this overload if your main view is a SceneView. If a non-default symbol is provided the symbol must be suitable for a point geometry such as a SimpleMarkerSymbol.

Since

200.8.0

Parameters

viewpoint

the current viewpoint of the main view this overview map is for, this should be provided as a ViewpointType.CenterAndScale

modifier

the modifier to apply

symbol

the symbol to use to show the main view's current visible area. Must be suitable for a polygon geometry.

scaleFactor

the factor to multiply the main view's scale by. The OverviewMap will display at the product of mainGeoViewScale * scaleFactor.

arcGISMap

the map to display within the OverviewMap