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

need help with L.mapbox.legendcontrol

I am using mapbox.js 1.6.1 to serve .mbtiles created in tilemill (via mbtiles-server.php) on a private host. my knowledge of html and js is very (very) basic, I can't figure out how to use ...
3
votes
1answer
26 views

Where i can find Mapbox tiles gallery

I'm sorry, if my question seems to be newbie, but i have discovered that cloudmade tiles service has been discontinued, so to switch to mapbox tiles, i imagine that i can find a gallery (like in ...
0
votes
1answer
85 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 ...
0
votes
0answers
19 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 ...
3
votes
1answer
41 views

Displaying large number of polygons on web map?

I've started working on a project with a huge number of polygons, and I'm unsure of how to display/host it. The map I'd like to end up with will have three layers: 1) Shaded polygons representing ...
0
votes
2answers
101 views

Projection problem? — OpenLayers, Drupal, and MapBox

I've installed OpenLayers in Drupal 7 and created a view that pulls geofield data for a "Geography" vocabulary (states, tribes, and U.S. jurisdictions) and shows points on a map that I'm storing on ...
0
votes
1answer
92 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 ...
5
votes
1answer
265 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. ...
2
votes
1answer
53 views

Using interactivity from multiple layers produced in TileMill in a single map

I have a MapBox.js map with several layers here . I would like to be able to use TileMill's teaser and full interactivity on a few of the layers, but I have only been able to accomplish this for a ...
4
votes
1answer
110 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
1answer
38 views

Custom OSM tiles with Mapbox and/or CartoDB

For a newspaper, we would like to use CartoDB's editor to produce quick overview maps with small amounts of geometry and information such as tooltips etc. For this job, the CartoDB editor seems to be ...
2
votes
1answer
141 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
1answer
102 views

How to add title to mapbox <iframe> embed

I am embedding a map I made in Tilemill/Mapbox onto a Wix website. Items of the map such as legend, title, and description are not automatically included in the embed. I learned how to add the legend ...
0
votes
1answer
45 views

Draw icons and lables only for certain entities in Tilemill

I've recently started to use mapbox' TileMill2 to play around with vector tiles. It's pretty nice and, in comparison to Tilemill(1), much more faster. Exactly what I was searching for. Now I'm trying ...
1
vote
1answer
207 views

How to switch Mapbox base map layers?

Can someone help me on how I can switch the basemap layers? I'm using Mapbox layers, but when I switch from satellite to road, the feature layer is pushed to the behind the new basemap.
1
vote
2answers
764 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 ...
3
votes
2answers
79 views

Is it possible to add house numbers using the Mapbox Street Vector Tiles source in Tilemill2?

Title says it all. Does anyony know if the house number is included in Mapbox’ vector tiles, and if so how to access it for styling? Thanks for any advice!
0
votes
0answers
10 views

Tilemill logs - Is there a way to remove [tilemill] prefix

In the Tilemill logs, is there a way to remove the [tilemill] prefix of every line? I'm trying to add the timestamp of each log line in the tilemill logs. I can easily do it with log-prefix module. I ...
2
votes
3answers
90 views

Start-Marker from geojson polyline

i have a map with some walking- and bike-routes and popups with a few details and a picture. Now i want to set a marker on the first vertex of a geojson polyline, but i cant find out how. Btw. i´m ...
0
votes
2answers
48 views

CartoCSS layer visibility

I am working in TileMill and I have a number of layers in two different levels of detail. I have assigned classes to the layers "highdetail" and "lowdetail", and I know how to use the zoom selector - ...
1
vote
0answers
32 views

Create Google Static Maps API from GeoJSON

I am using MapBox to create some maps with polygon boundaries. These maps will be embedded into a custom PHP app I am developing using their API. I need to be able to print these maps so I need to ...
0
votes
1answer
108 views

Targeting capital cities only in Tilemill/CartoCSS

At a specific zoom level in my Tilemill map, I want to only show capital cities, and hide all other cities. What data set could I use which will provide me with information oh whether a city is a ...
1
vote
2answers
451 views

Make new Tilemill map match default Mapbox label styles

I want to make a map in tilemill that matches the way that labels are displayed in this example, down to the countries that get labels at each zoom level, which country gets abbrev. vs. full title, ...
1
vote
2answers
56 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
40 views

TileMill: Can't use both background-color and background-image?

Very new to TileMill and am working on my first project. I'm using a pattern image to enhance some areas on the map, water being an example. I've added the pattern to the water areas on my layers, ...
0
votes
1answer
81 views

Tilemill 2 (not v1): How to set map extents or bounds for export?

I'm using Tilemill 2 and trying to set bounds or extents in order to reduce file size but I can't figure where to do that. I'm also getting a 422 error when trying to upload to my mapbox account and ...
0
votes
1answer
52 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
274 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 ...
2
votes
0answers
78 views

TileMill Exports Failing

I'm having trouble exporting my map in TileMill (v0.10.1). I'm using OSM Bright with a PostGIS database connection to import OpenStreetMap data. When exporting an SVG or PDF through the user interface ...
0
votes
1answer
104 views

