1.
Posted by bec2895 (Budding Member, 2 posts)
28 Jun '12 15:16
Is it possible to control the zoom level of a TravellersPoint map embedded in another website (eg not a TravellersPoint blog)?
As you can see on my website (http://bec2895.tumblr.com/where) the map is zoomed right out to the point that part of the route appears twice and there is a grey bar across the top part of the map.
Any suggestions greatly appreciated.
Cheers
2.
Posted by Peter (Admin, 4970 posts)
29 Jun '12 06:47
Yeah, it's undocumented, but you can tweak the script source url a little to make it zoom in.
So find the <script ... src="..."> bit of the code
And add this on to the end of that src:
&zoom=5&lat=0.1&lon=0.1
So it becomes <script ... src="...&zoom=5&lat=0.1&lon=0.1 ">
Change the zoom number from 5 to whatever you want and the lat / lon values to wherever you want to center the map. I know it's a bit happy, but hope it helps! Glad to see it embeds nicely on Tumblr too 
3.
Posted by bec2895 (Budding Member, 2 posts)
29 Jun '12 13:34
Thanks Peter!!
Works brilliantly, very much appreciated. 