A company that creates different tools for styling and deploying maps as well as providing services for hosting maps

learn more… | top users | synonyms

0
votes
1answer
13 views

Mapbox Studio tileset is missing the bottom corner of polygon after upload to studio

I am uploading a shapefile to Mapbox Studio. Here is a screenshot of the shapefile polygon in QGis This is the polygon in QGis Now, when I zip the files and upload them as a new tileset, the ...
0
votes
2answers
20 views

Add logo to a map using Leaflet/Mapbox

I am currently trying to learn how to use Leaflet / Mapbox (and JS, to some extent) by creating custom test maps. My problem is that I want to add a logo on the top of my map, with absolute ...
0
votes
2answers
21 views

Pass Leaflet Draw Marker to Turf.js point

I am trying to dynamically supply turf.point([coordinate array]) with values from leaflet.draw markers. I can only find hard coded examples for all turf examples. I hope my goal is clear here. I ...
1
vote
1answer
194 views

Create a simple Natural Earth topographic map with Mapbox

I want embed a Mapbox map on a website and put some placemarks on it (I already did so, but that was a year ago and everything was easier back then ;)). I am a bit confused with the new Mapbox Studio ...
3
votes
1answer
18 views

How do I use mapbox tiles with folium?

I cannot find correct usage for using custom mapbox tilesets with folium. From the documentation, "Folium also supports Cloudmade and Mapbox custom tilesets- simply pass your key to the API_key ...
2
votes
1answer
444 views

Routing api help (MapBox or similar)

