microsoft / MapsSDK-Native

This repository contains samples, documentation and releases history for the Bing Maps SDK for Android and iOS.
MIT License
40 stars 23 forks source link

Set globe size property / function #41

Open christerdynamo opened 3 years ago

christerdynamo commented 3 years ago

When using the globe projection the globe does not fit the view on many devices. I want make sure that the full globe is visible. On Android the globe size seems to be based on just screen density which makes it easy to just scale down the view to fit the screen. However on iOS the globe scale seems to be dependent on the initial starting frame size somehow, not fully figured it out jet as the library is pretty much a black box.

All these problems with trying to scale the view just to make the globe to be fully in frame could easily be solved if we just had a way to set the globe size in a property on the map.

JuanPapas commented 3 years ago

Thanks @christerdynamo. This is an scenario that we are considering.