mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2025-01-01 01:13:17 +01:00
18 lines
450 B
React
18 lines
450 B
React
|
import React from 'react';
|
||
|
import ReactMapboxGl from 'react-mapbox-gl';
|
||
|
import {ZoomControl} from 'react-mapbox-gl';
|
||
|
|
||
|
|
||
|
export class Map extends React.Component {
|
||
|
constructor(props) {
|
||
|
super(props);
|
||
|
}
|
||
|
render() {
|
||
|
return <ReactMapboxGl
|
||
|
style="mapbox://styles/morgenkaffee/ciqo4gtwo0037c0m7tpcosu63"
|
||
|
accessToken="pk.eyJ1IjoibW9yZ2Vua2FmZmVlIiwiYSI6IjIzcmN0NlkifQ.0LRTNgCc-envt9d5MzR75w"
|
||
|
><ZoomControl /></ReactMapboxGl>
|
||
|
}
|
||
|
}
|
||
|
|