i have a geoJSON objects and i want to route between waypoints on my geoJSON file. this is my example geojson file. { "type":"FeatureCollection", "generator":"JOSM", "bbox":[ 23....
4
votes
2answers
536 views

Using custom styles with Mapnik

I'm setting up a custom tile server using OpenstreetMaps and Mapnik. I've been able to successfully setup the server and serve tiles using it. I'm using the OSM-Bright style right now. I would like ...
0
votes
0answers
13 views

Alternative to Mapbox that doesn't require writing code? [duplicate]

I've hit a dead end with Mapbox because my coding skill suck. I need a web map with a attribute filter tool by end of July. Haha, is it possible? ArcGIS Online is too expensive. Is there another ...
-1
votes
1answer
169 views

Downloading Map tiles from Mapbox or OpenStreetMap?

I am trying an offline Map application in which I need to show a map up to some zooming level. I thought that I would download tiles and put it locally. How can Map tiles can be downloaded from ...
2
votes
1answer
477 views

Export a style from Mapbox Studio to be used in Mabox GL-JS

I designed my map with Mapbox Studio. However I would like to use my design in Mapbox gl-js. The styles are not CartoCSS but a JSON. Is there a way to export my design to this JSON format? They seem ...
1
vote
1answer
198 views

highlight feature with click in mapbox gl

I have a geojson layer of streets that are highlighted when moused-over. My objective is now to highlight individual streets red with a click event. Only one street should be able to be ...
-1
votes
1answer
33 views

export tilesets at specified zoom levels from Mapbox

I have created a style with Mapbox. I would like to export the tilesets at specified zoom levels. Is there a way to do it?
7
votes
1answer
2k views

How to render Mapbox Vector Tiles from OSM data?

I'd like to render my own vector tiles in the Mapbox Vector Tile format (MVT) format using OpenStreetMap data (ultimately for use with Mapbox's hot Mapbox GL JS client renderer). Is TileStache + ...
1
vote
1answer
218 views

Mapbox Directions Plugin - Get Route GeoJson

Goal: find the GeoJSON points in a web map that are closest to a directions route using turf.js. I am using the Mapbox Directions plugin. I am following this example. How do I work with the route ...
1
vote
1answer
34 views

OSM2 VectorTiles lat/long to tile

After a frustrating few days I came to the conclusion that the Slippy Map Wiki only works for raster tiles, not for OSM2VectorTiles data. I can work with the data once I find the correct tile_data ...
0
votes
0answers
14 views

SVG icons not loading in mapbox

I uploaded a zipped shapefile to Mapbox with about 500 location data points and tried to display each of those data points with one of 60 different SVG icons. Those SVG icons have been loading ...
1
vote
3answers
249 views

Load a really big geojson to a feature layer in leaflet

I have this geojson file(about 60mB) that contains the administrative area boundaries. I want to make a chloropleth and give color based on each geometry properties value and add it to the ...
1
vote
1answer
41 views

Latitude/longitude to MBTiles Tile #

I've been Slippy Tiles Wiki page for equations to convert lat/long values (given via the user) to tile references, and then work with the data relating to the tile. My problem is the wiki's equation ...
3
votes
2answers
37 views

How often do directions services update their OSM data?

Not sure if this is the right place to ask but I figured I would give it a shot. I'm working on an interactive map for a campus, I performed some edits to openstreetmaps and I can see the changes on ...
0
votes
0answers
34 views

Mapbox Error: Style is not done loading

I'm trying to draw on a mapbox map, based on suncalc results and using geojson. First I tried to create 2 functions, one to each line I was trying to draw. But when I did that, it would only display ...
1
vote
0answers
25 views

Mapbox.js Touch Events

Working on a website using mapbox.js and using some custom Leaflet created buttons(var measureBtn = new L.Control.Button(measureOptions).addTo(map);). Pressing this button will toggle it on/off. ...
0
votes
1answer
13 views

how do I map from a mapbox map or tile to the lat lon extents of the map?

A web app I use displays map tiles from mapbox and then uses leaflet to overlay that map with an svg path representing a route. The problem is that the area given to the map is very tiny, it's short ...
1
vote
0answers
15 views

Access geojson property of a layer in a featuregroup in Mapbox

I have a GEOJSON which I added to the featuregroup in my Mapbox map like this: var featureCollection = { "type": "FeatureCollection", "features": [{ "type": "Feature", "properties": { ...
1
vote
0answers
53 views

Can MapboxGL use nearest neighbour interpolation for overlay image? [closed]

In HTML+CSS version of mapbox/leaflet I can set image-rendering option for .leaflet-image-layer with CSS to choose interpolation method. How can I make this in GL renderer? UPD Solved You can set ...
0
votes
0answers
46 views

Mapbox.js marker toggle and filtering markers

I am new to here, so be patient please. I have 2 problems with the code below. 1.I could not find a solution on what to state if I want to remove the highlight color on a previously selected marker. ...
2
votes
1answer
239 views

Showing link for every city at different zoom levels using Leaflet?

I have a Leaflet map that I am using to render a map of the U.S. The map will have specific zoom levels. For example, when the map first loads it will show major U.S. cities. Then if you zoom in it ...
0
votes
1answer
231 views

Mapbox: Navbar Dropdown Button Checkbox

I am creating a map application in the Bootstrap framework. I have a drop-down with 3 buttons to toggle layers on and off. I am using a glyphicon as the checkbox with text to the side. If you click ...
0
votes
0answers
24 views

Mapbox JS get geojson and echo to a div

I have a mysql table with geo data (id, lat, lon, speed, ...). I am using this php to parse to geojson (json.php in my case): <?php header('Content-type: text/plain'); $username = "[user]"; $...
1
vote
1answer
60 views

Online Map - Vector files postcode lookups - self serve, Mapbox or Gmaps?

I've been reading around how to serve vector tiles to an online map and I have a few questions about which tools and services are best to use together for an application that has c.1.5 million map ...
1
vote
0answers
21 views

Mabox GL JS - Display Zoom

How can i display the current zoom level using mapbox ? Like this: https://www.nps.gov/npmap/tools/npmap.js/examples/zoomdisplay-control/ I thought it could be easy, like adding navigation control, ...
0
votes
0answers
29 views

How to add mutiple photos from flickr API on the popup of leaflet.js markers

I want to make a slider of photos on the popup of the markers by taking 5 photos for each location.I have a JSON of few locations of a city.The json has the name, latitude and longitude of the ...
0
votes
0answers
16 views

MapBox, Tile Services, ArcMap, Tile Packages (tpks), App Studio, QtCreator, Offline App

I am knowledgeable with Esri products (10+ years) but have not utilized MapBox much. My organization is taking data from our SDE geodatabases, making it look lovely, and providing it back to us as a ...
0
votes
1answer
400 views

map.on('click') event disables the double click zoom

I have a map that has an onclick event fired and displays a marker where the user has clicked. Problem is that this event seems to overrun the double click event. Because of this, when I double click ...
1
vote
1answer
41 views

Leaflet / Mapbox.js: incorrect Popup offset using divIcon with CSS class

I'm having an error which I can't seem to find elsewhere online with Leaflet / mapbox.js regarding the offset of a popup from a marker's custom icon which has been set with L.divIcon and using a CSS ...
1
vote
1answer
31 views

Features disappear from Leaflet after zooming in

I have a Mapbox studio template which already looks the way I want it to, but when I put it in a Leaflet app, after I zoom in past level 17, a lot of the features disappear. Zooming in inside Mapbox ...
2
votes
1answer
193 views

Adding a GeoTiff created in QGIS to Map Box

I have created a heat map in QGIS and have successfully exported it as a Geotif file. I exported the file as a Rendered Image to include my classifications and colors. However when I pull the data ...
0
votes
1answer
27 views

My data at a certain latitude is disappearing in Mapbox Studio?

I'm trying to make a simple map showing 4 villages in Alaska (and Fairbanks for reference) but for some reason the northernmost village is being cut-off it seems. When viewing the data in Mapbox ...
0
votes
0answers
27 views

Custom map : Layers, sublayers and public transport directions

My objective is to create a custom map for public transport with several layers in it e.g: Under a layer named 'Leisure', I can have several bus/train/boat routes(multiple steps may be involved) I am ...
2
votes
1answer
102 views

How to create MBtiles file from “.osm.pbf” file using TileMill?

I am using Mapbox Offline Map in my app using MBTiles. Previously I was using shapefiles for creating offline maps. After searching a lot I am not getting Australian shapefiles. But my friend ...
3
votes
2answers
118 views

How can I create Mapbox vector tiles with zoom extent 0-4?

when I use Mapbox and load a vector polygon. after upload is done the file is converted to vector tiles. it is then assigned a zoom extent: How can I tweak this ? I would like the tiles created from ...
0
votes
1answer
120 views

In MapBox Studio, how to create a centred label of a polygon created from Shape file?

To get the undesired result below, I: Uploaded a zipped Shape file to MapBox Studio. Using the shape, created a layer of polygons to display area boundaries. Using the same shape, created a text ...
2
votes
1answer
52 views

How in-sync is the MapBox flavour of Leaflet with the FOSS version?

How in-sync is the MapBox flavour of Leaflet with the open source version? I'm concerned that if I got with the MapBox sku, I'll be locking myself into a non-standard version, so things like ... are ...
3
votes
2answers
27 views

Secure Web Site with Non-Secure Mapbox Overlays

We host a site that uses Mapbox. We're testing running it as a secure(https) site and are getting errors within Chrome that it can't access non-secure data when coming from a secure site. We are ...
3
votes
2answers
1k views

Why aren't Mapbox vector tiles rendered in the browser?

Would it be technically possible to have Mapbox's compact vector tile format sent to the client (instead of PNG tiles), then rendered inside the browser with JS code? Second question: when using TM2/...
2
votes
2answers
2k views

Offline Vector Tile Map for Android and iOS app

I am trying to generate vector files and store them in a MBtiles file to make them available for download within the app. (I have also tried with raster tiles and TileMill but the file were too large: ...
3
votes
2answers
97 views

MapBox; Use style as tileset

Is it possible to use a MapBox style as a tileset? I would like to add the style as a tile layer in QGIS. I can access tiles from my tilesets in a browser. http://api.tiles.mapbox.com/v4/dbauszus....
22
votes
5answers
8k views

Any reason to use TileMill if Mapbox Studio is meant to replace it?

I'm new to using TileMill and it still seems like a popular cross-platform package, though I keep running into common bugs and errors with it (on Mac OSX). On Mapbox's page, it says that Mapbox Studio ...
0
votes
0answers
14 views

What determines Zoom Extent in MapBox Studio

When uploading data to Mapbox Studio, a zoom extent is attributed to the dataset/tileset after processing. What controls this attribute? I've uploaded datasets that I want to use at Zoom Extent ...
1
vote
1answer
38 views

How to add custom CSS class to leaflet tilelayer

I am working with mapbox.js and leaflet to create a map with a number of overlapping tilelayers. I want to apply some custom CSS to only selected tilelayers, and thus assign these layers to an ...
1
vote
0answers
16 views

Mapbox data not appearing a lower zoom levels

I'm styling a Mapbox map, and want to show mountain peak labels. I've created a layer for this, and in the "Select data" tab set the zoom range to 8-20. However on the map (and in the data select ...