pigeon-marker - Marker component for pigeon-maps
React demo: https://mariusandra.github.io/pigeon-marker/
Inferno demo: https://mariusandra.github.io/pigeon-marker/inferno/
Example: https://github.com/mariusandra/pigeon-marker/blob/master/demo/demo.js
API: https://github.com/mariusandra/pigeon-marker/blob/master/src/index.js
To use in your component (with beta version 0.3.0):
// default for React // explicitly ask for the React version // explicitly ask for the Inferno version // choose the Inferno or React version based on BABEL_ENV { console } { return <Map defaultCenter=50879 46997 defaultZoom=12 width=600 height=400> <Marker anchor=50879 46997 payload=1 onClick=thishandleMarkerClick /> </Map> }