ReactJS Maps without external dependencies
Full inferno support!
Just use these import paths for a component that's fully compatible with Inferno:
import Map from 'pigeon-maps/inferno'
import Marker from 'pigeon-marker/inferno'
import Overlay from 'pigeon-overlay/inferno'
Thank you @degroote22 for bringing this up and all your contributions! Thank you @trueadm for making Inferno and all your help in getting this working!
onBoundsChange
gets called on the initial mount (when the first bounds become known). When this happens, it also gets passed a parameter initial
, which will be set to true
. It will be false
on all subsequent calls.defaultCenter
and defaultZoom
. Use those if your component is uncontrolled.onBoundsChange
now has a 60ms debounceThank you @degroote22 !