mapbox / mapbox-plugins-ios

Experimental plugins to supercharge your maps ⚡️
ISC License
7 stars 8 forks source link

iOS Maps app mode #3

Open boundsj opened 7 years ago

boundsj commented 7 years ago

From https://github.com/mapbox/mapbox-gl-native/issues/9041

It would be really nice if out of the box, when pitched MGLMapView worked like the one in default iOS mapping application (For e.g. rotation of MGLMapView is very similar to the default iOS mapping application).

1.) 2D button that automatically appears when map is pitched. 2.) Disable pitch at lower zoom levels.

Noting that the above description captures how the iOS Maps app works at the time of this writing although the features above seem timeless 😄 . What other iOS Maps app behavior might make sense for a plugin like this?

Depends on https://github.com/mapbox/mapbox-gl-native/pull/9009

boundsj commented 7 years ago

Once this repo is public, would it make sense to close https://github.com/mapbox/mapbox-gl-native/issues/9041 and ref this issue?

1ec5 commented 7 years ago

Disable pitch at lower zoom levels

This functionality should be built into the map SDK proper: https://github.com/mapbox/mapbox-gl-native/issues/6908#issuecomment-290593356.