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
16 views

Controlling map details shown using Leaflet and MapBox

I am building a map based chart using Leaflet (with MapBox). I would like to know if there is a way to control the level of details displayed on the map when zooming in. For example I do not want to ...
2
votes
1answer
306 views

find inner bounds of a polygon in leaflet

How can I find the inner bounds of a polygon in leaflet? I a want to plot points randomly in polygoon but when I say Layer.getBounds() I get the bounds and I can still plot the markers ...
2
votes
0answers
19 views

Wrapping vector tiles generated by geojson-vt

I've followed the example in geojson-vt, and am able to generate vector tiles from my geoJson source. However, I can't read these tiles with mapbox-gl-js or Leaflet.MapboxVectorTile because I don't ...
0
votes
0answers
14 views

Using GDAL Convert .SHP to GEO TIFF in Command Line Python [duplicate]

I have dozen Shape files (.SHP) with Georeferenced. I need to convert to GeoTiff or other format that GDAL primarly gdal2tiles.py to convert to MBTiles format. All I want is convert the .shp files ...
0
votes
1answer
203 views

What projection to use with Mapbox base/reference layers?

excuse me if this has been asked before, but I can not find answer after heavy googling. What coordinate system/projection does shapefiles need to be in to be alligned correctly with mapbox reference ...
0
votes
0answers
19 views

Mapbox.js: Bind dynamic popups with featureLayer?

I am building a multiple chloropleth map using v2.2.1 of Mapbox.js with featureLayer. Now I would like to add tooltips with custom content on hover event. This code is working well to set up the ...
1
vote
0answers
19 views

How to show the labels of aeroways like Openstreetmap in Mapbox Studio

I'm using Mapbox Studio to create a Mapbox style. However, I don't know how to show the labels of aeroways like Openstreetmap. You can see the labels are showing on the right side.
0
votes
0answers
24 views

How to run Mapbox Vector Tile Mini Server?

I am trying to make an offline map for the vector tiles that I've exported from Mapbox Studio (mbtiles). I found this : https://github.com/BergWerkGIS/mini-server I have it downloaded on my ...
7
votes
1answer
2k views

Generating Interactive Tiles using Nodejs, Mapnik, and PostGIS for Leaflet

I am looking to do something like this but where I have all the data on the same server. I've been following through the set of tutorials @ sparkgeo.com/labs/big/ and I'm having some difficulty. ...
0
votes
1answer
179 views

How to style mapboxgl point source

I have created a simple mapboxgl map, and I am adding a source that contains point data. I am trying to then apply a style to the data. The approach I am taking works well for polygon & line data, ...
1
vote
1answer
147 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":[ ...
0
votes
1answer
24 views

Can I add Mapbox data (markers) to CartoDB basemap

I have prepared a basemap in Mapbox which includes imported data (basically, marker points). I was expecting these markers to show when using that project as a basemap in CartoDB, but it only shows ...
2
votes
1answer
506 views

How to get data from TileMill tileLayer properties in Mapbox for click/hover

I've successfully used Leaflet to load a geoJSON polygon-shapefile with data, and added click and hover interactivity to the layer. For a large dataset, I switched to mapbox.js 1.6.1, used TileMill to ...
2
votes
2answers
57 views

How do I add a CartoDB layer to a MapBox map?

I'm having some trouble adding a CartoDB layer to an L.mapbox.map, I thought it was a pretty simple thing to do in the HTML but it's just not working and I dont know why? My CartoDB layer has vector ...
1
vote
1answer
64 views

Using Mapbox (LeafletJS), how do I edit imported shapes from GeoJSON?

Overview: I'm currently working on a project where I'm importing GeoJSON into a map using Mapbox. However, I'm wanting to be able to edit those shapes once imported into the map. I've gotten the ...
0
votes
0answers
32 views

Using custom mapbox styles with mapnik

I created my own tile server according to this instruction and my own layout/style with mapbox. Following the mentioned instruction I currently use OSM Bright as layout/style. In short: How can I use ...
0
votes
0answers
13 views

How can I prevent markers from being clipped?

I have a series of point that I want to draw circles with varying radii around. The radii depend on the zoom level and represent a 1.1 mile circle from the point. I'm running into an issue where the ...
2
votes
0answers
22 views

Mbtile To Geopackage and Vice versa

Considering the new open format offered by OGC, Geopackage, on top of vector data (like that of shapefiles), it supports map tiles as well. The functionality is similar to mbtile format founded by ...
-1
votes
1answer
54 views

How Map tiles can be downloaded 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.
2
votes
1answer
27 views

Building maps - when to embed in tiles versus implement in leaflet

I'm wondering if there are any principles or rules for when to "bake" geographic features into map tiles (e.g. using Mapbox Studio) versus when to "draw" them on dynamically (e.g. using Leaflet.js). ...
0
votes
1answer
46 views

Error Using 'L.mapbox.featureLayer' to load GeoJSON with pointToLayer Option

I am currently working on a project where I am loading GeoJSON into a map. The GeoJSON will include circles, point markers, and the other essentials shapes. I've been having this issue that I can't ...
0
votes
1answer
33 views

Adding markers within constituency bounds using leafet.js and leaflet-pip

I'm trying to make a map where a user can select a constituency and then see a series of markers, from a much larger list, that are only within that constituency. I have the code below, and if you ...
0
votes
1answer
44 views

mapbox overlay data

I have loaded my geojson into Mapbox Studio sources and then uploaded it to Mapbox. Now I see my upload under my Data tab on mapbox.com. How do I overlay that Data on my map using the Mapbox ...
1
vote
1answer
138 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: ...
0
votes
0answers
21 views

MapBox VectorTile

