Amir
unread,Aug 6, 2009, 4:49:51 AM8/6/09Sign 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 Maps JavaScript API v3
Hi there,
Maybe it seems a very simple question, but I don't know the syntax for
pan on my map on API version 3, I searched this Forum and also the one
for API 2 and flash, I have something like this:
CustomControllerBase.prototype.addMoveDown = function(element, event)
{
if (!event)
event = 'click';
var me = this;
google.maps.event.addDomListener(element.getElement(), event, function
() {
me.map.panBy(new Point (0,100));
});
this.element.appendChild(element.getElement());
}
but it's not working for me because I'm using API 3 and this panBy
function is not suitable for 3, would you plz gimme a hint to fix
this.
Cheers