Select to view content in your preferred language

mapview.visibleArea gets a smaller range than the actual one, how should I solve it?

786
4
Jump to solution
11-03-2023 09:45 PM
jokerjoker
Occasional Contributor

As shown in the figure, the yellow is visibleArea range, but the lower red part is not included, resulting in no actual visible range of large。kotlin sdk version  200.2.0 

jokerjoker_0-1699072620081.png

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
jokerjoker
Occasional Contributor

answer myself question

fix by code

mapView!!.isAttributionBarVisible = false

View solution in original post

0 Kudos
4 Replies
jokerjoker
Occasional Contributor

As shown in the figure, the yellow is visibleArea range, but the lower red part is not included, resulting in no actual visible range of large

0 Kudos
jokerjoker
Occasional Contributor

answer myself question

fix by code

mapView!!.isAttributionBarVisible = false
0 Kudos
jokerjoker
Occasional Contributor

As shown in the figure, the yellow is visibleArea range, but the lower red part is not included, resulting in no actual visible range of large。

 

My arcgis version is 

This is my code

val graphic = Graphic(mapView!!.visibleArea!!, Config.defaultSimpleFillSymbol)
viewModel.drawPatchOverlay.graphics.add(graphic)

 

 

jokerjoker_0-1699072620081.png

 

false
false
0 Kudos
jokerjoker
Occasional Contributor

answer my self

fix by

mapView!!.isAttributionBarVisible = false

 

0 Kudos