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
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]"; $...
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
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 ...
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 ...
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 ...
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 ...
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 ...
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
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
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 ...
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
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 ...
1
vote
1answer
48 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 ...
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 ...
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 ...
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 ...
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
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
30 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
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 ...
1
vote
2answers
52 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 ...
1
vote
0answers
19 views

How to add large file (in GB) in Xcode project?

I am working with Mapbox Framework. I have generated MBTiles file which I want to use in my project (for iPhones and iPads) but that file is having size of 3GB (which I can't use in project). When I ...
1
vote
1answer
30 views

Publishing Mapbox styles using V2.1 and above

I am trying to integrate mapbox maps/styles in HTML code. I succeeded in doing so using: <script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.14.1/mapbox-gl.js'></script> <link ...
1
vote
1answer
47 views

Mapbox free billing period

I am trying to use mapbox instead of leaflet to allow client to modify in the map if needed because I found in mapbox studio a friendly interface for modifying the map . Is the free period in mapbox ...
3
votes
1answer
50 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
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 ...
1
vote
1answer
71 views

Clustering markers using quadtree

I have a POSTGIS database with geography points and i want to cluster the points using quad-tree . I have a map where i have to display the markers clustered or non clustered depending on the zoom ...
0
votes
1answer
92 views

I want to make an interactive map where the end user can filter the data

I've been looking at services like CartoDB and Mapbox for making and hosting some interactive maps. However, it doesn't seem like they provide the option for the end user to filter through the data ...
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 ...
0
votes
1answer
87 views

Using Mapbox with GeoServer or similar?

I am doing some research and trying to understand how Mapbox compares to GeoServer (or any GIS server software), and whether or not they are used together or if using one precludes using the other. ...
0
votes
0answers
18 views

CartoCSS: labels below road when road east-west

In styling major road text labels along paths, I am attempting to force the labels beneath the road path, especially for roads with east-west direction (i.e., horizontal). My application of text-dy ...
3
votes
1answer
66 views

Mapbox SDK: Is it free if you host your own vector tiles?

I wish to use Mapbox SDK for iOS and Android apps (mapbox-gl) for rendering of maps that I host myself (that conform to https://github.com/mapbox/vector-tile-spec). I went through their pricing and it ...
2
votes
1answer
39 views

Define a legend for a MapBox Studio Project

Given that it is possible to request the TileJSON for a MapBox project at https://api.mapbox.com/v4/{mapId}.json?access_token={token}, I was wondering if it was possible to define a legend for MapBox ...
0
votes
1answer
37 views

Trouble getting leaflet-label plugin to work on geojson file

I cannot figure out how to get labels on my featureLayers to show in my LeafLet map for a mapbox featureLayer using the leaflet-label plugin. I thought all i needed to do was add .bindLabel('Look ...
1
vote
1answer
155 views

highlight feature with click in mapbox gl

I have a geojson layer of streets that are highlighted when moused-over. My objective is now to highlight individual streets red with a click event. Only one street should be able to be ...
1
vote
1answer
32 views

How do you create a rainbow polygon hover effect in Mapbox?

We're working on a fun website called VicePrice. It's a happy hour website using GIS instead of a list directory to show happy hour info. We've run into a snag and perhaps someone could give us their ...
1
vote
0answers
33 views

How to index mbtiles to speed up load time?

I have created a mbtile based on OpenStreetMap data with Maperitive using the command: generate-mbtiles file=Path\filename.mbtiles maxzoom=16 Loading the file in QGIS 2.14.0 and zooming takes 15-30 ...
0
votes
1answer
35 views

Override Mapbox Studio minzoom

I've styled some census tract tilesets and set filters in Mapbox Studio, where everything looks fantastic, but I want the tracts to appear shaded irrespective of the zoom level, and Studio won't let ...
0
votes
1answer
117 views

How can I embed my Mapbox map into my wordpress webpage?

I want to embed a mapbox map into my wordpress webpage. I did the map with tilemill and saved into mapbox but I don't know how I would embed the map in wordpress. thankss
0
votes
1answer
93 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 ...
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
0answers
111 views

Highlighting polyline features in mapbox-gl.js

I am trying to use the following code to highlight features under the mouse pointer. The difference between my geojson data and the geojson data used in the linked example is that the example is ...
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
1answer
25 views

Show one label per shape in CartoCSS

I'm working in Mapbox Studio (Classic) and want to prevent labels from rendering more than once. I'm using text-repeat-distance to prevent labels from showing more than once: #Admin_level3_Boundary {...
1
vote
1answer
37 views

What's the meaning of marker-fill-opacity: 0.1*[value]?

I'm using heatmaps in CartoDB and I would like to modify CartoCSS to reflect the value of a column. I have noticed this line in CartoCSS: marker-fill-opacity: 0.1*[value]; I don't understand ...
2
votes
1answer
71 views

L.esri.query - where is it?

I have a website that is displaying a MapBox map, using Leaflet. One of the layers is generated from an Esri ArcGIS Rest interface, using Esri's Leaflet plugin: https://esri.github.io/esri-leaflet/ ...