maputnik/src/map.jsx

20 lines
445 B
React
Raw Normal View History

2016-09-08 19:47:29 +02:00
import React from 'react';
import ReactMapboxGl from 'react-mapbox-gl';
import {ZoomControl} from 'react-mapbox-gl';
export class Map extends React.Component {
2016-09-08 20:35:21 +02:00
constructor(props) {
super(props);
}
2016-09-08 19:47:29 +02:00
render() {
return <ReactMapboxGl
2016-09-08 20:35:21 +02:00
style="mapbox://styles/morgenkaffee/ciqo4gtwo0037c0m7tpcosu63"
accessToken="pk.eyJ1IjoibW9yZ2Vua2FmZmVlIiwiYSI6IjIzcmN0NlkifQ.0LRTNgCc-envt9d5MzR75w"
>
<ZoomControl />
</ReactMapboxGl>;
2016-09-08 19:47:29 +02:00
}
}