Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Mapview hightlight roads
Started by kakula Nov 16 2018 01:50 PM

1 reply to this topic
mapview highlight road distance
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

kakula

[GLOBAL: userInfoPane.html]
kakula
  • Enthusiast

  • 76 posts
  • Corona SDK

Hi,

 

is there a way to highlight the road between 2 points on a mapview

 

just like when google measures the distance between 2 points

 

almost like the red line in the below image

 

earth.jpg

 

 

Regards,

Tariq



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,000 posts
  • Corona SDK

Corona's native.mapView() does not support overlays. You will need to use a native.newWebView() with an embedded Google Map (or other Map service) where you can add overlays.

 

Rob




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: mapview, highlight, road, distance