Skip to content

editdata/data-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

data-map

Show a dataset on a map.

Install

npm install --save data-map

Usage

var h = require('virtual-dom/h')

var state = {
  properties: {},
  data: [
    {
      key: 'uuid',
      value: {
        pizza: true,
        awesome: 'this string is awesome',
        howManyPizzas: 27
      }
    }
  ]
} 

var map = require('data-editor/map')({
  zoom: 16,
  center: [47.621958, -122.33636],
  accessToken: 'your mapbox access token'
})

var mapView = map.render(state)
var container = h('div.map-container', [mapView])

See also

  • data-editor – base editor that works with data-grid
  • data-ui – a collection of resources & modules for building interfaces for managing data
  • data-grid - simple & performant grid editor/viewer for data
  • view-list – this project is a thin wrapper around the view-list module
  • virtual-dom – data-grid & view-list are created using the virtual-dom module

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors