Google Maps panTo AND setCenter
Posted
by Harry
on Stack Overflow
See other posts from Stack Overflow
or by Harry
Published on 2010-06-05T15:01:22Z
Indexed on
2010/06/06
14:42 UTC
Read the original article
Hit count: 133
google-maps
The default panTo only pans to the edge of the screen.
I like setCenter but would like to pan to that point. Any ideas welcome
map.setCenter(mymarker.getPoint());
GEvent.trigger(mymarker,"click"); //open the info window
© Stack Overflow or respective owner