map center problem
Hi, I have a problem with the links to change which address your map centers on.
When I click on it, the info bubble and the target is offset (out of the frame) in a corner.
What can I do for it?
Thanks
Hi, I have a problem with the links to change which address your map centers on.
When I click on it, the info bubble and the target is offset (out of the frame) in a corner.
What can I do for it?
Thanks
Please post a URL where I could see the problem to investigate the cause.
Here it is :
fr_contact.php
Thank you.
Hi,
In order to fix this issue, you will need to change a few thing:
1. in the wagmp_map_1.js file, please change line 26 to read:
return WAMapPoint(this.markers[x],this.addresses[x],this.icons[x], this.points[x], this.obj);
2. then replace line 13 with this line of code:
function WAMapPoint(theMarker, theAddress, theIcon, point, map) {
3. and finally add this line of code below line 17:
map.setCenter(point, 13);
This should center the map every time you click on the link.
Let me know if you have any other questions.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.