mirror of
https://github.com/maputnik/editor.git
synced 2025-12-30 10:00:02 +00:00
Hack map and toolbar view
This commit is contained in:
17
src/map.jsx
Normal file
17
src/map.jsx
Normal 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>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user