Displaying posts tagged: google-maps

Google Maps setMapType problem

No Comments

Calling map.setMapType(GPHYSICALMAP) wasn’t doing anything. After a half hour of Googling, I ran across something: setMapType must be called after setCenter. It was some offhand comment in some mailing list I’ve since lost the link to.

Google Maps API: Encoding a polyline from a GDirection object

11 Comments

Goal: To save the encoded string corresponding to the GPolyline of a GDirections object, so that I can easily load the same path in the future without hammering GDirections.