flutter map using open street map

246 views
Skip to first unread message

sona

unread,
Sep 24, 2020, 3:17:34 PM9/24/20
to Flutter Development (flutter-dev)
hello 
I'm trying to add text based search location and auto completion in a app similar to google map .Actually what are the functionalities for this .

sona

unread,
Sep 24, 2020, 3:21:44 PM9/24/20
to Flutter Development (flutter-dev)

there is origin and destination text field 

sona

unread,
Sep 24, 2020, 3:25:40 PM9/24/20
to Flutter Development (flutter-dev)
image.png


I'm trying to add origin and destination like this using open street map API

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/e75ceca8-0643-419c-b4c1-05b3af3d1e51n%40googlegroups.com.

Ian B

unread,
Sep 24, 2020, 3:46:46 PM9/24/20
to sona, Flutter Development (flutter-dev)
If using flutter_map, I think you would have to probably add your own text box input. When you have done that, you would need to query an API like Mapbox route API, or Googles API (I'm not sure if Google allow you to use its API for routing without using Google Maps, you may need to check this and see if it returns latlongs), and then convert to a polyline.

Flutter_map doesn't contain the features like end points and routing in itself, it's more of a tile mapping app, but you can overlay things like polylines and polygons you have created from other info.

Ian

Reply all
Reply to author
Forward
0 new messages