13 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-1
votes
1
answer
69
views
Is there a way in mapbox expression to check if attribute values are empty or blank space?
I am trying to check if the field values are null or empty(blank space). Is there a way to trim the field values and check if those are empty string or not?
'icon-image': [
'case',
['==', [...
1
vote
0
answers
47
views
Issue encountered while using the @watergis/mapbox-gl-export library (version 1.2.7) to generate a PDF from the map
1] My project is based on TypeScript, and I am using the @watergis/mapbox-gl-export library (version 1.2.7) to download maps.
2] When I click the "Generate" button to download the map, an ...
1
vote
0
answers
102
views
Getting blank pdf after downloading with @react-pdf/renderer library
I have use @react-pdf/renderer library to download map in pdf.
import html2canvas from "html2canvas";
import {
PDFDownloadLink,
Page,
Text,
View,
Document,
Image,
} ...
1
vote
0
answers
152
views
How to get custom map screenshot with markers
I am looking to get the screenshot of the map of a specific region with markers shown(if its present in region).
I used code from https://github.com/visgl/react-map-gl/issues/726#issuecomment-...
1
vote
0
answers
57
views
Marker not showing in react-mapbox-gl
I am trying to integrate the react-mapbox-gl but the markers are not showing. This is my codesandBox link https://codesandbox.io/s/gracious-golick-8rrr4y?file=/src/App.js. I just removed my access ...
1
vote
1
answer
410
views
Map marker is not rendering using Mapbox GL JS
I am trying to render markers using Mapbox GL JS in a React / Next application. The map is rendering, but the markers are not. Here is my code:
import { useEffect, useRef } from "react";
...
0
votes
1
answer
864
views
Is there a way to avoid overlapping of markers and labels in react mapbox-gl?
How to avoid marker and label overlapping in mapbox gl using react?
Am trying to avoid the overlap of labels when the labels are very close to each other in both zoom-in and zoom-out conditions.
Is ...
0
votes
0
answers
907
views
Adjusting Icon Size in Mapbox Based on Zoom Level and Pitch
I am a beginner with Mapbox. While the size of objects such as buildings on the map is changed by the zoom level and pitch, the regular icons do not change their size, making them difficult to see ...
1
vote
0
answers
815
views
How to create two layered MbTiles for large featured files using Tippecanoe?
My requirement is to process 3+ millions of geojson data(Polygon feature) and visualize it on Map in a way that it should show Polygons on the highest zoom level(individual entity) and clusters(in ...
2
votes
1
answer
1k
views
Is there a draw event for a single click of a feature in mapbox-gl-draw?
I'm playing around with react-map-gl and mapbox-gl-draw to draw polygons on to my map
I'm wondering if there is a better way to get the details of a selected feature on click, rather than using the ...
3
votes
0
answers
1k
views
react-map-gl circle 10KM radius
According to the documentation this is how you add a point to React-Map-GL however I am needing to make the radius KM based not pixel based.
I am wondering how this could be done?
import * as React ...
5
votes
2
answers
9k
views
How to solve that A valid Mapbox access token is required to use Mapbox GL JS?
Here is my code and the result is none.
import React, {Component} from 'react';
import ReactMapBox from 'react-map-gl';
import 'mapbox-gl/dist/mapbox-gl.css';
class MapExample1 extends Component {
...
2
votes
1
answer
709
views
React-mapbox-gl: Unable to hook into Mapbox API for adding 3D terrain to a map
I am using react-mapbox-gl in my next application, according to the documentation:
onStyleLoad: (map, loadEvent) => void called with the Mapbox Map
instance when the load event is fired. You can ...