Z
Z
zzverr2016-04-25 18:33:09
Android
zzverr, 2016-04-25 18:33:09

How to implement map navigation android?

How to implement map navigation android?
It is necessary that the marker be fixed in the center of the screen, and scrolling the map, it determines the coordinates or address.
For example, how is it implemented in uber or taptaxi.
ced4a31622b64b1f8b7ee8a2321227a0.pngef30aa78c3384922948b6d8e5787d33d.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya Pavlovsky, 2016-04-25
@TranE91

Overlay the top layer on the map image (to center the pin). But for determining the location, it all depends on the framework you are using. I won’t say exactly what the method is called, but with Google you can see the selected zone (Rect) based on it, calculate the central pin. Judging from the screenshots, you will use the OSM substrate as a basis, I used mapsforge in one of the projects, a similar method is present there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question