Questions tagged [mapbox]

Mapbox is a location data platform for mobile and web applications. They provide building blocks to add location-based features such as maps, search, and navigation into any experience you create.

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

Mapbox SDK 10 java, add markers from geojson to existing layer

Most of the samples in SDK 10 lead to Kotlin, unfortunately there are no samples in Java. I'm trying to add markers from a local geojson file to an existing style. This is what the beginning of my ...
kregtopoli's user avatar
-1 votes
0 answers
7 views

Issues with adding Features to Scrollytelling map [closed]

I am having issues adding features to Mapbox, such as pictures, dotted lines, and paragraph features. Some text doesn't show up when I add it either. Below is some text of the subtitles that do not ...
Chase Louden's user avatar
-1 votes
0 answers
12 views

Aligning Coordinates Between Mapbox and Google Maps in Web Mercator Projection

Hello Stack Overflow Community, I am working with geographical data and have encountered a discrepancy between Mapbox and Google Maps. Both services use the Web Mercator projection by default, but I'...
Mostafa AlDilati's user avatar
-1 votes
0 answers
10 views

How to disable continous tile requests when zooming in and out in Mapbox

If you consider this multilayer tileset example: https://docs.mapbox.com/mapbox-tiling-service/examples/bathymetry/ and zoom in or out multiple zoom levels quickly, the map continues to load tiles for ...
Fredrik Moger's user avatar
-1 votes
0 answers
22 views

React Native rnmapbox MarkerView clustering (cluster marker on react native mapbox map)

React Native Mapbox Map Clustering I am programming a map with rnmapbox in react native. The below image shows my markers set on the map via MarkerView Class from rnmapbox. I'd like to cluster the ...
Maarsls's user avatar
-1 votes
0 answers
34 views

Mapbox with .net MAUI application

How can i use mapbox with .net MAUI application? I have downloaded some jar files related to mapbox and tried to create .net dll from that using Android Java binding library. Unfortunately its not ...
tech_guy's user avatar
-1 votes
0 answers
21 views

Location Detection Issue in Flutter App Using Maps [closed]

I am developing a Flutter application that integrates with WooCommerce through Mapbox maps. On the payment completion page, I have included a map with a "Locate" button. The problem is that ...
zinab lamiri's user avatar
0 votes
1 answer
26 views

Is there any way to hide the mapbox access token when initializing the map?

I'm using the mapbox API to display an interactive map. I made a kind of proxy to make the API requests outside the client side, to hide my access token. But when initializing the map (on the client ...
gabrioviski's user avatar
-1 votes
1 answer
12 views

How to make Mapbox draw a connecting line between successive points in a Point layer

I have a dataset which consists of individual point coordinates for various objects. I would like to display the coordinates as points on a map layer. I also want a line to be displayed between each ...
Eyles IT's user avatar
-1 votes
0 answers
22 views

Packages for drawing onto mapbox_maps_flutter map

I'm implementing some mapping bits into our app using the mapbox_maps_flutter package. We choose this due to the low cost and the superior satellite imagery compared to other competitors. But, now i ...
Will's user avatar
  • 1
0 votes
0 answers
16 views

Map navigation (drag) with mapbox static tiles, d3js and topojson

I would like to create a simple map using Canvas. I have a TopoJson file with the geo object that needs to be displayed. I use D3js to work with the geo-coordinates. Behind the object, I would like to ...
Anubis's user avatar
  • 2,494
0 votes
1 answer
58 views

How to go to current location by pressing a button?

I'm making a mobile application (flutter) and have already added a mapbox map and displayed the current location on the map. How to add a button that, when clicked, will take you to the current ...
Axel4Web's user avatar
-1 votes
0 answers
21 views

Is there a way to export 3d building models from mapbox?

I cant find a site that shows how to export 3d data from mapbox studio I can export from 2d easily, but i need the 3d model buildings. Is it possible? to work on sketchup or another 3d modelling ...
Diegoalday's user avatar
0 votes
0 answers
77 views

One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified while using the android mapbox navigation in Android 14

In Android 14 i am facing this issue One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts the block of code ...
Anil Dhiman's user avatar
  • 1,099
-1 votes
0 answers
19 views

Draw single polyline on a single route

I've been using the Mapbox package mapbox_map_flutter for my Flutter app (you can find it here: https://pub.dev/packages/mapbox_maps_flutter). Is there a way to draw just one line on a single route? I ...
Indrajeet Singh's user avatar
0 votes
0 answers
27 views

Displaying interlined transit routes on Mapbox or another map SDK?

I am working on a project where I need to show transit routes for any given city. I am using the Mapbox GL library to render the maps, although I am not married to it. Using the Transitland tiles API, ...
Alex Wohlbruck's user avatar
-1 votes
0 answers
17 views

Geojson path finder flutter

