Is it possible to control the zoom level of a TravellersPoint map embedded in another website (eg not a TravellersPoint blog)?
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
Thanks Peter!!
Works brilliantly, very much appreciated.
0 Response to "Can you zoom map embedded in website (not TP blog)? "
Post a Comment