react-mapbox-gl
react-mapbox-gl copied to clipboard
A React binding of mapbox-gl-js
Trying to understand the GeoJSONLayer component. I am fetching data and creating a geojson object on the fly on page render. I have set up a state to only render...
Hello, I would like to know if the new Mapbox GL JS v3 is supported (https://www.mapbox.com/blog/standard-core-style) ? As you may know, Mapbox just released in beta a new "Standard style"...
Hello, I tried to move a polygon created with ``. When I move the polygon I fall on this error :  Here's the code : ```js renderExclusionsZones (exclusionsZones) {...
Hi, I am using ``` "react": "^18.2.0", "react-mapbox-gl": "^5.1.1" "mapbox-gl": "^2.15.0" ``` ### This is my code ``` import "mapbox-gl/dist/mapbox-gl.css"; import React from "react"; import { mapConfig } from "../../constants/map.constants";...
Small step towards supporting newer React versions officially. Some type changes in here as well, as the updating made me fix the generics on `withMap` HOC, which surfaced various errors.
I'm wanting to set the antialias property to true but as fas as I can tell, only the exposed options are settable; why not just add the ability to set...
This is my code ` import * as React from 'react'; import { useState, useEffect } from 'react'; import StarIcon from '@mui/icons-material/Star'; import LocationOnIcon from '@mui/icons-material/LocationOn'; import axios from 'axios';...
When a map has a layer something like this: `` ` ` `` The layer does not render, this is because commit [4926e492cef3a77e57a8cdf7594e9340d499392e](https://github.com/alex3165/react-mapbox-gl/commit/4926e492cef3a77e57a8cdf7594e9340d499392e) changed layer.ts's `UNSAFE_componentWillMount` to `componentDidMount`. With that...
Bumps [json5](https://github.com/json5/json5) from 2.1.1 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. Release notes Sourced from json5's releases. v1.0.2 Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a...