I am student and working my own application for knowing how to use Google map API v3.
and i call a Java script function named “Up_pan” from my application.
function Up_pan() {
var center = map.getCenter();
var New_center = { lat: center.lat() + 1,
lng: center.lng() + 1
};
map.panto(New_center);
}
but it did not work.
Can someone help me?
Change
to
If that doesn’t fix it, maybe you could try changing this:
to this: