Mapbox GL Native
By @RobLabs
Architecture for Mobile First Maps
- Presented at FOSS4G 2018 in Saint Louis, Missouri - https://mobile1st.roblabs.com - Offline Maps for Mobile — Making Maps That Are Mobile First
MapLibre
- MapLibre.org — ”Open-source mapping libraries for developers of web and mobile applications.”
- MapLibre GL & Metal Support source code — maptiler / maplibre-gl-native
- Swift Package Manager for iOS — maptiler / maplibre-gl-native-distribution
Key Open Source PRs & Commits
- Analysis of Telemetry and Mapbox Mobile Events using Wireshark to test network traffic on MapLibre.
- Requirements and acceptance Criteria for MapLibre with Metal Support
- Add
libwebp
for Decoding WebP raster tiles
Projects that use MapLibre for Mobile:
- roblabs / openmaptiles-ios-demo
- aws-samples / amazon-location-samples
- by Klokan Technologies GmbH
Building Mapbox GL Native
Xcode 12.4
Xcode 12.5 & 13.x
Other
- Happier Xcode builds with Continuous Integration - https://github.com/roblabs/xcode-continuous-integration
- Includes notes on how to build with Xcode Server Bots
- How to build
mapbox-gl-native-ios
, versions <= v5.9 - How to build
mapbox-gl-native-ios
, versions > 6.0
- How to build
- Includes notes on how to build with Xcode Server Bots
- Happier
mapbox-gl-native-ios
builds with Xcode Server Bots - Discussion on how to build Mapbox GL for CI https://github.com/mapbox/mapbox-gl-native-ios/issues/493 - Research into iOS + GLKit - https://github.com/mapbox/mapbox-gl-native-ios/issues/371
- Building
mapbox-gl-native-ios
with your own changes tomapbox-gl-native
- change the Git Submodule to point to your own repo, for example see roblabs / mapbox-gl-native
Raster Decompression
- Decoding WebP rasters for iOS — https://github.com/roblabs/mapbox-gl-native/tree/Features/ios-webp#mapbox-gl–webp-for-ios
- Background info on WebP for image compression.
Sideloading of Map Data (for Offline Maps)
- Discussion on whether
.pbf
can be compressed when usingtippecanoe
: mapbox / tippecanoe #582
Android
- Open Source Project - https://github.com/roblabs/osm2vectortiles-android
- App in the Google Play Store - https://play.google.com/store/apps/details?id=com.roblabs.osm2vectortiles_android
- Maps for Android on the Google Play Store
iOS
- Open Source Project - https://github.com/roblabs/osm2vectortiles
- Offline Maps for iOS on the Apple App Store — https://itunes.apple.com/us/developer/epi-rational-inc./id416401310
Research into downloading Map Tiles as mbtiles
- This work is in a private repository, but some of this product research has made it into the iOS products mentioned.
- We also have prototypes of MBTiles being stored in a cloud or on the App Store as a post install operation.
- Offline Maps with MBTiles (requires authentication) - https://github.com/roblabs/openmaptiles-ios#mapbox-library-install
tippecanoe
- Creating a
tippecanoe
build for Docker — https://hub.docker.com/u/roblabs