Calculate distance and surface with mapbox api

Is there a way to draw lines and polygons (with geojson) and calculate distance and polygon surface with the mapbox api or leaflet? I wish to have the same tools as in geojson.io with the extra ...
0
votes
0answers
27 views

CartoCSS Performance Considerations?

Just wondering if anyone knows how many lines of code CartoCSS can handle before it starts to affect performance? I'm currently using CartoDB and have around 400 lines of code, but haven't noticed ...
1
vote
1answer
64 views

Why doesn't LeafletJS complete the conversion when re-projecting to Spherical Mercator?

When I use the Mapbox Leaflet pre-packaged Projection class SphericalMercator to project a lat/long coordinate into EPSG:3857 I have to multiply the result Leaflet provides by the earth's radius. ...
0
votes
1answer
36 views

Mbtiles from dedicated server to mapbox account

I process Landsat Imagery on a dedicated server and generate mbtiles. Is there a way to upload the mbtiles files straight from my server to my Mapbox account?
2
votes
1answer
483 views

Contour Lines Raster Extraction

I've been playing with Mapbox's blog post about converting heat maps to contour lines, and I'm stuck at the extraction part of this process. I used the CSV plugin to create a vector layer of points, ...
1
vote
1answer
61 views

Opacity contrl for mapbox map with several layers

This is an example of how opacity can be changed for a Mapbox.JS map: https://www.mapbox.com/mapbox.js/example/v1.0.0/opacity/ The example shows only one layer used. With barely any experience in ...
1
vote
0answers
250 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 ...
2
votes
4answers
239 views

How to make a private OSM (Save personal information to) a map using OpenLayer or Tilemill or mapbox

OSM (OpenStreetMap) is great for making a real time public map for general purposes but what if I want to add private info to a map such as the location and date of my first kiss or a note about every ...
0
votes
1answer
76 views

Carto CSS variables

Does anyone know whether it's possible to use a variable within an attribute selector. For example I define my variable at the top of the file: @lowZoomMax: 9; And then reference it as follows: ...
1
vote
1answer
42 views

Query data without opening up database?

I have a bunch of polygon data that I want users to be able to sort/filter based on certain criteria. I have the data in a CartoDB table, and can pretty easily use some SQL calls to achieve what I ...
0
votes
1answer
208 views

How to convert a PNG tile set into the Mbtiles format

I have exported a folder with PNGs tiles and I want to convert them into Mbtiles format to use with Mapbox (maybe via TileMill?). How can I do that? Is there a convertor where I can specify the ...
4
votes
2answers
495 views

Vector Mapping for iOS?

Are there any vector map data providers with API's, that i can use to build my app on iOS natively (not on a webview). Specifically im looking for: For a library/framework that uses existing map ...
0
votes
1answer
295 views

Which are the Geojson css style properties for mapbox.js?

I try to style a LineString in a Mapbox Map through L.Geojson and all the style properties I could find are: fillColor, colour, weight, opacity. Does anyone know if there is something else? For ...
2
votes
1answer
42 views

ST_ZMax() does not exist in PostGIS

I'm trying to follow this example on Mapbox blog, about using 3D shapes in PostGIS. The database-query is this: DROP TABLE tilemill_buildings; CREATE TABLE tilemill_buildings AS SELECT ogc_fid, ...
0
votes
1answer
69 views

CartoCSS detect odd vs even for use in labeling conditional

I liked the part in the advanced label styling about randomly asigning a 0 or 1 to control label placement and then using as a conditional #labels { text-name: "[name]"; text-face-name: ...
1
vote
1answer
138 views

Edit tilemill legend to add circle symbol

I am trying to edit my tilemill legend so that instead of displaying a red rectangle as below, it displays a red circle (I'm making a proportional symbol map). What line would I need to add in my ...
0
votes
1answer
163 views

Labeling in TileMill with CartoCSS - Add line break between variables

I am labeling some points in TileMill using CartoCSS. The labels are a composite of two variables text-name: [NAME]+' '+[TYPE]; The rule above inserts a space between the two variables. How can I ...
0
votes
1answer
45 views

Edit legend Tilemill legend items

I am trying to edit my legend in tilemill to add a "Note". What I did was essentially copy the legend-source code to do this. However, I would like the line spacing in the "Note" section to be ...
1
vote
1answer
93 views

How to add title in TileMill/Mapbox map

I have successfully made a legend and teasers for a tilemill map. However, I don't know how to add a title and don't see a function for it. If I wanted to add a title, how would I do that? Thank you, ...
0
votes
0answers
82 views

Updating Mapbox map to newest API/getting markers to load

I'm new to the Mapbox API (and to Javascript in general), so please bear with me. I am trying to build an interactive map that automatically cycles through map markers as the user scrolls through ...
1
vote
1answer
125 views

How to install and use mbpipe

mbpipe is a simple utility to batch process images in an MBTiles database (sqlite) by piping them to an image processing program. But how does one install and use it? It says here that mbpipe comes ...