Highlighting borders of state and cities of US in Google Map API 3

True. Google does not provide this feature. So what we can do… we can have the lat/long of the borders of the state. And we have to draw polygons ourselves. I used this JS object. And changed it to Google map object (google.maps.LatLng). For example: var statesobj = {“AK”: [new google.maps.LatLng(70.0187, -141.0205), new google.maps.LatLng(70.1292, -141.7291), … Read more

Map View draw directions using google Directions API – decoding polylines

I have a class which can decode them for you, add the class below then call in your code like this: int[] decodedZoomLevels = PolylineDecoder.decodeZoomLevels(levels); GeoPoint[] gPts = PolylineDecoder.decodePoints(points, decodedZoomLevels.length); where points and levels are the data you’ve extracted from the JSON response. You can then go through the array of geopoints drawing a line … Read more