Projekt

Obecné

Profil

Stáhnout (485 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1
import { Map, Marker } from 'pigeon-maps'
2
import { useState } from 'react'
3

    
4
// This would be also a great library but did not find any official way to draw path
5
const PigeonMapsExample = () => {
6
    return (
7
        <>
8
            <h1>PigeonMaps Example</h1>
9
            <Map height={ 400 } defaultCenter={ [50.879, 4.6997] } defaultZoom={ 11 }>
10
                <Marker width={ 50 } anchor={ [50.879, 4.6997] }/>
11
            </Map>
12
        </>
13
    )
14
}
15

    
16
export default PigeonMapsExample
(3-3/3)