All Projects → maplibre → Maplibre Gl Native

maplibre / Maplibre Gl Native

Licence: bsd-2-clause
An open-source fork of Mapbox GL SDK for iOS and Android and other platforms

Projects that are alternatives of or similar to Maplibre Gl Native

Mapbox Gl Js
Interactive, thoroughly customizable maps in the browser, powered by vector tiles and WebGL
Stars: ✭ 8,017 (+12233.85%)
Mutual labels:  mapbox, vector-tiles, mapbox-gl
Mapbox Gl Native Android
Interactive, thoroughly customizable maps in native Android powered by vector tiles and OpenGL
Stars: ✭ 135 (+107.69%)
Mutual labels:  mapbox, vector-tiles, mapbox-gl
Mapbox Gl Native
Interactive, thoroughly customizable maps in native Android, iOS, macOS, Node.js, and Qt applications, powered by vector tiles and OpenGL
Stars: ✭ 4,091 (+6193.85%)
Mutual labels:  mapbox, vector-tiles, mapbox-gl
Martin
Blazing fast and lightweight PostGIS vector tiles server
Stars: ✭ 540 (+730.77%)
Mutual labels:  mapbox, vector-tiles, mapbox-gl
maptalks.mapboxgl
MapboxglLayer for maptalks.js
Stars: ✭ 51 (-21.54%)
Mutual labels:  mapbox-gl, mapbox
deck.gl-time-series-widget
A React Time Slider implementation for DECK.GL - (non)temporal data - by CPU filtering ⌛
Stars: ✭ 19 (-70.77%)
Mutual labels:  mapbox-gl, mapbox
postile
Project migrated to: https://gitlab.com/Oslandia/postile
Stars: ✭ 67 (+3.08%)
Mutual labels:  vector-tiles, mapbox
Makina Maps
Full Stack to Build, Serve and Update your own Vector and Raster Tiles from OpenStreetMap Data.
Stars: ✭ 52 (-20%)
Mutual labels:  vector-tiles, mapbox-gl
Baremaps
Custom vector tiles from OpenStreetMap and other data sources.
Stars: ✭ 100 (+53.85%)
Mutual labels:  mapbox, vector-tiles
angular-mapboxgl-directive
AngularJS directive for Mapbox GL
Stars: ✭ 43 (-33.85%)
Mutual labels:  mapbox-gl, mapbox
Djangorestframework Mvt
Serve Mapbox Vector Tiles with Django and Postgres
Stars: ✭ 33 (-49.23%)
Mutual labels:  mapbox, vector-tiles
Terramach
Terra Mach is a mapping frontend system to build graphical interfaces for devices.
Stars: ✭ 142 (+118.46%)
Mutual labels:  mapbox, mapbox-gl
Mapdeck
R interface to Deck.gl and Mapbox
Stars: ✭ 296 (+355.38%)
Mutual labels:  mapbox, mapbox-gl
Vue Mapbox
Vuejs 2 components for interacting with mapbox-gl-js
Stars: ✭ 359 (+452.31%)
Mutual labels:  mapbox, mapbox-gl
react-mapboxgl
Declarative React components for mapbox-gl-js.
Stars: ✭ 15 (-76.92%)
Mutual labels:  mapbox-gl, mapbox
Tilehut
A modest, but cozy home for your map tiles
Stars: ✭ 132 (+103.08%)
Mutual labels:  mapbox, vector-tiles
Editor
An open source visual editor for the 'Mapbox Style Specification'
Stars: ✭ 1,167 (+1695.38%)
Mutual labels:  vector-tiles, mapbox-gl
Osmscout Server
Maps server providing tiles, geocoder, and router
Stars: ✭ 105 (+61.54%)
Mutual labels:  vector-tiles, mapbox-gl
Mappa
A canvas wrapper for Maps 🗺 🌍
Stars: ✭ 290 (+346.15%)
Mutual labels:  mapbox, mapbox-gl
Openstreetmap Cartographic
A port of OpenStreetMap Carto to Mapbox GL for client-side rendering
Stars: ✭ 50 (-23.08%)
Mutual labels:  vector-tiles, mapbox-gl

Mapbox GL Native SDK Open-Source Fork

For iOS and Android

MapLibre GL Native is a community led fork derived from mapbox-gl-native prior to their switch to a non-OSS license. The fork also includes Maps SDK for iOS and MacOS (forked from mapbox-gl-native-ios) and Android SDK (forked from mapbox-gl-native-android). These platform-specific SDKs were merged under platform directory and they reference mapbox-gl-native directly, not as a submodule.

Beside merging in platform specific SDKs, the following changes were made compared to original mapbox projects:

  • The code was upgraded so that it can be built using latest clang compiler / Xcode 12.
  • CI/CD was migrated from CircleCI to GitHub Actions.
  • Along with GitHub releases, binaries are distributed as follows:
    • The iOS binaries distribution was upgraded from fat packages to Swift package containing XCFramework.
    • The Android binaries are distributed to GitHub maven package repository.

The mapbox-gl-native was forked from d60fd30 - mgbl 1.6.0, mapbox-gl-native-ios from a139216 and mapbox-gl-native-android from 4c12fb2

Build Status

SDK Build Build status
Mapbox Maps SDK for iOS CI GitHub Action build status
Mapbox Maps SDK for iOS Release GitHub Action build status
Mapbox Maps SDK for Android CI GitHub Action build status
Mapbox Maps SDK for Android Release GitHub Action build status

Installation

Android

  1. Add bintray maven repositories to your build.gradle at project level so that you can access MapLibre packages for Android:

        allprojects {
            repositories {
                ...
                maven {
                    url = "https://dl.bintray.com/maplibre/maplibre-gl-native"
                }
            }
        }
    
  2. Add the library as a dependency into your module build.gradle

        dependencies {
            ...
            implementation 'org.maplibre.gl:android-sdk:9.2.1'
            ...
        }
    
  3. Sync gradle and rebuild your app

iOS

  1. To add a package dependency to your Xcode project, select File > Swift Packages > Add Package Dependency and enter its repository URL. You can also navigate to your target’s General pane, and in the “Frameworks, Libraries, and Embedded Content” section, click the + button, select Add Other, and choose Add Package Dependency.

  2. Either add MapLibre GitHub distribution URL (https://github.com/maplibre/maplibre-gl-native-distribution) or search for maplibre-gl-native package.

  3. Choose "next". Xcode should clone the distribution repository and download the binaries.

Alternative installation

You can also download pre-build from releases in this repository.

How to create your own build

Source code checkout

git clone --recurse-submodules https://github.com/maplibre/maplibre-gl-native.git

Build

Android

Make sure you have set Android SDK path in platform/android/local.properties, variable sdk.dir

cd platform/android
BUILDTYPE=Release make apackage

Binaries are produced in platform/android/MapboxGLAndroidSDK/build/outputs/aar/MapboxGLAndroidSDK-release.aar Please refer to Mapbox Maps SDK for Android for detailed instructions.

iOS

cd platform/ios
make xcframework BUILDTYPE=Release

The packaging script will produce a platform/ios/build/ios/pkg/dynamic Please refer to Mapbox Maps SDK for iOS for detailed instructions.

MacOS

cd platform/ios
make xpackage

This produces a Mapbox.framework in the platform/ios/build/macos/pkg/ folder. Please refer to Mapbox Maps SDK for macos for detailed instructions.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].