Tim H
unread,Sep 7, 2011, 6:39:51 AM9/7/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-map...@googlegroups.com
Thanks for having a look Ralph.
Currently I can move the map using both the pan control & my arrow keys, but not the cursor?
I think I have found what is causing the error, but don't know how to fix it.
I have a number of adUnits linked to the map.
When I remove the code for these adunits it works fine, but when they are included the I cannot drag the map with the cursor.
The adUnits code I am using is;
var adUnit1Options = {
format: google.maps.adsense.AdFormat.LEADERBOARD,
publisherId: "pub-0171437280416273",
channelNumber: "1017768028",
map: map,
visible: true
};
var adDiv = document.getElementById("sidebar1");
var adUnit = new google.maps.adsense.AdUnit(adDiv, adUnit1Options);
var adUnit2Options = {
format: google.maps.adsense.AdFormat.LEADERBOARD,
publisherId: "pub-0171437280416273",
channelNumber: "0146614648",
map: map,
visible: true
};
var adDiv = document.getElementById("sidebar2");
var adUnit = new google.maps.adsense.AdUnit(adDiv, adUnit2Options);
var adUnit3Options = {
format: google.maps.adsense.AdFormat.SKYSCRAPER,
publisherId: "pub-0171437280416273",
channelNumber: "9116349306",
map: map,
visible: true
};
var adDiv = document.getElementById("sidebar3");
var adUnit = new google.maps.adsense.AdUnit(adDiv, adUnit3Options);
Any help would be appreciated.
Thanks