Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mapbox]

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

0
votes
0answers
3 views

Map with clickable polygons to extract properties and fill a table column using HTML/CSS

I'm not experienced in coding... I created an interactive map from mapbox with a vector file from a tileset. In adition to that i added a slidebar in the left side of the map and inside of the ...
0
votes
0answers
5 views

Display a popup with the information arranged in tabs using Mapbox GL JS

I'm creating a map in the Mapbox and I need When you click a point on the map the information is displayed in a popup. So far I can already do following this tutorial: https://www.mapbox.com/help/...
4
votes
0answers
20 views

Fixing buildings that do not appear in 3D using Mapbox gl js?

I'm trying to adopt this Display buildings in 3D example, but I found out that in my city (Minsk, Belarus) some buildings look flat like this: The coordinates of this particular building are 27....
0
votes
1answer
41 views

How to get GeoJOSN Features using Mapbox?

I'm using Mapbox to create webmapping, I want to get GeoJSON Features. I tried map.queryRenderedFeatures but it returns array empty. there are my code: map.on('load', function(e) { map.addSource("...
0
votes
0answers
21 views

Merging two MapBox MBTiles files using javascript/typescript in Cordova?

I am using the MapBox-GL-JS API to render maps in a Cordova hybrid app that runs on Android and iOS. I have serving vector tiles locally from the phone working. In my use case, I would like users to ...
0
votes
1answer
20 views

Can't Add Mapbox hosted DigitalGlobe Basemap in QGIS 3.2

I'm having trouble viewing a Digital Globe base map in QGIS. I'm following Mapbox's instructions from their API https://mapsapidocs.digitalglobe.com/v2.0/docs/tiles (bottom section that describes ...
0
votes
0answers
21 views

Highlighting polygons of Mapbox tileset on hover?

I am trying to highlight polygons from a Mapbox tileset on a map on hover. Based on Mapbox's tutorial I am adding a feature state hover to the data that is set through mousemove and mouseleave events. ...
0
votes
1answer
18 views

Opacity Transition Mapbox Fade In

I am facing a problem using the 'fill-opacity-transition' in Mapbox GL JS. Maybe someone has an idea what the mistake could be? <!DOCTYPE html> <html> <head> <...
0
votes
1answer
50 views

How to query features of raster layers hosted on GeoServer that are added to Mapbox?

Currently working with Mapbox gl js. I know for OpenLayers there's a function called GetFeatureInfo to do this, but is there a similar one for Mapbox? What I want to do is whenever the user clicks on ...
0
votes
1answer
27 views

Can multiple MapBox vector tile mbtiles be merged just using SQLite?

Is it possible to combine two vector mbtiles files using just SQLite? I noticed this question Joining several raster .mbtiles? but it does not seem to work with vector files. I also came across ...
2
votes
1answer
21 views

How to generate a correct HTTP response for a pbf within AWS API Gateway?

I am attempting to implement this approach to serving vector tiles from PostGIS using a lambda function and an AWS API Gateway Method: https://www.sparkgeo.com/blog/vector-tile-server-using-postgis. ...
0
votes
0answers
29 views

Adding Mapbox WMS layer to QGIS

Just trying to add my Mapbox style to QGIS. Doing everything according manual https://www.mapbox.com/help/mapbox-arcgis-qgis/ This is a working link, you can check it https://api.mapbox.com/styles/...
1
vote
1answer
81 views

Implementing Access Token in Tile Server?

I am using Tileserver-GL for rendering vector tiles to web and mobile. For web, I am using Mapbox JS API GL and for Mobile, I am using Mapbox android SDK. Currently, I am using flat URL given by ...
0
votes
0answers
9 views

Loading polygon with pop-up box into Mapbox?

I'm having difficulty loading this piece of html code, which would load this polygon into mapbox (which works), but trying to get a pop-up box to give the name of the polyogn when the polygon is ...
1
vote
0answers
32 views

How to update circle-color or marker symbol on update of a source property in Mapbox GL?

