Google Maps V3 panTo offset
I am having the same issue as this folk ( link ), trying to offset panTo coordinates. The only solution I've found so far is to use panBy after I've used panTo.
map.panTo( position );
map.panBy(120, -70);
Those familiar with the Google Maps API will know that the issue with this approach is that it will trigger a smooth animation after panTo, to move t开发者_Python百科o panBy. I wonder if there is a better approach?
精彩评论