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

learn more… | top users | synonyms

2
votes
1answer
231 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
215 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
12 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
54 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 ...
0
votes
1answer
16 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? TileMill would let me export tilesets at specified zoom levels. But I ...
1
vote
1answer
183 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 ...
1
vote
0answers
16 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
21 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
12 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
333 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 ...
2
votes
1answer
427 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....
1
vote
1answer
16 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
19 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
179 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
24 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
9 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 ...
4
votes
2answers
489 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 ...
2
votes
1answer
80 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
110 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
91 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
47 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
26 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 ...
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 + ...
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/...
1
vote
3answers
231 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 ...
2
votes
2answers
1k 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: ...
2
votes
1answer
458 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 ...
3
votes
2answers
88 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....
1
vote
1answer
195 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 ...
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
12 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
22 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
13 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 ...
1
vote
0answers
166 views

Cant' get the correct measurements : LeafLet

i am working with the simple app Beta Here The application is using leaflet plugins/api.... User draw a line(poly-line) on the map/image and then enter the distance between two points.... Working ...
1
vote
1answer
46 views

Vector tiles to MBTiles

I need some clarification regarding MBTiles. I am generating MBTiles in 2 different ways: Using TileMill Using Mapbox tm2 to MBTile using TileCloud In TileMill, does the exported MBTile contain ...
0
votes
0answers
11 views

Resample Method when reading off of overviews

This is a related-question to this post here:Read from TIF overviews using rasterio When reading a window of an overviews, it seems like the nearest-neighbor resampling is used fit output data to the ...
1
vote
0answers
23 views

Heads up before trying Mapbox vector tiles services flexibility with openlayers-3. [closed]

if i load Mapbox vector tiles services in my map using openlayer-3, can i perform the function's like on click popup ? or on hover popup. highlight etc is it advisable and mature enough ? as i saw ...
0
votes
1answer
21 views

Mapbox Opacity Example Touchscreens

In Mapbox, this example works on a PC but not on a touchscreen Android/iPhone/iPad https://www.mapbox.com/mapbox.js/example/v1.0.0/opacity/ Is there a simple change to the code below to make it work ...
2
votes
1answer
38 views

What is the correct tileInfo for MapBox basemaps in the ArcGIS JavaScript API (3.16)?

I'm trying to use a MapBox basemap in a JS API (3.16) app and they are using tiles that are 512px instead of the typical 256px. This causes the map to be one zoom level off and the labels and such ...
1
vote
1answer
21 views

mapbox with markers and checkboxes - disable all from showing on initial load

I have a page I built to display wind direction/velocity in various locations along a bike trail: http://microflush.org/cgi-bin/pathInfo.cgi I have several markers in a legend, with check boxes to ...
3
votes
1answer
91 views

How to make a network /tower coverage map in in mapbox

I am new to mapping and currently I am trying to make a map showing coverage of a network provider here in my country. The map I am trying to achieve should look similiar to that at http://www.imore....
2
votes
1answer
61 views

Generating and hosting vector tiles from GeoJSON - no errors, but no data

I wish to construct a pipleline that takes GeoJSON through to self-hosted MapBox vector tiles specification. My plan is: Tippecanoe converts geojson to .mbt mbutil converts mbt to tiles tileserver-...
2
votes
1answer
29 views

GeoServer Printing Extension and MapBox's new API

I'm using MapBox as a basemap, and the GeoServer Printing Extension for printing this and some layers out of GeoServer. I now have it working for the old MapBox API (with URLs like https://a.tiles....
2
votes
0answers
44 views

Data-driven styling in Mapbox GL JS - Error when drawing circle radius by zoom level and property

I'm playing around with data-driven styling in Mapbox GL JS. Setting the circle color based on a layer property works just fine: "circle-color": { 'property': 'mag', 'stops': [ [4, ...
2
votes
1answer
270 views

Mapbox GL JS, self hosted vector tiles with missing levels

Using Mapbox GL JS with self hosted vector tiles in protobuf format where it looks for tiles using {z}/{x}/{y}.pb paths. I have a scenario where I only have data for zoom levels 9, 11 and 13. Is ...
2
votes
1answer
23 views

What is the :: notation in CartoCSS?

I've been designing some tilesets in Mapbox Studio Classic and I keep seeing the :: notation in styles that Mapbox has created. What does that mean? Are there only specific values that can be put ...
3
votes
1answer
26 views

Storing a Mapbox-hosted vector tileset in a variable (Mapbox-GL-JS)

I'm trying to make a map using Mapbox GL that is basically identical to this example: https://www.mapbox.com/mapbox-gl-js/example/filter-markers/. The main difference that source I'm using is a ...
3
votes
1answer
49 views

Generate 1 shape out of many GPX files

I have many GPX files and i want to show them as layer on mapbox tiles. I managed to create "simple polyline" from gpx and then build GeoJson which include many features. That GeoJson is pretty big, ...
1
vote
2answers
50 views

Mapbox GL: Possible to move navigation controls?

Would anyone know if it is possible to move the navigation controls from top-right to top-left? By default, it is top-right, but I would like to add a company's logo at that position and I've seen ...
4
votes
1answer
202 views

What worldwide raster basemaps does MapBox provide, and how much do they cost to use?

There are a number of MapBox basemaps that show up on various websites (MapBox Streets, MapBox Outdoors), but weirdly, I can't find a list of them anywhere. I have in the past seen a big list of ...