migrated from googlemaps to mapbox

Mau Rua
1 min readAug 30, 2019

--

I just migrated my website (https://mruanova.com) from Google Maps to Mapbox. In the process I found that Mapbox.js is now obsolete since they released the new Mapbox-GL-JS a month ago (July 2019, see here: https://github.com/mapbox/mapbox-gl-js/releases).

Mapbox.js (syntax: var map = L.mapbox.map)

  • No longer in active development.
  • Supports raster tiles.
  • Tiles are generated by the server.
  • Map styles can’t be changed in the browser, but map overlays can be styled dynamically.

Mapbox GL JS (syntax var map = new mapboxgl.Map)

  • In active development — we are adding new features, improving existing features, and fixing bugs.
  • Supports vector tiles.
  • Maps are rendered client-side by the browser.
  • Map data and styles can be changed dynamically.

Source: https://docs.mapbox.com/help/troubleshooting/transition-from-mapbox-js-to-mapbox-gl-js/

Visit my personal website: https://mruanova.com

--

--

Mau Rua
Mau Rua

Written by Mau Rua

Welcome to my software engineering blog. Please visit my career portfolio at https://mruanova.com 🚀🌎

No responses yet