I have an Osmdroid MapView. Even though I have set
the map can still be moved around. Is there a simple way to disable all interactions with the map view?
on 01/19/2013 – Made popular on 01/19/2013
I have a MapView and after every Touch on the Screen I have to load a while (fetching data out of the sqllite database or connecting to an wms server and geting a png file). If the User do not know it is loading he maybe move 2-3 times and the Device will stuck..
Now I wanna do these loading operations Async and while they are loading I woud like to vizualize the loading in a propriate way.
I'm current using OSMdroid for offline maps rendering. Although there are some issues with tile loading every now and then for offline maps in osmdroid, I'm fine with it. But in my android app, I see when I test my map by just zooming in and zooming out multiple times, my app responds very slowly gradually over the time. I'm not sure what exactly might be the problem.
I'm doing some work with OSM maps and its MapView supports an OnItemGestureListener for single and long presses for items placed on the MapView. I'm trying to come up with a way to display a context menu for an item when long pressed (e.g. a list of commands). I can't use the usual Activity onCreateContextMenu approach because I don't have a View to registerForContextMenu() with.