MapViewer display location only

Is it possible to use the Map Viewer control to only show the location, but not allow user interaction?
I’m not seeing an obvious way.


declare sub setScrollEnabled lib "MapKit" selector "setScrollEnabled:" (obj as ptr, value as boolean)
declare sub setZoomEnabled lib "MapKit" selector "setZoomEnabled:" (obj as ptr, value as boolean)
declare sub setRotateEnabled lib "MapKit" selector "setRotateEnabled:" (obj as ptr, value as boolean)


setScrollEnabled(me.Handle, False)
setZoomEnabled(me.Handle, False)
setRotateEnabled(me.Handle, False)
1 Like

Source: Apple Developer Documentation

I will add all these in iOSDesignExtensions when I get time to do it. Probably by the end of Summer.

1 Like

Thank you!

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.