Archive

Posts Tagged ‘google maps’

Google Maps setMapType problem

March 26th, 2009

Calling map.setMapType(G_PHYSICAL_MAP) 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.

I’m sure this fact is somewhere in the Google Maps API documentation, but I couldn’t find it.

Aidan Findlater Impersonal

Google Maps API: Encoding a polyline from a GDirection object

January 9th, 2009

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.
Read more…

Aidan Findlater Impersonal , , , ,