1.20.0 • Published 3 years ago

@bayer/ol-kit v1.20.0

Weekly downloads
573
License
BSD
Repository
github
Last release
3 years ago

ol-kit

Easy to use, open source React/Openlayers component toolkit.

Getting Started

It's easy to start building map apps with ol-kit. For simple projects the following will get you started:

import React from 'react'
import { Map, Popup, Controls, zoomToExtent } from '@bayer/ol-kit'

import VectorLayer from 'ol/layer/Vector'
import VectorSource from 'ol/source/Vector'

class App extends React.Component {
  onMapInit = map => {
    const data = new VectorLayer({
      source: new VectorSource({
        features: [/** Get some data and have fun with it */]
      })
    })

    // add the data to the map
    map.addLayer(data)

    // quickly take the map
    zoomToExtent([0, 0], 12)
  }

  render () {
    return (
      <Map onMapInit={this.onMapInit}>
        <Popup />
        <Controls />
      </Map>
    )
  }
1.18.1

3 years ago

1.19.0

3 years ago

1.18.0-1

3 years ago

1.20.0-3

3 years ago

1.20.0-2

3 years ago

1.20.0-0

3 years ago

1.20.0-5

3 years ago

1.20.0-4

3 years ago

1.20.0

3 years ago

1.18.0

3 years ago

1.18.0-0

3 years ago

1.17.0

3 years ago

1.16.1

3 years ago

1.16.0

3 years ago

1.15.0

3 years ago

1.14.1

3 years ago

1.14.0

3 years ago

1.13.0

3 years ago

1.12.1

3 years ago

1.12.0

3 years ago

1.11.1

3 years ago

1.11.0

3 years ago

1.10.3

3 years ago

1.10.2

3 years ago

1.10.1

3 years ago

1.10.0

3 years ago

1.4.1

4 years ago

1.9.1

4 years ago

1.9.0

4 years ago

1.8.1

4 years ago

0.20.1

4 years ago

0.20.0

4 years ago

1.8.0

4 years ago

1.7.0

4 years ago

0.19.6

4 years ago

0.19.6-0

4 years ago

0.19.5

4 years ago

1.6.0

4 years ago

0.19.4

4 years ago

0.19.3-0

4 years ago

1.5.0

4 years ago

1.4.0

4 years ago

1.3.0

4 years ago

0.19.3

4 years ago

0.19.2

4 years ago

0.19.1

4 years ago

0.19.0

4 years ago

1.2.0

4 years ago

0.18.4

4 years ago

0.18.3

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.1.0-6

4 years ago

1.1.0-5

4 years ago

1.1.0-4

4 years ago

1.1.0-3

4 years ago

1.1.0-2

4 years ago

1.1.0-1

4 years ago

1.1.0-0

4 years ago

1.0.2

4 years ago

0.18.2

4 years ago

0.18.1

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.18.0

4 years ago

0.17.4

4 years ago

1.0.0-beta.0

4 years ago

0.18.0-1

4 years ago

0.16.0-dev1

4 years ago

0.18.0-0

4 years ago

0.17.3

4 years ago

0.17.2

4 years ago

0.17.0

4 years ago

0.17.1

4 years ago

0.16.0

4 years ago

0.15.0

4 years ago

0.14.1

4 years ago

0.14.0

4 years ago

0.13.0

4 years ago

0.12.0

4 years ago

0.11.0

5 years ago

0.10.0

5 years ago

0.9.2

5 years ago

0.9.1

5 years ago

0.9.0

5 years ago

0.8.0

5 years ago

0.7.1

5 years ago

0.7.0

5 years ago

0.6.0

5 years ago

0.5.1-2

5 years ago

0.5.1-1

5 years ago

0.5.1-0

5 years ago

0.5.1

5 years ago

0.5.0

5 years ago

0.4.0

5 years ago

0.3.1

5 years ago

0.3.0-11

5 years ago

0.3.0-10

5 years ago

0.3.0-9

5 years ago

0.3.0-8

5 years ago

0.3.0-7

5 years ago

0.3.0-6

5 years ago

0.3.0-5

5 years ago

0.3.0-4

5 years ago

0.3.0-2

5 years ago

0.3.0-1

5 years ago

0.3.0-0

5 years ago

0.3.0

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago

0.0.0-4

5 years ago

0.0.0-3

5 years ago

0.0.0-2

5 years ago

0.0.0-1

5 years ago

0.0.0-0

5 years ago