Stack Exchange Network

Stack Exchange network consists of 175 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
6 views

How to give Marker onclick event [on hold]

I am creating an android app with mapbox custom layers.there are points in the map for which i need to give onclick event.how to do this? and also how to get the data from the style?
0
votes
0answers
16 views

GeoServer Mapbox Vector Tile

I have a spring boot application which is making request to GeoServer to get a layer as a vector tile instead of the front end application making the request directly. The problem is I am not getting ...
0
votes
1answer
9 views

Mapbox API - Regenerate a Tileset after it's related Dataset has been udated

I'm using Mapbox's API to update the features on a dataset. However, I'm not seeing the changes automatically appear in the tileset that's been generated from it afterwards. Is there an extra step ...
0
votes
0answers
6 views

Bringing GeoServer data into Mapbox in Android

I have some point locations and polygons published in GeoServer. I am creating an Android Application to display those data using Mapbox. Is there a way I can do that? (I am completely new to this.)
-4
votes
0answers
18 views

Mapbox GL JS - 3D Buildings - display one building in 3D [closed]

So I don't know much about JSON and programming but I´ve spent some time styling my custom map at Mapbox Studio and now I'm trying to display only some buildings in my city for people to orient... ...
0
votes
0answers
8 views

Mapbox GL - change all marker symbols based on zoom

I am adding markers from a GeoJSON one by one. myGeoJSON.features.forEach(function(marker) { var elem = document.createElement('div'); var text = var text = document.createTextNode(marker....
0
votes
0answers
19 views

MapBox SDK load local MBTiles

does anyone know how I can load local MBTiles from the device storage using the MapBox SDK? The vector Tiles come from this Website: https://openmaptiles.com/downloads/planet/ The same page offers ...
0
votes
1answer
25 views

Put custom XYZ tile in Mapbox

How to put custom tiles xyz raster files example : http://blablabla.bla/{z}/{x}/{y}.png I tried to insert it using : map.addSource('bla.tile',{ 'type': 'raster', 'tiles': ['http://...
0
votes
0answers
29 views

How to create a map-based survey with drag-drop capability?

I am an urban planning master student. I need to create a map-based survey for my research. The survey should allow users to drag some different points from the toolbar to the map showing next to it. ...
0
votes
1answer
25 views

Supplement Mapbox geocoder results with external geocoder API

I am still learning JS so please bear with me. I have built a Mapbox GL JS map and would like to supplement Mapbox geocoding results with those from an external geocoding API as many POIs I need are ...
0
votes
0answers
36 views

Decrease the volume of vector tiles generated by GeoServer

I've used GeoServer vector tile extension to produce PBF files from set of shape files. The problem is the generated MVTs from GeoServer have larger volume in comparison with Mapbox ones. How can I ...
0
votes
0answers
21 views

Mapbox drawing with snap to grid

I'm using Mapbox for a web project and would like to have a drawing tool for closed polygons where the drawn line is always snapped to a grid. Specifically, I'm using a 100m global grid (MGRS) and ...
0
votes
0answers
30 views

How do I get a polyline Displayed in Mapbox Visual for Power BI?

All of the Mapbox Examples involve point layers where you add a csv and drop lat/lngs into power bi. I have also tried creating a custom map in studio and adding and styling my polyline. However ...
0
votes
0answers
63 views

Adding select option menu to Mapbox map and filtering data source?

I'm attempting to add a drop down select menu for # of bedrooms to a mapbox map. The data source that I'm attempting to filter on is a geojson data file. I setup window onchange event listener ...
0
votes
0answers
31 views

How to pass local storage item (address) from one page to another page with a Mapbox map on it?

I have a simple text submit field on one page. The goal is to have users type in a location and hit submit then go to a landing page with a Mapbox map and have it center or zoom to that location. Here'...
1
vote
1answer
54 views

Does the PostGIS ST_AsMVTGeom function perform geometry simplification on the fly?

PostGIS now comes with a set of functions that allow to generate Mapbox Vector Tiles. Among them, the ST_AsMVTGeom allows to transform a geometry into the coordinate space of a tile (typically ...
1
vote
0answers
32 views

Does Ionic Offer Mapbox Navigation?

Is Mapbox Navigation compatible with Ionic? I can only find SDK for both Android & iOs but nothing on cross platform technologies. https://www.mapbox.com/navigation-sdk/
0
votes
0answers
26 views

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

I created an interactive map from Mapbox with a vector file from a tileset. In addition to that I added a slidebar in the left side of the map and inside of the slidebar a table. With a popup when I ...
0
votes
0answers
20 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
52 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
62 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
40 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
32 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
33 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
70 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
77 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
87 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
41 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
54 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/...
2
votes
1answer
138 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
19 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
88 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
17 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
57 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
45 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
187 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 ...
1
vote
0answers
118 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
39 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
234 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 ...
2
votes
0answers
180 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
131 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
138 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 ...
1
vote
2answers
103 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
59 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
166 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
301 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
59 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
122 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
191 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
160 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 ...