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
0answers
14 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
14 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 ...
1
vote
1answer
511 views

How can I export MBTiles from TileMill 2?

In TileMill 1 it was easy to export MBTiles for a selected region with my own style. In TileMill 2 I can only package the style or export vector tiles from a previously imported datasource. How can I ...
-1
votes
1answer
93 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 ...
1
vote
2answers
560 views

How to add hyperlinks & embedded images to TileMill / Mapbox Tooltips?

I have a shapefile I am styling in TileMill; which will be imported later into a Mapbox webmap as MBTiles. There is an attribute field for each feature in the shapefile that contains a link to an ...
4
votes
2answers
139 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
75 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 ...
0
votes
1answer
22 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 ...
2
votes
0answers
62 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
153 views

Hover effects using CartoCSS: Is this possible?

I'm trying to make a simple map of parcels in TileMill. Right now when I hover over a parcel, the information for that parcel appears in a teaser. That's simple enough. However, when working with ...
4
votes
1answer
204 views

Free website host for embedding tilemill/mapbox web map

I am hoping to design a simple interactive web map using TileMill. I am then planning on uploading that map to Mapbox.com, where I understand I will be given an embed code to put on a website. My ...
0
votes
0answers
23 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 ...
0
votes
1answer
30 views

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

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
1answer
90 views

Getting coordinates to create geojson

I have a geotiff that I have been working with in tilemill and I would like to select portions (buildings) in the map and create new layers as geojson objects. My issue is I don't know how to get the ...
1
vote
2answers
643 views

Unable to get Mapbox leaflet-omnivore to load markers from .csv

I'm using the Mapbox.js API to build a really simple web map using a .csv file to place markers with tooltips. I'm trying to use the suggested leaflet-omnivore library to easily parse the csv and ...
1
vote
2answers
235 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 ...
2
votes
1answer
42 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
15 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 ...
6
votes
1answer
861 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
48 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
38 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
1answer
65 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, ...
2
votes
1answer
286 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 ...
0
votes
0answers
31 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: ...
2
votes
1answer
56 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 ...
0
votes
0answers
68 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
33 views
5
votes
1answer
131 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 ...
2
votes
2answers
70 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?
0
votes
1answer
33 views

Can't add a postgis layer in tilemill (symbol shown grayed)

I want to add a postgis layer to a tilemill project but the symbol is shown grayed and I can't select it (shown on the picture below). I followed this instructions.
1
vote
1answer
71 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
66 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
49 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', { ...
1
vote
1answer
211 views

mapbox layer in ESRI API

I am building an application primarily with the ESRI API, but would like to load a mapbox tilelayer to use as the basemap as they are just so much more pleasing cartographically. I dont want to change ...
3
votes
1answer
43 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, ...
2
votes
2answers
65 views

What is the recommended workflow for using TileMill and OSM?

Using osm2pgsql, I imported an OSM extract into a Postgres database. Then I made a layer in in TileMill that contains the data from Postgres. The map was exported to a MBTiles file. At this point, all ...
1
vote
2answers
43 views

How can I down load osm style sheet or mss file

I have down load shape file from OSM,then I open it using TileMill .The next step is create style sheet ".mss" file.How can i download the exact OSM's style sheet?
0
votes
1answer
47 views

Add image to bottom corner of MapBox.js map

I have a MapBox.js map up and running and I would like to add an image to the bottom left corner. I tried adding in this code: <img src="IMAGE URL" height=100 ...
1
vote
0answers
44 views

Trying to Offset Overlapping Transit Lines/Routes - Is There a Way?

I am trying to create a bus route map in Los Angeles. I realize that it is shooting for the moon (perhaps it is impossible to do well) since there are so many overlapping routes, but I think I've gone ...
9
votes
3answers
985 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 ...
1
vote
2answers
2k views

how does one reset map.fitbounds (zoomtofeature()) to the original zoom?

I have a lovely map setup using Leaflet with MapBox tiles (only). It is a United States map with polygons for each state with an onclick event to zoomToFeature. The basic zoomToFeature() function ...
0
votes
1answer
67 views

Highlight polygon on hover and click in TileMill

I have created a MapBox.js map with several layers of polygons each with hover/click interactivity to show attributes about each polygon. I want the polygons to become highlighted upon a user ...
0
votes
0answers
21 views

Alternative map solutions for a web application behind a paywall (paid webapp) [duplicate]

I am planning to start developing a map enabled application behind a paywall (paid webapp). Since Google requires to license Google maps API for Work (by contacting a representative) I have no idea ...
1
vote
1answer
81 views

Leaflet - how do you get individual markers from a featurelayer?

In Leaflet, if I have a feature layer filled with markers, how do I get these markers back from the layer? I want to apply different popups to each individual marker, instead of the entire set. I ...
0
votes
0answers
18 views

Jquery slider cycling through swipable layers - getting a bug

I'm building a tool that allows the visitor to cycle through rendered maps of low and high emission climate data projections. The high and low sets by themselves work great, but when I am using the ...
1
vote
2answers
318 views

How to style geojson polygon using L.mapbox.featureLayer()

I have this code: var SupIncend = L.mapbox.featureLayer().addTo(map); var ArbolesAntes = L.mapbox.featureLayer().addTo(map); var ArbolesX = L.mapbox.featureLayer().addTo(map); var ...
0
votes
1answer
43 views

How to use a Geojson layer as a background mask?

I have some Geojson neighborhood shapes that I am using to create a small multiples chart. They are like this: I want to give them backgrounds for the area they represent. I want the streets and ...
0
votes
1answer
24 views

Why isn't Mapbox viz styled how it is in projects?

When using the Mapbox "Projects" editor, I'm finding the previews do not style the same as the end results on the page. Is anyone experiencing similarly? In Projects, my map looks like on the left. ...
1
vote
1answer
69 views

Why doesn't my Mapbox + Leaflet viz look retina-friendly?

This is probably a very simple question but it's not clear to me. The Mapbox docs say: When you create a project from the editor, Retina (high resolution) tiles are automatically used on ...
2
votes
1answer
146 views

Leaflet: How do you use removeLayer?

This is driving me mad. See the Leaflet tutorial for adding a layer control to your map: L.Icon.Default.imagePath = "Scripts/images"; var mapUrl = ...