views:

207

answers:

2

I have been modifying the code here: WhereIsMyMac to try and get a better understanding of CoreLocation for OS X. Unfortunately, I haven't been able to figure out how to modify the template HTML file to force a "Maps" view - my frame defaults to "Satellite View"

Here is the relevant line:

src="http://maps.google.com/maps?ie=UTF8&ll=%f,%f&spn=%f,%f&t=h&z=15&output=embed"

Perhaps I'm not using the proper search terms to find the answer on my own, but I cannot find out how to force this into "Map View"

Any pointers would be a great help. I know this is a simple question - but I cannot find the answer.

A: 

You need to use the t parameter to set the map type:

t= Map Type. The available options are "m" map, "k" satellite, "h" hybrid, "p" terrain.

So from your source:

src="http://maps.google.com/maps?ie=UTF8&ll=%f,%f&spn=%f,%f&t=m&z=15&output=embed"
Cannonade