-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Description
Hi. It would be super awesome to be able to offset the center of the map relative to the viewport. My main use case is that I have a large box overlaying the map on the left, and would like the center of the map to be more to the right. This means that when I do a pan or center, it would actually be offset a certain amount of pixels or percentage of viewport. This would be a map level setting.
I have wanted this feature in many JS mapping libraries but have not found it yet. Unfortunately, it needs to be pretty low level in the API.
Sorry, I don't have any code, was just thinking about and wanted to get it down.
Thanks for the awesome project!