Google Maps Api: set center of the map to an offset in pixels?

前端 未结 1 1437
青春惊慌失措
青春惊慌失措 2021-02-13 22:45

this might be a weird question …

I\'m using the google maps api to embed custom maps on my webpage. I pass the lon/lat coordinates along to a function and a

相关标签:
1条回答
  • 2021-02-13 23:32

    call the panBy-method of the map

    mapObject.panBy(0,30)
    
    0 讨论(0)
提交回复
热议问题