leaflet-locatecontrol VS mapbox-gl-js

Compare leaflet-locatecontrol vs mapbox-gl-js and see what are their differences.

leaflet-locatecontrol

A leaflet control to geolocate the user. (by domoritz)

mapbox-gl-js

Interactive, thoroughly customizable maps in the browser, powered by vector tiles and WebGL (by mapbox)
Our great sponsors
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • Scout APM - Truly a developer’s best friend
  • Sonar - Write Clean JavaScript Code. Always.
  • Zigi - Close all those tabs. Zigi will handle your updates.
leaflet-locatecontrol mapbox-gl-js
2 10
656 9,344
- 3.7%
3.6 9.7
20 days ago 5 days ago
JavaScript JavaScript
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

leaflet-locatecontrol

Posts with mentions or reviews of leaflet-locatecontrol. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-20.
  • GeoServer enabling https
    2 projects | reddit.com/r/gis | 20 Nov 2022
    I have been working with GeoServer well in 8080 and have now started working on getting a web application built in Leaflet. A main component I want is location tracking/identification. I have been following this video tutorial for the following plugin info. I was able to get the "my location" button to add to map successfully, but receive the following error: "Geolocation error: Only secure origins are allowed".

mapbox-gl-js

Posts with mentions or reviews of mapbox-gl-js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-06.
  • Getting Started with MapLibre GL JS
    5 projects | dev.to | 6 Oct 2022
    It originated as an open-source fork of Mapbox-gl-js before they switched to a non-open-source license on 8th December 2020.
  • Reimagining projections for the interactive maps era
    2 projects | news.ycombinator.com | 13 Dec 2021
    > too bad it doesn't come with some code

    Mapbox changed the license of their code last year I think to a proprietary one. https://github.com/mapbox/mapbox-gl-js/blob/main/LICENSE.txt

    It requires a mapbox user license with billing enabled to use this code, let alone make modifications. But the source is viewable on github.

  • MapLibre GL is a free and open-source fork of mapbox-gl-JS
    6 projects | news.ycombinator.com | 2 Apr 2021
    From https://github.com/mapbox/mapbox-gl-js

    > Mapbox gl-js version 2.0 or higher (“Mapbox Web SDK”) must be used according to the Mapbox Terms of Service. This license allows developers with a current active Mapbox account to use and modify the Mapbox Web SDK. Developers may modify the Mapbox Web SDK code so long as the modifications do not change or interfere with marked portions of the code related to billing, accounting, and anonymized data collection. The Mapbox Web SDK only sends anonymized usage data, which Mapbox uses for fixing bugs and errors, accounting, and generating aggregated anonymized statistics. This license terminates automatically if a user no longer has an active Mapbox account.

    Seems their client code does some things related to "billing, accounting, and anonymized data collection" and they don't want programmers to disable or modify that code.

    Is that right? Anyone who has followed this have more information? I haven't used mapbox in a few years but I think it's great technology.

    6 projects | news.ycombinator.com | 2 Apr 2021
    The software stopped being open source from v2 onwards. The new licence makes it merely shared source.

    This GitHub issue where this change is announced provides a number of more in-depth explanations why this is a bad thing for most users of the software: https://github.com/mapbox/mapbox-gl-js/issues/10162

  • Ask HN: What Are You Working On?
    100 projects | news.ycombinator.com | 14 Jan 2021
    It's a bummer mapbox isn't open source anymore, now you're (and lots of other peoplare) are stuck pre-2.0.0 :(

    https://github.com/mapbox/mapbox-gl-js/blob/main/CHANGELOG.m...

  • Top Javascript Maps API and Libraries
    9 projects | dev.to | 6 Sep 2020
    Web-site: https://www.mapbox.com/ GitHub stars: 6.1k, https://github.com/mapbox/mapbox-gl-js Pricing: Free, starts from $2.40 for 1000 loads Map Data Source: Mapbox Dependencies: None License: Mapbox copyright Category: Web Application Examples: https://docs.mapbox.com/mapbox-gl-js/examples/

What are some alternatives?

When comparing leaflet-locatecontrol and mapbox-gl-js you can also consider the following projects:

maplibre-gl-js - The open-source fork of Mapbox GL JS: Interactive maps in the browser, powered by vector tiles and WebGL.

cesium - An open-source JavaScript library for world-class 3D globes and maps :earth_americas: [Moved to: https://github.com/CesiumGS/cesium]

ffprobe-wasm - A Web-based FFProbe. Powered by FFmpeg, Vue and Web Assembly!

h3 - Hexagonal hierarchical geospatial indexing system

tangram - WebGL map rendering engine for creative cartography

electron-browser-shell - A minimal, tabbed web browser with support for Chrome extensions—built on Electron.

OpenLayers3 - OpenLayers

martin - Blazing fast and lightweight PostGIS vector tiles server

maps - A Mapbox react native module for creating custom maps

kepler.gl - Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.

maplibre-gl-native - The open alternative to Mapbox GL Native. SDKs for iOS, Android and other platforms

rust-starter - Rust Starter Project