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

learn more… | top users | synonyms

1
vote
1answer
43 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
0answers
15 views

Mapbox Studio local sources

I'm deeply confused by the whole Mapbox Studio workflow regarding the use of local data. Say I have a shapefile, and I want to use it on top of a remote style. As far as I understood, the way ...
0
votes
0answers
14 views

CartoCSS problem with zoom levels - polygons are turned off

Can someone help me where could be a problem with CartoCSS rule below? I'm not able to see "school" polygons at z11-13 though rule seems to be written correctly:>>> [zoom>=11][zoom<=15]. Polygons ...
1
vote
2answers
59 views

Turf.js only with Mapbox.js?

After trying turf.js with plain ole leaflet and getting confused because the most basic stuff wouldn't work, I'm thinking that turf.js requires Mapbox.js and access token. Can anyone confirm or deny ...
0
votes
0answers
27 views

Which map API to draw polygon and export my data that is within boundary?

I have 5 point datasets that I want to display and be able to filter by fields. I will then be able to hand draw a polygon and export Excel of the data from each dataset within the polygon. Which web ...
2
votes
2answers
52 views

osm2pgsql: database “gis” does not exist

I am currently attempting to use OSM Bright to quickly style some OSM data, so I can export tiles without spending hours writing Carto in TileMill. This is my first time using osm2pgsql to import OSM ...
0
votes
1answer
24 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 ...
0
votes
0answers
15 views

How to use a vector tiles with MapBox?

I want to show a vector data in Mapbox.js application. I found some examples where use pbf files. But i can't find any ways how can i generate a pbf file. Just found osm data in pbf format: ...
1
vote
1answer
42 views

Is it possible to make satellite imagery viewable through a marker?

I am working on the project using Mapbox.js and jQuery and the client has asked for something that I'm not sure is possible. A screenshot of what I currently have is below. The client wants the ...
0
votes
0answers
19 views

How do you filter mapbox layers?

