Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]

Any news on MapView API for drawing routes/polygon
Started by claes.lindblom Jun 07 2016 12:30 PM

1 reply to this topic
This topic has been archived. This means that you cannot reply to this topic.
[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Observer

  • 27 posts
  • Corona SDK


Is there any news or plans on implementing routes / polygon on MapView?
I have been wanting this for some time now but I have not seen anything yet.


Android API is simple and I cannot be a big effort on adding this to Corona. Or is iOS very complex?

map.addPolyline(new PolylineOptions().geodesic(true)
.add(new LatLng(-33.866, 151.195)) // Sydney
.add(new LatLng(-18.142, 178.431)) // Fiji
.add(new LatLng(21.291, -157.821)) // Hawaii
.add(new LatLng(37.423, -122.091)) // Mountain View 

and this for changing width and color of the polygon.

Polyline line = map.addPolyline(new PolylineOptions()
.add(new LatLng(-37.81319, 144.96298), new LatLng(-31.95285, 115.85734))

Best regards



[TOPIC: post.html]

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,539 posts
  • Enterprise

At this point, we are collecting feature requests at Maps features need more votes.