Hack map and toolbar view

This commit is contained in:
lukasmartinelli
2016-09-08 19:47:29 +02:00
parent d5c252ee54
commit 74a92aa1f4
15 changed files with 327 additions and 99 deletions

17
src/map.jsx Normal file
View File

@@ -0,0 +1,17 @@
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>
}
}