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
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-maps-js-api-v3/-/Ob4rYOzdQiAJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.