tangram-es icon indicating copy to clipboard operation
tangram-es copied to clipboard

Map padding

Open FunnyDevs opened this issue 3 years ago • 1 comments

In Google Maps and MapBox sdks there is this function to add a padding to the Camera Position (https://developers.google.com/maps/documentation/android-sdk/map#map_padding). Which function should i use to have a similar behavior? (I have tried to obtain same result with 'getEnclosingCameraPosition' but i didn't succeed.)

Thanks

FunnyDevs avatar Jan 31 '21 22:01 FunnyDevs

Hello! Tangram ES does not currently have a feature that corresponds to the "map padding" in these other SDKs. getEnclosingCameraPosition is sufficient for some use cases, but not all.

This has been requested before, so I'm going to try to add this feature. I say "try" because it may involve unforeseen difficulties or consequences that may force me to postpone it.

matteblair avatar Feb 13 '21 20:02 matteblair