views:

128

answers:

1

How can i disable the panning/zooming functionality of a MapView (not the zoom controls, i want a wholly static map)?

I've also noticed that touching the map doesn't seem to trigger the MapView onClickListener, could anyone elaborate why?

A: 

Use android:clickable="false" in your layout file.

CommonsWare
Oh, i see what's going on now, it seems my attemps to setOnClickListener on the mapView were causing the scrolling despite android:clickable="false" being set in the layout file
Julius
There still remains the issue of OnClickListener on a mapView
Julius
@Julius: `MapView` is closed source. There is nobody who will answer your `onClickListener` question.
CommonsWare