I appreciate that. I don’t know how many people would need that functionality, but my airline is serving a fairly small area. Zoom out too far, and you’ll miss the whole area.
This will show central and south africa, not bad looking, but my VA runs only in one of the provinces. Now I dont need such a zoom, all I want is that map window to fill up with South Africa.
When I tested this with a friend of mine, using normal google API I get it right, wel he did I didn’t ;D
I was wondering if teh doctype would make any difference, I see that page is transitional, maybe it shoud be strict?
What values did you try for the level? The numbers work backwards almost, like a 19 is really zoomed out. Adding a config value directly won’t do anything since it’s not parsed by JS.
I had a time with this as well. What I found was that the “13” is overridden by the code following it;
var bds = new GLatLngBounds(new GLatLng(20.8258173, 3.74226154),
new GLatLng(23.2391067, 6.92817646));
The map can be zoomed by changing the red sectons. It takes some work with a map and a calculator to find the correct lat/long figures for the location you want to view.
Honestly, this stuff just goes way over my head. I thought I would be able to understand it but these old brain cells are packing up ??? ;D
I have no idea what I am supposed to do, really. but I put those coordinates in exactly teh way you typed them and it works, then I change the 23 to a 25 and now I have exactly what I am looking for
Thanks very much, I am over teh moon with teh map!!!
Excellent Nabeel, yeah I forgot about future updates.
Sadly my test failed and I now have an even further zoomed out map
What I have noticed however, that if you position teh map and zoom the way you like it, and you move your mouse ove the google logo in teh bottom left hand corner, then it will show teh lat and long for that view. I tried entering those coordinates, but nope did not work for me.
Would it be possible to rather make teh JS files link back to the skins? like teh template files. I ask this as I have modded a few JS files i.e Booking instead of bidding etc.