7127cfebb5949e2bdb4ef86f8c192c7bdc04caed
Previously in #2265 we would ask for location permission at app startup if `!settings->showsUserLocation`. #2193 0a172a21fd changed the way we used `NSUserDefaults` and mostly removed the `settings` object, which broke #2265.
Rather than fix our pestering location permissions ask at startup, this commit now only asks for location permissions when the user hits the locate-me button.
Once a user grants permission, the user dot appears because a `userTrackingMode` is set, `showsUserLocation` is permanently set to `YES` in `NSUserDefaults` and is restored at launch.
Mapbox GL (Native)
An OpenGL ES-based renderer for Mapbox Vector Tiles, consisting of a C++ library for OS X and Linux and SDK bindings for iOS, Android and Node.js.
This repository is for development on Mapbox GL itself.
If you want to use products based on Mapbox GL, check out:
- Mapbox Mobile — iOS and Android native development libraries for vector maps in apps
react-native-mapbox-gl— React Native library for vector maps in appsqmapboxgl— Qt library for vector map rendering
--
See INSTALL.md for development setup and install instructions, including dependencies.
Description
Languages
C++
54%
Kotlin
11.8%
Java
11%
Objective-C++
9.7%
Objective-C
5.8%
Other
7.5%