pigeon-overlay - Overlay component for pigeon-maps
React demo: https://mariusandra.github.io/pigeon-overlay/
Inferno demo: https://mariusandra.github.io/pigeon-overlay/inferno/
Example: https://github.com/mariusandra/pigeon-overlay/blob/master/demo/demo.js
API: https://github.com/mariusandra/pigeon-overlay/blob/master/src/index.js
To use in your component (with beta version 0.2.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 // image in the overlay { return <Map defaultCenter=50879 46997 defaultZoom=12 width=600 height=400> <Overlay anchor=50879 46997 offset=60 39> <img src=pigeon width=120 height=79 alt='' /> </Overlay> </Map> }