Skip Navigation

Controlling the zoom on embeded maps?

Travel Forums System Talk Controlling the zoom on embeded maps?

1. Posted by TheHippieVanMan (Budding Member 2 posts) 3y

I want to embed my map on my external wordpress site. Is there a way I can control the zoom level of the map that displays on my site?

2. Posted by Peter (Admin 5789 posts) 3y

Yes, it's possible, but you'll need to edit the html we provide by default and it's kind of manual working it out.

You basically need to add on three parameters to the url ; zoom, lat and lon.

In the html code you'll see a url to http://www.travellerspoint.com/badges/badge_membermap.cfm

To the end of that url, add the following "&zoom=z&lat=x&lon=y"

zoom is a number up to about 20 or so.
lat is the latitude that you want the map centered on
lon is the longitude you want the map centered on.

Hopefully that's clear enough. Let me know if not

3. Posted by TheHippieVanMan (Budding Member 2 posts) 3y

Perfect. Thank you.