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

    Dec 11, 2025 · 40 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. Drawing a circle with the radius in miles/meters with Mapbox GL JS

    I'm in the process of converting a map from using mapbox.js to mapbox-gl.js, and am having trouble drawing a circle that uses miles or meters for its radius instead of pixels. This particular circ...

  3. javascript - Mapbox GL JS vs. Mapbox.js - Stack Overflow

    From the Mapbox glossary, Mapbox.js Mapbox.js is a JavaScript library that allows you to add an your interactive map to your website. It is a plugin for Leaflet, and it is an open source library ...

  4. javascript - Mapbox: How to get lat/lng value into input field and ...

    Oct 2, 2020 · I tried the following code to place a marker on the included Mapbox-map with a mouse click on the map and write the latitude/longitude values from this marker into the two input-fields …

  5. Mapbox: Find POIs with defined radius - Stack Overflow

    Mar 16, 2020 · The Mapbox Tilequery API lets you do exactly this. Here is a step-by-step tutorial explaining how to work with this API, and this API playground lets you experiment with the API. The …

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

    Oct 20, 2016 · 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 …

  7. Is there a way to use Mapbox GL JS for Free? - Stack Overflow

    Jul 31, 2019 · Mapbox-GL-JS is completely free, up to version 1.13 (as in free beer, and also as in free speech). However, the Mapbox styles (and their associated resources, such as glyphs and sprites) …

  8. Mapbox: is it possible to update layer hierarchy?

    Dec 3, 2018 · I have a Mapbox with my own layers, says labels of towns and landmarks... say I want to highlight one specific landmark and I want to move its z-index higher because otherwise, it would …

  9. mapbox - Get Bounding Box used By queryRenderedFeatures - Stack …

    When a user clicks the map, I pass mapbox-gl's queryRenderedFeatures a 5 x 5px bounding box around the clicked point. Is there a way to ascertain the lat-lon bounding box that mapbox uses to query its …

  10. 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 …