I am trying to get Mapbox GL work in my React code as below: I have a property called strength in each of my features in a FeatureCollection of a mapbox-gl map. I want to display a circle (ideally a ...
0
votes
0answers
13 views

How can GeoServer transform a 'no RHR layer' into a RHR layer?

We are using GeoServer 2.11.2 and Mapbox. We have many layers that do not follow the rule of the right hand and we need to serve them to other application. The problem is that we have to show in a ...
1
vote
0answers
28 views

Extend / override Mapbox-gl 'baselayer' loadTile

Similar to how Leaflet's guide shows how to override L.TileLayer's getTileUrl method in place of your own (and L.GridLayer's createTile method), I want to know how to extend/override Mapbox-gl's ...
0
votes
1answer
33 views

What do the heatmap layer settings numbers in mapbox stands for?

I have layer settings of mapbox heatmap as follows from this official site: What do these numbers stand for (the first, the second, the third, the fourth number) and what are their limitations please?...
0
votes
1answer
100 views

Change Leaflet Map Layer/Terrain Style

I'm going to show KML file using Leaflet's plugins named Omnivore KML (https://www.mapbox.com/mapbox.js/example/v1.0.0/omnivore-kml/) I've read the tutorial, implement the source code, and it ...
0
votes
0answers
50 views

Mapbox multiple filters to layers

I'm new to Mapbox GL and want to understand how i would go about the following; I have 5 principle layers (from the same source, all vector tiles from Geoserver) which will only be drawn in ...
0
votes
1answer
27 views

Dynamic grid subset bounds

I have two instances of Geoserver running. One on a local machine (version 2.14.0) on Oracle 1.8.0_161. The other on a server (2.13.2) with Oracle 1.8.0_181. On the server version when I look at ...
0
votes
1answer
63 views

Set border width and color in Mapbox GL

I'm working on an application based on Mapbox GL, I need to give to the user the opportunity to set the width and the color of the borders of polygons but I can't find the right GeoJSON proprieties to ...
1
vote
0answers
58 views

Mapbox GL Expression to filter array in property

I have GeoJSON Feature properties that look like this: { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "id": "someID", "...
0
votes
1answer
63 views

Can't display vector layer using L.vectorGrid.protobuf

I use mapbox/tippecanoe to create .pbf tiles. But when I try to display them using L.vectorGrid.protobuf nothing is rendered, although I see that proper .pbf files are requested and downloaded by ...
0
votes
1answer
62 views

Mapbox.js (or GL) with OpenLayers

Our initial need is to have a GIS tool that overlays images on a map which is not facing north. In our research we have seen that only Mapbox and OpenLayers support this. Along with that we want ...
0
votes
0answers
22 views

Extract geometry from TileJSON map

I would like to get to know where the pipeline data of http://mapa.cartocritica.mx/ is hidden. The map is using Leaflet and json tiles from GIS Cloud like http://tiles.giscloud.com/t/1524762449/...
1
vote
2answers
59 views

Seeking world map (epsg 3857) tile boundaries in shapefile?

I am working on manipulating data and I need a shapefile of world map tile in each zoom level. It could be better if it is in polygon but line is also fine. I tried to find the file using as many ...
1
vote
0answers
46 views

Remove map layer when animation restarts Mapbox gl

I am having issues in 'clearing' the map from lines when the user clicks on an element. The idea is to switch between different city-animations on click. For each city, a new geojson is called. The ...
0
votes
1answer
103 views

Mapbox WMTS layer in QGIS poor print quality

I've added a Mapbox WMTS layer to my QGIS project. However when I use the print composer and export my map the result is blurry / not sharp. The image in the print composer itself is sharp, it is ...
0
votes
1answer
173 views

OpenLayers 5 Vector Tiles Styling and ESPG:4326 projection issues

I have a OL5 map using a projection of EPSG:4326. I am adding a Vector Tile layer with a projection of ESPG:4326. I am using Open Layers Mapbox Style (https://github.com/boundlessgeo/ol-mapbox-style) ...
0
votes
0answers
47 views

Data-driven cluster colour with mapboxgl

I am trying to draw circle which colour depends on a "group" attribute in my geojson. I followed a simple example with these colours: map.addSource("data", { type: "geojson", data: url, ...
0
votes
1answer
85 views

Mapbox GL JS Toggle Layers default to “off”

Using Mapbox's 'Toggle Layer' example, how would I load the map with the "contours" and "museums" layers turned off? I want the layers to be turned "off" by default and have the user turn "on" the ...
1
vote
0answers
131 views

Getting started generating vector tiles

I am working on an app that displays a nice map. Currently, we use raster tiles, but we'd like to switch to vector tiles. We want the freedom to add all the information we want, so we want to create ...
0
votes
0answers
132 views

Adding layers programmatically to Mapbox, (via Python or Swift SDK)

I have been uploading various .GeoJSON files (--> tilesets) on to Mapbox via the Python SDK, which can be easily displayed on the map by going into Mapbox Studio and adding layers with a given file as ...
0
votes
1answer
76 views

Black box around raster layer retreieved from Mapbox in ArcGIS online

I manage a mapping system for the Pine Ridge Reservation in South Dakota and am trying to retrieve a raster layer but I keep getting this expanding black background/box. When I open the mbtiles file ...
0
votes
1answer
83 views

Mapbox GL JS - toggling 2 layers

I'm using Mapbox's Show and Hide Layer example where the user can toggle on/off layers, but seem to be running into an issue I can't pinpoint. What I did In Mapbox's example, I replace the first ...
0
votes
0answers
81 views

Combining python and JS (mapbox) for interactive rendering

I plan on visualising a huge dataset (probably around 20-30GB of data) using Mapbox in order to have a very nice map visualization. However I would like this visualization to be interactive and I am ...
0
votes
0answers
178 views

Mapbox with python: show a 3D globe

I wanted to know whether it was possible to get a 3D globe view with Mapbox when using python. I've seen that Folium does just that, and wanted to achieve the same thing with Mapbox since Mapbox would ...
1
vote
1answer
95 views

How do I get current map rotation value in MapBox?

I have custom drawn icons that I am rendering on top of a MapBox instance at angles that correspond to their direction of travel, but things start to look at little weird when you right-click and ...
1
vote
1answer
151 views

How to get vector tiles to self-host

The question Self-hosting Mapbox vector tiles pointed to the ability to self-host MBTiles formatted tiles (an open specification, the MB is not related to Mapbox I don't think). The answers to the ...
0
votes
1answer
84 views

WMTS Error when adding Mapbox Layer to QGIS: Failed to download capabilities?

I've tried this a few different ways and can't quite get it to work using QGIS's add WMTS layer tool. The URL loads fine in a browser but won't download as a tile in QGIS. I don't have that good an ...
5
votes
1answer
615 views

Creating Vector MBTiles?

I am searching for a tool to generate vector-tiles that I can then display using the Mapbox Map-View. We currently have a postgres database with all of our data. What is the best tool to generate ...
1
vote
0answers
92 views

MapBox GL JS - Markers or Layers

Ok. I've a server which send me a geojson data, according to the specifications. I'm using mapbox gl js, and not sure what type of method to choose: 1) creating a layer with geojson properties of ...
0
votes
0answers
85 views

Mix raster and vector tiles with tileserver-gl

I am quite new to vector tiles. Up until now my app only used our own self made raster tiles. Now we'd like to have vector tiles as well, but still keep our high quality hill shading as vector. We'd ...
1
vote
1answer
70 views

Combining popup info from overlapping polygons in Mapbox Studio?

I'm trying to display popup information from overlapping polygons similar to this question, but instead of a click, I'm using the mouse over to identify my popup. In areas that have overlapping ...
1
vote
0answers
62 views

Looped query rendered feature function for a set of intersect points upon a GeoJSON building layer in Mapbox GL JS

I'm currently using mapbox gl to visualise and analyse a GeoJSON layer of buildings. My current aim is to develop a function that will use the mapbox draw functionality to draw a line (using the ...
0
votes
1answer
108 views

Getting width of road segment given its end points using Leaflet?

I want to highlight a road segment on a Leaflet Map. I have the coordinates of the end point of the road segment, so could plot it as a linestring. But the problem is how can I get the width of the ...
0
votes
1answer
443 views

Is Leaflet Framework free?

Is Leaflet 100% free? if you go to doc example , you will see : var mymap = L.map('mapid').setView([51.505, -0.09], 13); L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?...
0
votes
0answers
77 views

Mapbox minimum zoom extent

I uploaded a custom shapefile (converted to geoJSON) using the mapbox python SDK and visualize it in a Jupyter Notebook using the MapboxGL python module. After I successfully upload the GeoJSON file ...
0
votes
0answers
87 views

Consume ArcGIS REST API in MapBox's React Native Library

I’m currently working on a weather app built in React Native. In the process, I’ve come to learn a lot about mapping technologies and GIS in general. My immediate goal is to display radar imagery in ...