In the examples, they provide a link of a Manhattan tile: http://a.tiles.mapbox.com/v3/examples.map-zr0njcqy/14/4823/6160.png being the tile z / x / y coordinates 14 / 4823 / 6160 I know from navigating the map that the position of latitude 40.706119 and longitude -74.017554 is inside that tile.
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 why 2 objects of [0] and [1] are returned on a single click. I load three layers of pistes (ski runs), a solid line layer, a ... mapbox mapbox-gl
In Mapbox JS, I would do this by loading the GeoJSON data into a featureLayer and then fitting the map to its bounds with: map.fitBounds(featureLayer.getBounds()); The fitBounds documentation for Mapbox GL JS indicates that it wants the bounds in the format of [[minLng, minLat], [maxLng, maxLat]].
Mapbox is a service to design and publish maps, where the end-result is a bunch of generated map-tiles stored in the cloud (and some json files). Thus, for example, you may consume Mapbox maps from Leaflet.
I'm trying to use Mapbox GL in combination with the plain public OSM tile servers. Following the example of how to add a raster tile source, my take on a minimal example looks like this: <!DOCT...
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 cached tiles? I would like to have this bounding box so I can query the database for the features around the clicked point.
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...
So Mapbox provides an awesome Navigation SDK for Android, and what I have been trying to do is create my own routes, representing each point as a Feature in a Geojson file, and then passing them on...
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 data queried by the API is determined by the tileset passed as a parameter to your API request. As noted in the linked documentation, tutorial, and playground, you can either use existing Mapbox tilesets are ...