I'm trying to decode mapbox vector tiles for use with SharpMap. It is not clear to me, does such a tile know its position in the grid (x, y) and zoom level (z), or do I have to provide these values ...
0
votes
1answer
50 views

L.Polygon getting distorted when panning a map

I am using Mapbox with leaflet. I have drawn a simple polygon with a hole inside that polygon. I have done this using L.polygon and passing an array of points inside it and another array in reverse ...
0
votes
2answers
77 views

Mapbox Geocoding and Markers

I recently added Mapbox's Geocoder Control and it works wonderfully. I was wondering if anyone could tell me how I could have a marker appear at the location of the address that was searched for? ...
0
votes
2answers
68 views

How to reduce large dataset for processing by Tippecanoe and upload to Mapbox

I'm a masters student at the University of Washington without any background in geo, so if this question seems naive or unclear, I apologize. Please let me know if I can add any information for ...
0
votes
1answer
36 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 ...
2
votes
2answers
420 views

Adding multiple layers with timed delay in Mapbox/Leaflet

So I've got a Mapbox map showing data split into several layers. I'd like the user to be able to click a play button to call the function "gogogo", and then the layers get added one at a time every 1 ...
0
votes
1answer
96 views

How to open a popup on Marker click when Markers are in array using leaflet maps

Hey guys I have a set of Markers that are getting created dynamically on a .each loops like so. $.each(data, function(index, element) { markerArr[element.id] = ...
0
votes
0answers
47 views

Regroup SHP files and convert to one MBTiles file

I have a lot of shp files and i want to regroup all of them and export the whole thing in one mbtiles file (and display this with MapBox GL). I tried MapBox Studio but it's crash a lot ! Any ideas ?
0
votes
0answers
32 views

Custom fonts in Tilemill

I'm trying to add a custom font to my OSM Bright project in TileMill. I've followed instructions here: Tilemill use custom font and have found where in the palette.mss file I need to add my font, I've ...
0
votes
2answers
95 views

Points on Map overlapping/covering city and town names

I have a map with many points, these points map incidences of landmine accidents in Colombia. There are thousands of points and cover up parts of city and town names, in some cases the entire lables ...
0
votes
0answers
8 views

Producing a Tiled, Interactive Map from Illustrator Data [duplicate]

Me: A newbie to the technical side of map making. I have extensive experience with Creative Suite apps and interactive and dynamic Flash, and some experience with interactive SVGs. The project: An ...
0
votes
0answers
57 views

mbutil export of mbtiles png files are all corrupt

I have an mbtiles file that I created with MapBox studio from a GeoTIFF source, and when trying to export the mbtiles with mbutil, all the images are corrupt, no matter if I try png or jpg. Has ...
0
votes
0answers
55 views

Leaflet-image draw legend

I'm using the mapbox leaflet-image plugin to allow users to save images of an app I'm making for a client. It works great with this setup: Callback function on click event... leafletImage(map, ...
1
vote
0answers
34 views

JSON Layer does not show when .setview Changes

I've set a Mapbox map with a geoJSON layer overlaying it. The problem is that with the default set values, the json layer shows up just fine. However, If I change the .setView too much, the json layer ...
0
votes
2answers
711 views

Using Mapbox Studio (aka Tilemill 2) to create a self-hosted map

What would be the neccessary prerequisites to run a map/tile-server (serving raster tiles) using an exported vector source and tm2z-styleset? Has anyone set up a working environment for that? Is ...
0
votes
1answer
48 views

Do Vector-tile file-names need zoom levels and if so, why?

I'm new to mapping and m looking to self-host some PBF-based vector tile files, mainly for a hybrid mobile app (Phonegap, HTML5, Openlayers or Mapbox-GL-JS). My question is, if I need to generate or ...
1
vote
0answers
40 views

What is the advantage of Mapbox-gl native vs. javascript on mobile devices?

Mapbox-gl renders maps from vector tiles locally on the clients device. You can either use the js library or use the native c++ bindings (for ios/android/etc.) For a mobile device, what would be the ...
0
votes
0answers
93 views

Large road labels and roads on high zoom level

I am making small maps to print on small paper cards with the street people live in and the surroundings. The paper card has the dimensions of a printed photo, around 10x15cm. First, I made a ...
0
votes
1answer
146 views

Use Mapbox featureLayer to create Marker Clusters

I'm trying to use this tutorial (https://www.mapbox.com/mapbox.js/example/v1.0.0/markercluster-with-mapbox-data/) to create marker clusters to style a Mapbox featureLayer containing my data. This code ...
0
votes
1answer
86 views

Batch Edit GeoJSON Markers with Mapbox.js

I cannot figure out how to style all feature points from a local GeoJson file at once using the Mapbox.js. My GeoJSON file has roughly 500 points. I could go through each point in the GeoJSON file and ...
3
votes
0answers
58 views

Data format for offline apps on iPad?

For an iPAD application (based on WhirlyGlobe) we've two modes: offline and online. It's a meteorological application so each day around 1600 layers (worldwide) per day are created on the servers. ...
18
votes
5answers
4k 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 ...
2
votes
0answers
44 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 ...
0
votes
0answers
155 views

Drawing fastest route between two points

In reference at this example https://gist.github.com/miccferr/f0716649c82e5cefc5eb i'm trying to visualize the fastest route between two points. After i drag the position marker I would like to click ...
0
votes
0answers
196 views

How to install mapbox studio in ubuntu

Can anyone give me a hand to install the Mapbox studio in Ubuntu 12.04? I have downloaded the zip file for Linux but cannot find any installation instructions there.
1
vote
0answers
43 views

How to add a non-pattern polygon fill in mapnik/mapbox?

I have a map with a polygon that I want to fill with an SVG image (see simple example below). I got polygon-pattern-file to work, but I don't want the image to be used as a pattern. I mean, when I ...