<Popup />

Constructor

PropTypes:
Name Type Required Description Default
actions union No components passed to PopupDefaultInsert to render as actions
children union No Pass components as children of Popup component
map object Yes a reference to openlayers map object
onMapClick func No callback fired on map clicks with state object: { clickCoordinate: [0, 0], clickPixel: [0, 0], features: [], loading: false, // true after click before layers/features load popupPosition: { arrow: 'none', fits: true, // does the popup have room to render around the feature bbox pixel: [0, 0] }, show: false // suggestion to display or hide popup -- (show prop takes priority) } () => {}
show bool No boolean that is respected over internal state function()
Since:
  • 0.2.0

View Source Popup/Popup.js, line 17