I have 6 layers that contain grid, feature, and tile layers. var layers = [{ name: 'basemap', minZoom: 0, maxZoom: 19, layer: L.layerGroup([ ...
0
votes
0answers
13 views

Possibility of Multiple Popups on single Markers?- Mapbox

I am styling a minimal world map (no country names, maximum zoom level 3) with markers representing Universities. The problem is that some of the universities are in the same town as others, so ...
0
votes
0answers
17 views

Is the server side component of Mapbox's Surface API open source?

Mapbox's Surface API looks really cool. But it's apparently only available as a service for a limited number of developers. Is there any public code which provides the API?
2
votes
1answer
42 views

D3 missing zoom Choropleth + Raster

following this example and Choropleth from Mike's site trying to get: image + vector + choropleth = my map As you can see I'd lost zoom capability on vector layer. I'd been trying differents things, ...
0
votes
0answers
24 views

Map box GL mature / appropriate for own OSM-Tileserver

I am quite new to this topic and currently trying to decide what library to use for developing OSM-apps with my own tile-server for Android, iOS and Websites (currently using Leaflet for websites) - ...
1
vote
0answers
24 views

In Mapbox Studio how do I make an image for a marker be 400 pixels without getting clipped off?

For Mapbox Studio, I've prepared this Squid drawing I'm going to put in a body of water, similar to the ships in the 'Pirates Return' map. I have sizes of the drawing in 100,200, and 400 pixels. ...
1
vote
3answers
99 views

How to load geojson vector tiles from mapbox id?

I have some data hosted on mapbox and I'm trying to load it as tiled geojson into Leaflet from its mapbox id (I just want to get plain geojson, I'm not trying to render it). How can I achieved that? ...
1
vote
1answer
45 views

CartoCSS Expression for shield-name

Is there any way to use a regular expression to filter a string when using CartoCSS expressions? I have geojson of some ways and route relations I obtained using Overpass Turbo. When creating a new ...
0
votes
1answer
53 views

How to fix label clipping in Mapbox Studio

I have labels that are being cut off when rendered in Mapbox Studio. As I understand it there is a 256x256 tile that gets rendered and if the label text "bleeds" into another tile it may get cut off. ...
0
votes
1answer
64 views

How to switch base layer programmatically in MapBox/Leaflet

I have multiple base layers, and need to switch them programmatically, dependent on various actions and states in my app. Can't find how, for the life of me. thanks!
0
votes
1answer
64 views

What can I do in Mapbox Studio with the osm_id number for #buildings from Mapbox Streets?

My goal is to use OpenStreetMap buildings data to create map tiles that show buildings styled with information such as name, floors, and other information from the tags associated with the way/feature ...
1
vote
3answers
144 views

Load external tileJSON file in Mapbox

I have tiles generated by Maperitive from an OSM file, and there's a nice tiles.json generated with them which specifies neatly the tiles-path, bounding box, minzoom, maxzoom, center, etc. The format ...
1
vote
1answer
55 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
37 views

CartoDB: Adding another view of layer using Layer Actions and Toggle Buttons

I would like to add multiple sublayers of the same table attached to a single layeraction in cartodb js. I written my webpage based on the following cartodb tutorial: ...
0
votes
1answer
31 views

MapBox Studio - Reverse Character Strings

I am working on a project in MapBox studio where I had to flip all the labels 180┬░ that were on lines. Since its not possible to use text-orientation for labels on lines, I flipped the font file 180 ...
0
votes
2answers
68 views

create a draggable circle in leaflet

hey guys can u please tell me how to create a circle in leaflet which can be dragged across the map.I do not want to use Circlemarkers as i want to specify radius in meters and also the size of ...
0
votes
1answer
18 views

Mapbox.js not displaying a certain UTFGrid variable

I'm working on embedding a Mapbox map on a site but interactivity doesn't seem to be pulling in one of the variables properly. When you view the map on Mapbox's site, it shows the values that it is ...
0
votes
1answer
50 views

how do i change my map's styling in mapbox using mapbox.js?

i really searched for it high and low but couldn't find it!! I am using mapbox.js for this. i am working on the project which requires to change the styling of map, eg: area,land and water colors on ...
0
votes
1answer
57 views

Add MapBox sourced hillshade to MapBox Studio project

I am working on a MapBox studio project that was originally the pre-styled 'OSM Bright 2'. I have since made lots of edits and would now like to add some subtle hillshading. I can see hillshading is ...
0
votes
1answer
36 views

How to place the label on the map once in TileMill?

I am trying to create a basemap in tilemill. Very new to this software. When I add the label styling for the roads, it adds the name several times. Is there a way to have it only place the label on ...
7
votes
4answers
954 views

Self-hosting Mapbox vector tiles

As presented in a talk at FOSS4G Mapbox Studio allows to create Mapbox vector tiles and export them as a .mbtiles file. The mapbox-gl.js library can be used to dynamically style and render Mapbox ...
0
votes
2answers
171 views

MiniMap in Leaflet

I am trying to get a webmap working with leaflet.js. I found the beautiful addon of a MiniMap. But I do not get how it works. It works, if I only have one baselayer; MiniMaps shows up correctly. If I ...
2
votes
0answers
1k views

How to get multiple dynamic custom markers on map using MapBox in MySQL and PHP?

Can anyone help me to get multiple custom markers on mapbox using lat/long from the database MySQL. I want to use 2 types of markers on the map, for which I have two separate table of lat/longs in the ...
0
votes
1answer
99 views

Mapbox.js/leaflet.js working in FF but not in IE

I am a noob writing leaflet/Mapbox code. I got a map with the following code. Works like charm in FF but cannot see anything in IE. Maybe it is just a comma error like here? Hopefully someone can ...
0
votes
0answers
44 views

How to create a query dialog with MapBox JS?

I like to have a query dialog in the map in order to filter data according to specified fields and attributes selected by the user. Example: user may want to select a state via a dropdown menu and ...
2
votes
1answer
71 views

L.esri.featureLayer shows up and sometimes not

I'm new to the leaflet/esri subject so please forgive me if it's just a simple question. I wrote my first webmap-app. It uses different sources. The main aim is to show two basemaps hosted by MapBox ...
1
vote
1answer
34 views

Possible to show aggregate votes in a tooltip on a markercluster?

I'm building an interface that would take poll data in and show some results over a marker cluster using Mapbox but I don't have any experience with it. The interface would look much like ...
0
votes
1answer
86 views

Leaflet Layer Controler

I've got a strange behavior with my map. I wanted to have to basemaps and one overlay. I've defined classes but when I try to change them via LayerControl I only get one same map. Could you please ...
1
vote
1answer
78 views

Change point symbol in mapbox.js/leaflet/esri-leaflet.js

I am a complete nooby to the above libraries. Till now, everything shows up very fine. I got my mapbox as a basemap and added some point data provided by an ArcGIS Server. To get the AGS data onto ...
0
votes
0answers
102 views

How to toggle legends with layers in Mapbox.js?

Map is currently toggling 23 layers using var = overlays. I want the respective layer legends to appear when layer is toggled on, and show legends of all ON layers. var map = L.map('map',{center: ...
0
votes
1answer
237 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
89 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, ...
0
votes
0answers
176 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 + ...
0
votes
0answers
37 views

Difference between MapBox and CartoDB [duplicate]

What is the difference between MapBox and CartoDB ?
1
vote
1answer
102 views

How are OSM tags mapped to fields in Mapbox Streets vector tiles?

I recently started experimenting with Mapbox Studio and have encountered some discrepancies between feature tags in OSM and the corresponding feature fields in the vector tiles from Mapbox Streets. ...
2
votes
0answers
115 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 ...
5
votes
1answer
182 views

TileMill fails to load Europe data from PostGIS. What am I doing wrong?

The Problem: Using OSM-Bright in combination with an imported (osm2psql) Europe shapefile, tiles won't load unless I have 2-3 layers active (of the total of 29). I don't have this problem with an ...
1
vote
1answer
115 views

mapbox.js 1.6.2 - change tile set on zoom levels

Alright, this is what I've got. What you've suggested doesn't seem to be working. I need to change the basemap at a certain zoom level... var map = L.mapbox.map('map', 'wmarci.i6n42nl5', { ...
3
votes
1answer
51 views

Web Maps for Collecting Information in a Questionnaire

I am working with a Non Profit group who are looking for collect information around urban cycling routes. They would like to know the routes people take to get from point A to point B. I thought, ...
3
votes
2answers
161 views

Search and zoom json features in Leaflet

How can I add search box to map that allows user to search>zoom to polygon name. If there are 100 polygons, user can type name of polygon (i.e., Symantec) then map zooms to matching county?
2
votes
1answer
77 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 ...