Questions tagged [mapbox]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
19 views

Creating azimuthal projection with weather data for Mapbox

I want to create an animated weather layers for my Mapbox map, like this: https://labs.mapbox.com/bites/00189/ My map is already in the azimuthal projection which fakes the coordinates to fit in ...
0
votes
1answer
12 views

Leaflet Sidebar: Show specific sidebar content after clicking a location

Similar question to this one but I don't have enough knowledge to apply it to my case. I have a Mapbox GL JS map (based on Leaflet) to which I added a Leaflet Sidebar V1. The sidebar content is made ...
0
votes
0answers
21 views

Best way to print vector tiles to high res TIFF/PNG from user-side? [closed]

We are currently researching for ways to give our users the possibility to print their own maps using our vector tiles (Mapbox GL JS) but not by using a simple screenshot function rather by ...
1
vote
0answers
16 views

Cluster Source with tiles

Is it possible create a cluster source with tiles? With geojson works perfectly but I would like to work with a tile source. map.on('load', function () { // add source map.addSource('...
1
vote
1answer
16 views

Cannot decode tile_data in mbtiles

I downloaded the sample mbtiles data from https://www.mapbox.com/help/data/trails.mbtiles In the metadata of this file I found that the format is pbf. But if I directly query the tile_data column ...
1
vote
1answer
68 views

How do I increase the font size of contents in Map in Leaflet.js?

I am using Leaflet JS for displaying my map. Following is my code. The map gets displayed. But the size of the city names are not large. Each time I zoom in, the font size is very less. It is not ...
1
vote
0answers
16 views

Mapbox Studio - How to slice a rail line shapefile tileset into different parts?

Mapbox newbie here. I am trying to build a railway map and when its security systems are expected to be completed. So I have added a rail line shapefile as a tileset to a Mapbpx Studio style. I want ...
0
votes
0answers
25 views

Is there any elevation profile plugin working in MVC5?

I have MVC5 project where I use Mapbox maps to display hiking trails (based on geojson file). Lately, I decided to add elevation profile of these trails to the bottom of the map. However, thats easier ...
0
votes
0answers
18 views

How to Run Mapbox genfontgl in Window System

As title. Because I am Eastern, the fonts for our characters may not being supported by Mapbox make this problem so hard to me. I've found a tool to transform TTF to glyphs called Mapbox genfontgl, ...
0
votes
1answer
20 views

Execute JavaScript code in popup for Mapbox?

I'm trying to embed tweets into the popups for a map I've made in Mapbox. The text of the tweets is displaying properly, but not the styling — the embed code contains a script tag to load a widget for ...
1
vote
0answers
17 views

Load a cluster layer using Mapbox

I have a Tile server developed in JavaScript using express. Here you can see the code. But I would like to know if its possible to load a cluster layer created using Mapbox and tiles to cluster layer....
1
vote
1answer
37 views

Are searchable maps limited to geocoding APIs like Google

My client wants a searchable map. I'd like to use Leaflet and Mapbox for the map, but is having an address-search feature limited to geocoding APIs like Google Maps or Mapquest?
1
vote
0answers
60 views

Leaflet circleMarker's not working - but marker works fine

Using Leaflet, I'm adding around 15,000 circleMarker's to a geoJson layer. The circleMarker's, however, are not showing on my map when the layer is added, despite specifying the relevant styling ...
0
votes
0answers
35 views

Mapbox GL JS Heatmap Label

I am working from this example on the Mapbox documentation page and I have managed to get points labeled onHover, but have not been able to get the actual heat map layer itself to display information ...
1
vote
2answers
58 views

Dynamical refresh of Mapbox layers after drawing edits

I fetch some GeoJSON from a DB, and add them to my map. After I use the mapbox-gl-draw library for editing. My problem is that, after editing a feature on the map I would like to directly change it (...
1
vote
1answer
24 views

Bringing GeoServer CSS styled layer to Mapbox

I have a CSS styled layer in GeoServer 2.16.1 with CSS Extension and trying to bring my layer to Mapbox. Unfortunately it comes only as simple lines. But if bring this layer to Mapbox it shows ...
0
votes
1answer
20 views

GZIP geojson files & Mapbox GL JS

Is there a way to serve mapbox GL gzipped geojson files? I have style.json file that pulls multiple geojson files and it is pretty heavy.
1
vote
2answers
62 views

Error trying to upload data using Mapbox API

I'm using the Mapbox API and I'm trying to upload my GeoJSON but I'm getting the following error: bounds west value must be between -360 and 360 My GeoJSON looks like this: {"type":"...
3
votes
0answers
34 views

Mapbox - Uploaded GeoTIFF file has no bounds

I'm trying to add GCP data to an old map and then upload it as a tileset to Mapbox. I've managed to add the data using Georeferencer and the output in qgis looks okay, but when I upload it as a ...
1
vote
1answer
28 views

Uploading MVT to MapBox result in error “Tile exceeds maximum size of 500k at z5…”

I have just recently started to use MapBox. I am trying to convert a huge GeoJSON file (1.28GB) into MVT for uploading into a MapBox. I am using ogr2ogr and this command-line: ogr2ogr -progress --...
1
vote
0answers
31 views

Adding Earth Engine Raster to Mapbox map [closed]

I have a bunch of data created in Google Earth Engine and I want to add some raster layers to a map created with Mapbox GL JS. One way I managed to do it is via the Mapbox Studio tileset upload. ...
0
votes
0answers
18 views

Incorporation the Ordnance Survey map to Sheetsee.js plugin for Leaflet/Mapbox

I am currently using this plugin: https://github.com/jlord/hack-spots which works really nice in conjunction with Google Sheets. My goal is to convert this site into my own purposes. One of the ...
0
votes
1answer
30 views

QGIS 2map plugin issue - no map tiles provided for QGIS 3x (3.8)

Following the example described here: https://www.qgistutorials.com/en/docs/web_mapping_with_qgis2web.html I am trying to do the same with QGIS 3.8. The process in QGIS is simple, after seeking the ...
0
votes
1answer
41 views

Adding collapsible legend box to Mapbox and features no longer click-able

So, first I started with this map: https://codepen.io/melissad34/pen/mNGjKR It works exactly the way I want it to work. Then I added a collapsible sidebar: https://codepen.io/melissad34/pen/LYYrLKN ...
1
vote
0answers
34 views

Mapbox Android basics: import com.mapbox.mapboxandroiddemo.R

I am trying to rebuild the example code of the Mapbox first steps tutorial for Android Studio (https://docs.mapbox.com/help/tutorials/first-steps-android-sdk/). But I am struggeling with an import ...
0
votes
0answers
36 views

How often are OSM data in Cesium updated with new OSM data?

When users make edits to OpenStreetMap(OSM), or OSM data gets updated by any other means, how long does it generally take for those edits to show up in Cesium Ion or Cesium Sandcastle? Is this on the ...
1
vote
1answer
49 views

Map Box Styles in QGIS

I just changed the mountain peak label from the outdoors style (mapbox). As the default there is just a mountain icon + the name of the mountain. I also wanted to label the elevation but when I import ...
6
votes
3answers
163 views

QGIS exports slightly inaccurate GeoJSON coordinates

I noticed in my map that when I export to GeoJSON, some smaller feature have their coordinates shifted. I have set the export COORDINATE_PRECISION to 99 (max), tried various coordinate systems but no ...
0
votes
1answer
25 views

Data Converting into Collection Tileset Instead of Type (Line) Tileset in Mapbox Studio

A recent issue I've encountered with Mapbox Studio is the apparent inability to upload a geojson as anything other than a collection tileset, instead of a point, line, or polygon tileset. For example, ...
1
vote
0answers
33 views

Inaccurate rendering of shapes in Mapbox

I am trying to create an overlay of the streets of the US. The map streets v8 provided by Mapbox is missing some information that I need. So, I downloaded the OSM files (from here) and filtered out ...
0
votes
1answer
13 views

Batch-create Mapbox tilesets

I'm trying to put together a command on tippecanoe that will batch-create tilesets that upload as individual layers. All of the layers are keyed to the same spatial boundary, which is in a geojson ...
0
votes
1answer
85 views

mapboxgl applying map.setFeatureState to a group of vector-tiles filtered features

Doing some tests, trying to let user click on a COUNTY and all counties belonging to STATE x get highlighted. You can see running here var map = new mapboxgl.Map({ container: 'map', ...
0
votes
1answer
54 views

Google / Mapbox static maps displaying custom image with certain bounds

I have a process which generates a simple Google Static Map (can also be a MapBox static image as the code is pretty much interchangeable). It's recycled code from a project I found years ago. The ...
1
vote
1answer
144 views

Mapbox use point result from Geocoding/Search to queryRenderedFeatures on polygon layer that intersects

I've been quite stumped on this and while I have seen it used in other online examples I can't find anything on stack or in the documentation. Right now, I am trying to use the search bar result (a ...
1
vote
1answer
77 views

Leaflet map GeoJSON placemarks with image slideshow

I am wondering how to create leaflet map where GeoJSON placemarks provide the image slideshow as per the example below: https://docs.mapbox.com/mapbox.js/example/v1.0.0/markers-with-image-slideshow/ ...
0
votes
1answer
78 views

How to manipulate mapbox symbol icons - MapboxGL.js

I have my own Mapbox style that I build in MapBox Studio. Now I want to allow my user to move poi_label symbols. How could I do that? I am following this example Create a draggable point and also I am ...
0
votes
1answer
24 views

Mapbox: Multilinestring Z, stand on the background

I added to Mapbox, a 3D not extruded object by geojson: a Linestring Z. But it's stand on the background. So: I'ts possible to put this object at the height that is defined?
1
vote
1answer
62 views

Adding GeoServer layer to Mapbox?

I've published some layers in GeoServer which I want to consume in Mapbox.I've tried several examples like: Add simple image layers to MapBox / Leaflet? Mapbox Vector Tiles from Geoserver 2.11 in ...
0
votes
0answers
95 views

Mapbox GL JS - mapbox-gl-directions plugin show the same driving directions on all maps

I am using the example at the link https://docs.mapbox.com/mapbox-gl-js/example/mapbox-gl-directions/ to show results from the Mapbox Directions API. The problem arises when creating two maps and ...
0
votes
1answer
33 views

Mapbox - referencing a layer added in Studio in GL JS

I know this is a pretty basic question, but I'm fairly new with JavaScript and Mapbox. I have a map that I created in Mapbox Studio. Now I'm using GL JS to create an interactive map for my website. I ...
0
votes
1answer
28 views

Assigning a polygon shape to density values

I am pretty new to GIS as a whole. I have a simple flat file in a csv format, as an example: lat,long,name,val 25,40,abc,10 50,44,def,20 What I am trying to achieve is to assign a 3d polygon in ...
1
vote
1answer
48 views

Can Mapbox legends / overlay boxes be displayed differently when viewed on mobile devices?

I created a webmap using Mapbox GL JS for my website. In a desktop browser, it looks exactly the way that I want it to look. When I load it on a mobile device, the information box and legend are too ...
2
votes
1answer
64 views

Creating a vector tileset from a vector GeoPDF

I have a georeferenced PDF published by the USFS. It appears to have been created using Esri ArcMap, and all of the labels and linework appears to be in vector format. Is there any way to convert ...
1
vote
1answer
70 views

Adding layer control to Mapbox.js map with data that is featureLayers, that shows only the first layer on load?

I have been tasked with finishing off an abandoned project in an area I have no expertise in. I have successfully loaded my 3 geoJSON files into a map, symbolized them and given them popups. What I ...
1
vote
0answers
20 views

Getting a single point from a Mapbox polygon layer

I want to render a polygon source in Mapbox as a symbol or a single point. I currently have the following code: map.addLayer({ 'id': 'polygon_layer', 'source': { 'type': '...
0
votes
0answers
51 views

Simplifying Mapbox vector tiles from GeoServer for beter performnce?

I use MapBox Vector tiles from GeoServer on my open source web site. How can I improve the performance of this service and how can I simplify the geometry of this service for performance? I know that ...
0
votes
1answer
75 views

Setting correct proj4 string/info using GDAL

I am going to try and be as clear as I can - because I don't exactly know what I am doing but I am trying my best. I am sure this is probably simple but I have tried for hours to figure this out. I am ...
1
vote
1answer
30 views

Determine If Polygon exists/intersects inside a BBOX

I have a polygon like so,(Lng, Lat) [ [-125.26367187500567, 56.580978332369256] [-125.39550781250242, 55.92182528855989] [-123.98925781250418, 56.2406121548556] [-124.51660156250529, 56....
0
votes
1answer
36 views

Displaying concatenated attributes in a pop-up in a Mapbox map

I have been tasked with finishing off an abandoned project in an area I have no expertise in. I need to add a series of GeoJSON files to a map, and when the symbol is clicked, show a pop-up that ...
2
votes
1answer
56 views

Unable to add a polyline between points of equal latitude using the Mapbox Static Images API?

Whenever I try to add a polyline between points of equal latitude, Mapbox responds with an error (example shown below). If I change the latitude of one of the points by 0.00001 degrees, then it works ...