About 51 results
Open links in new tab
  1. Newest 'mapbox' Questions - Stack Overflow

    Jan 14, 2026 · 42 views Mapbox 3.16.0 js gl - returns two objects on click event with some missing properties in first one I am experiencing some very weird results and I cannot begin to understand …

  2. getting error message while try to load mapbox - Stack Overflow

    Mar 16, 2021 · You can solve this problem by adding api.mapbox.com as a supported source in your project. The code below is my router file for handling routes that make use of Mapbox.

  3. How do I add a simple image overlay in Mapbox Javascript?

    Jun 15, 2018 · How do I add a simple image overlay in Mapbox Javascript? Asked 7 years, 8 months ago Modified 7 years, 8 months ago Viewed 15k times

  4. Adding a Shapes files as a Layer on Mapbox Map - Stack Overflow

    Apr 7, 2018 · In order to load a SHP file and display it on a Leaflet / Mapbox.js map, you have several Leaflet plugins that can make the task easy. For example leaflet.shapefile (online demo where you …

  5. How to use standard OpenStreetMap tile servers with Mapbox GL JS?

    Learn how to integrate OpenStreetMap tile servers with Mapbox GL JS for enhanced map visualization.

  6. Mapbox GL JS: Style is not done loading - Stack Overflow

    Jun 6, 2017 · I'm finding with mapbox-gl 1.1.1 that this doesn't work without modification: the styledata event is fired multiple times, so I get errors from trying to re-add a layer that already exists. I needed …

  7. javascript - Use a custom created Mapbox style (from Mapbox Studio ...

    I can't find any examples for how to use custom created Mapbox map-styles. On the Mapbox page I created a style for a map. How can I use this style with Leaflet? For example: var map = L.map('map',...

  8. How to change marker color and icon on clicking a marker in mapbox?

    Jun 28, 2016 · I am new to Mapbox. I have created a custom style map in mapbox studio and then add the markers using geoJson. Here is the sample code: mapboxgl.accessToken = …

  9. How to remove MapBox logo from bottom left corner?

    May 19, 2015 · 3 In case you are using the Mapbox Static Images API, you can easily remove both the Mapbox logo and the OpenStreetMaps attribution by adding the following parameters to your source …

  10. Mapbox GL How to create custom control? - Stack Overflow

    Your custom control for Mapbox should implement the next interface: onAdd(map) — a function that takes map object and should return your control object. It will be called when your control is added to …