Android Tutorial Googlemaps V3 In A Webview

stanks

Active Member
Licensed User
Longtime User
how to center map on country not on lat/lon? if that is possible at all...

thanks
 
Last edited:

schimanski

Well-Known Member
Licensed User
Longtime User
Is it possibe to prevent the webview from scrolling? I use this method to show only a outline map and I want to show a static 'map-picture'...

Tanks for help...
 

DonManfred

Expert
Licensed User
Longtime User
Is it possibe to prevent the webview from scrolling? I use this method to show only a outline map and I want to show a static 'map-picture'...
You can place a transparent panel over the webview and then you use a blank paneltouch sub to earn the event (dont allowing clicking somewhere on the map")
 

Shay

Well-Known Member
Licensed User
Longtime User
I am using direction API to get directions by json response
I am sending the start_location lat,lng and end_location lat,lng to
MarkerLat, MarkerLong in the MAP
but with the polyline I am getting straight lines in the map (outside the actual roads)
How do I fix it?
Do I need to use the encoded polyline (how do I show it in the map)
and also how to show the overview_polyline
(I am using google map v3 webview example from here)
 

Attachments

  • Json.zip
    4.3 KB · Views: 460
  • Screenshot_2015-01-16-23-52-22.png
    351.3 KB · Views: 446

Shay

Well-Known Member
Licensed User
Longtime User
Fixed, I am using decodePoly function, and draw it on map
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…