Comment city-bas-map-layer
This commit is contained in:
parent
c080b0762a
commit
a99d257c4e
@ -1,12 +1,13 @@
|
|||||||
import React, { useEffect } from 'react';
|
/*import React, { useEffect } from 'react';
|
||||||
import mapboxgl from 'mapbox-gl';
|
import mapboxgl from 'mapbox-gl';
|
||||||
|
|
||||||
// Set your Mapbox access token
|
// Set your Mapbox access token
|
||||||
mapboxgl.accessToken = 'pk.eyJ1IjoiYWxpLWFkbGkiLCJhIjoiY2xuM2JtYjV1MGE5djJrb2d5OGp1ZWNyNiJ9.gENyP4xX6ElLAeZFlE0aDg';
|
mapboxgl.accessToken = 'pk.eyJ1IjoiYWxpLWFkbGkiLCJhIjoiY2xuM2JtYjV1MGE5djJrb2d5OGp1ZWNyNiJ9.gENyP4xX6ElLAeZFlE0aDg';
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* Component to display a Mapbox map.
|
Component to display a Mapbox map.
|
||||||
*/
|
*/
|
||||||
|
/*
|
||||||
export function CityMap() {
|
export function CityMap() {
|
||||||
const remote_css = fetch("https://api.tiles.mapbox.com/mapbox-gl-js/v0.53.0/mapbox-gl.css");
|
const remote_css = fetch("https://api.tiles.mapbox.com/mapbox-gl-js/v0.53.0/mapbox-gl.css");
|
||||||
|
|
||||||
@ -30,3 +31,5 @@ export function CityMap() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export default CityMap;
|
export default CityMap;
|
||||||
|
|
||||||
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user