How to integrate and make MapView of corona to have like SearchBox on Google Map?

Hello, I’m developing a navigation application using the Corona SDK MapView.
 

The plan, when the Map successfully loaded, I will bring up a TextField with corona, to accommodate input of locations name which user can type.
 

Is there a way to connect the corona MapView in order to display the text field names like SearchBox prediction location on Google Map?

Sadly the corona mapview controller is very limiting. Last time I checked you can’t even get the location center of the map if you move it around. I don’t believe what you are asking is currently possible. 

why wouldn’t a user just use Google maps for this?

If you are wanting to plot pin points on a map, you can certainly do this with our native.newMapView, but there’s not magic connection. you have to take in the address you want using your native.newTextField. Then you take that address and send it to a geocoding service that will take an address and give you a latitude/longitude value. Then with the lat, long, you can then call our API to place the pins on the map.

After that we don’t have a way to draw any lines on the mapView. We also don’t have any API’s to generate turn-by-turn directions. I’m sure there is some service that provides it for you.

Rob

Sadly the corona mapview controller is very limiting. Last time I checked you can’t even get the location center of the map if you move it around. I don’t believe what you are asking is currently possible. 

why wouldn’t a user just use Google maps for this?

If you are wanting to plot pin points on a map, you can certainly do this with our native.newMapView, but there’s not magic connection. you have to take in the address you want using your native.newTextField. Then you take that address and send it to a geocoding service that will take an address and give you a latitude/longitude value. Then with the lat, long, you can then call our API to place the pins on the map.

After that we don’t have a way to draw any lines on the mapView. We also don’t have any API’s to generate turn-by-turn directions. I’m sure there is some service that provides it for you.

Rob