Enable style file upload

This commit is contained in:
lukasmartinelli
2016-09-08 20:35:21 +02:00
parent 092ff674ab
commit d0776032b6
4 changed files with 35 additions and 13 deletions

View File

@@ -2,16 +2,18 @@ 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);
}
constructor(props) {
super(props);
}
render() {
return <ReactMapboxGl
style="mapbox://styles/morgenkaffee/ciqo4gtwo0037c0m7tpcosu63"
accessToken="pk.eyJ1IjoibW9yZ2Vua2FmZmVlIiwiYSI6IjIzcmN0NlkifQ.0LRTNgCc-envt9d5MzR75w"
><ZoomControl /></ReactMapboxGl>
style="mapbox://styles/morgenkaffee/ciqo4gtwo0037c0m7tpcosu63"
accessToken="pk.eyJ1IjoibW9yZ2Vua2FmZmVlIiwiYSI6IjIzcmN0NlkifQ.0LRTNgCc-envt9d5MzR75w"
>
<ZoomControl />
</ReactMapboxGl>;
}
}