im a flutter developer, right now I use (https://github.com/mapbox/mapbox-maps-flutter) package in show a map. I use geojson to show circles on the map. But what can I do to show the shortest path ...
AndreCoelhoo's user avatar
0 votes
0 answers
24 views

Mapbox points show on the map when they are a circle, and not when they are a symbol

I have a map layer and when it's styled as a symbol not all points are shown. But when it's styled as a circle, all points show. Some points show, just not all of them. When I hide all other map ...
Jason Kinnear's user avatar
0 votes
1 answer
40 views

Mapbox - flyTo click reloads webpage

I used this Mapbox tutorial to build a map. When I load the map I created in CodePen, it works as expected. When you click a listing from the left menu, it zooms to the location. However, when I put ...
Melissa's user avatar
  • 43
0 votes
1 answer
29 views

GeoJSON Objects Not Appearing on Mapbox Map in React App

I am working on a React.js application where I need to display GeoJSON objects on a Mapbox map. The map initializes correctly, but the GeoJSON objects do not appear. Here is the relevant part of my ...
stefj's user avatar
  • 3
-1 votes
0 answers
11 views

Python code for finding most probable path using electronic horizon?

We have an SDK named Mapbox Navigation SDK. This SDK has a feature called Mapbox Electronic Horizon which determines the most likely path a user may take and provides a most probable path (MPP). How ...
Mangesh Shinde's user avatar
-1 votes
0 answers
18 views

Display a 3D path

I am currently using Mapbox for drone path planning and am interested in visualizing a 3D path on one of my maps. We have an existing map, similar to the image I've attached below, and a planning ...
Santosh Passoubady's user avatar
-1 votes
0 answers
10 views

Mapbox elevation api obtains poor altitude accuracy

I use elevation API to obtain altitude data, and zoom with the same latitude and longitude will obtain different altitude values. The larger the zoom, the more accurate the calculated altitude value ...
Eddie_Sun's user avatar
1 vote
0 answers
38 views

put mapbox-gl in a worker and read with readpixels() to encode in the main thread

This is the first time I've asked a question on Stackoverflow and it's because I really got stuck. I have an animation in mapbox, which runs on the same thread as the h264-mp4-encoder video encoder. ...
palomino's user avatar
0 votes
0 answers
20 views

All custom images will not display on PointAnnotations - React Native Mapbox - @rnmapbox/maps

Tried every possible solution found online, but I am still getting the same issue, it loads up only 1 image out of the 4 images I am trying to display. I also tried to add a setTimeOut <> {...
vincent O's user avatar
  • 518
0 votes
0 answers
17 views

I'm using Puppeteer to run Mapbox in Chrome on a Heroku server and I'm running into massive slowdowns. What could be causing this?

If I use a sufficiently small canvas, everything works fine, but I need to use a large (1000x1000 pixel) canvas. Just instantiating the Mapbox object takes about 10 seconds to run. When I start trying ...
Keith Carter's user avatar
0 votes
0 answers
21 views

Mapbox gl js - How to add multiple layers to Map.on Event listener

I am trying to add multiple layers at once to an event listener. I am creating popups with information to be displayed upon the user's click. Right now I have working code, loading layer1, then ...
Grant's user avatar
  • 1
0 votes
0 answers
26 views

How to highlight points on MapBox api

I am a new software developer. I am doing a demo project for work. We are working with Spring Boot and Thymeleaf. At the moment I have a program that will generate a map with a route. The route has a ...
Conor Lynam's user avatar
-1 votes
1 answer
38 views

How to make multiple circles intersect smoother when I am drawing with canvas

I want to achieve an effect similar to the one shown in the following image, which is a screenshot of my previous use of Zenly. I infer that the effect of intersecting circles should be optimized? ...
Kenny's user avatar
  • 7
0 votes
0 answers
20 views

Remove individual features from OSM in mapbox

I would like to use Mapbox GL JS (with 3D Buildings) for a new real estate project and place the 3D model of the building on the map (like https://docs.mapbox.com/mapbox-gl-js/example/add-3d-model-...
dagrega's user avatar
  • 171
0 votes
0 answers
17 views

Dynamically adding annotations are not rendering in iOS

Strange that the Mapbox SDK for ios makes the updating of annotations at runtime straight-forward, but the new annotations aren't rendering for me when running in xcode. Any thoughts what the issue ...
CoreyGlory's user avatar
0 votes
0 answers
48 views

Building an expression dynamically using Mapbox Maps iOS SDK v10?

I'm using the Mapbox Maps iOS SDK v10 in an app and I have a layer that renders circles on the map which represent the location of various features. Each feature has several properties including a ...
bmt22033's user avatar
  • 6,960
0 votes
0 answers
34 views

MapView in mapbox-navigation-android returns null

I'm working with mapbox-navigation-android and facing an issue where my MapView reference is always null. I've initialized MapboxNavigationApp as per the documentation but can't seem to access the ...
Jules Jayet's user avatar
0 votes
0 answers
28 views

Mapbox with collapsible sidebar

I have followed earlier post on stack and created mapbox page with a sidebar. The example I followed is on this url: Adding collapsible sidebar to mapbox map I need to move the sidebar to the right of ...
user10323's user avatar
2 votes
2 answers
94 views

Update Mapbox Studio defined features' properties from iOS SDK?

I have created a custom map style on Mapbox Studio and uploaded a GeoJSON with several multipolygon features, the file looks like this: { "type": "FeatureCollection", "...
Fez Vrasta's user avatar
  • 14.1k
0 votes
1 answer
31 views

How can I retrieve the features a given coordinate point sits in?

I'm rendering a set of MultiPolygon features from a GeoJSON file uploaded to Mapbox Studio to my custom map style. I would like to know if the user is currently located within one of those features ...
Fez Vrasta's user avatar
  • 14.1k
1 vote
0 answers
20 views

MapBox not updating when dynamically adding markers

MapBox GL Map is not updating when the markers are rendered dynamically The Code in Next.js: "use client"; import cx from "classnames"; import Image from "next/image"; ...
Don Ron's user avatar
  • 11
0 votes
0 answers
30 views

Applying the custom made Mapbox map to deck.gl

I made a map customized by Mapbox and trying to apply it to my deck.GL code. However, it does not work. Here is my current code.I published my map and used default public access token of Mapbox. So ...
dayoshi's user avatar
0 votes
0 answers
8 views

Define transition property of clusters and cnclustered points in mapbox gl js

I'm using mapbox gl js to display markers on my map and the cluster function to cluster them as soon as the user zooms out. I render the markers like that: // Create a layer for the clusters map....
Mista K.'s user avatar
  • 125
1 vote
1 answer
69 views

Openlayers XYZ not supporting different tileSizes for the same map instance, 512 and 256

Using OpenLayers ^7.4.0 Trying to get tiles from 2 different providers one gives 256 tileSize images and the other 512 After zoom level 18 or user event, i shift my provider Using new XYZ to create ...
JalajYadav_Avesta's user avatar
0 votes
0 answers
31 views

Smooth transition with filter Mapbox (setPaintProperty)

I'm trying to understand how the filters (expressions) in the setPaintProperty, setLayoutProperty and even setFilter methods work, as I'm noticing some peculiar behavior with transitions. It seems ...
Cladjidane's user avatar
1 vote
1 answer
119 views

How to use Mapbox Map in .NET MAUI Mobile App?

How to use Mapbox Map service in .NET MAUI app? We need to use the route api services...Is there any service package available ? I tried Mapbox.Maui(Version 10.11.1.1) NuGet package. But it not ...
Abhi's user avatar
  • 29
0 votes
0 answers
32 views

Mapbox-gl-js `getClusterLeaves` returns features in its callback that cannot be passed to `setFeatureState`

What I am trying to achieve is to set the state of cluster leaves upon clicking on the cluster. When clicking on the cluster, I am getting its leaves with the code below. map.getClusterLeaves(...
Maestro Dever's user avatar
0 votes
0 answers
44 views

While using Flutter, how do I resolve "Building for 'iOS-simulator', but linking in dylib built for 'iOS'"?

I have a flutter project that works as expected when running on a real iPhone / Android / Android simulator. I am getting this error in my flutter project when running the iOS simulator: "...
Trev347's user avatar
  • 316
0 votes
1 answer
22 views

remove certain words in field within the mapbox gl expression by zoom level

My data is looking like this name Atlanta City Paris City London City ... I want to get rid of the 'City' and not showing on my maps from Zlv 0-10, so only the city name itself shows on maps and ...
Pil Kwon's user avatar
  • 163
0 votes
0 answers
14 views

`react-map-gl` - Rendering thousands of poylgon on map using Source and Layer components

I have an API endpoint that returns around 10,000 Polygons each polygon is a Feature. I need to display all those polygons in a Map. If I tweak the API to return all these polygons as a ...
Shreyas Chorge's user avatar
0 votes
0 answers
33 views

How to create filter on layer with dynamic properties

From a source in geojson (points features only), I want to create a filter with dynamic properties, with AND and OR conditions. My code : let filter = ['any']; currentLayerFilters.forEach(function (...
Augustin's user avatar
0 votes
0 answers
29 views

How can we add clickable tooltip when using syncfusion_flutter_maps package?

I am using package syncfusion_flutter_maps in flutter version 3.13. When i click on tooltip it close the tooltip. What I need is when i click on tooltip I can perform navigation or other VoidCallBack ...
malik_hammad's user avatar
0 votes
1 answer
25 views

How do I use lineSortKey in Mapbox iOS SDK?

I can't find any examples of how to use lineSortKey, and testing with constants seems to indicate it's not working the way I assume. Where can I find more info on how to use this? Or can someone ...
teradyl's user avatar
  • 2,634
0 votes
1 answer
17 views

How can I use the LayerPosition.at() method effectively in Mapbox iOS SDK?

Mapbox iOS SDK has a method .at() defined simply as /// Layer should be positioned at the specified index in the layers stack. case at(Int) This seems like an easy use case, but Mapbox seems to have ...
teradyl's user avatar
  • 2,634

1
2 3 4 5
131