Mapview - some way for the user to place a marker

I don’t see many options for markers or properties for MapViews.

It looks like I can’t even get the center of the map?

When the user opens my MapView, a marker is dropped on his userlocation. The function should be for the user to select a destination by using the MapView.

Is this possible in some creative way to do this?

Some ways I can think of that are all seemingly impossible:

  1. Scrolling the map to move the center of the view, then drop a marker in the center.

  2. Detect relative scroll/zoom of the mapview and move (re-drop) the marker moved this much.

  3. Draggable markers.

If it’s impossible, please let me know as soon as you can. Thankful for any help :slight_smile:

Not sure if this will help you or not: http://forums.coronalabs.com/topic/38584-custom-map-markers-with-buttons

I found the only way to select a location in the mapview is to do geocoding.

So I now use a search box and the app relocates the pin to the geocoded coordinates and scrolls the map to that position. It works quite well except for trips into uncharted wilderness :slight_smile:

Not sure if this will help you or not: http://forums.coronalabs.com/topic/38584-custom-map-markers-with-buttons

I found the only way to select a location in the mapview is to do geocoding.

So I now use a search box and the app relocates the pin to the geocoded coordinates and scrolls the map to that position. It works quite well except for trips into uncharted wilderness :slight_smile: