react-leaflet-div-icon
react-leaflet-div-icon copied to clipboard
marker that will use children as the content if the marker.
This package crashes with React Leaflet 2.0: ``` Uncaught TypeError: Cannot read property 'call' of undefined at Divicon.componentWillMount (index.js:141) ```
Hey, Since the ContextProvider component was created in the renderComponent function, it caused react to mount and unmount the component on every render, since renderComponent created a new ContextProvider class...
Whenever the host `` is being re-rendered, the JSX contents of the `DivIcon` are being re-rendered on the actual DOM from scratch. This is unnecessary and most probably bad (slow)....
My JSX looks like this: ``` whatever ``` Only the initial className is rendered (e.g "xxx" if `expanded===true`) but then updating this property to false does not refresh the DOM.
In IE10, I get the following error: ``` Unable to get property 'addLayer' of undefined or null reference ``` Using the fix found here fixes the issue: PaulLeCam/react-leaflet#235
This is a feature request. **Current behavior:** Actually react-leaflet-div-icon component just accept DOM standard elements, as svg, html, etc, and a special case, [react-leaflet popup component](https://github.com/PaulLeCam/react-leaflet/blob/master/docs/Components.md#popup). **Example code:** ```jsx const...
https://facebook.github.io/react/docs/typechecking-with-proptypes.html Note: React.PropTypes is deprecated as of React v15.5. Please use the prop-types library instead.
I had an issue with the peer dependencies where and older version of leaflet would be installed on top of my applications leaflet dependency causing a mismatch between the marker...
Installed an hour ago (reported as v1.0.1), still getting `Uncaught Error: createLeafletElement() must be implemented` error.
I keep getting this annoying npm warning even though I installed required packages: ``` $ npm install leaflet [email protected] /Users/oxxo/dget └── [email protected] $ npm install react-leaflet [email protected] /Users/oxxo/dget └── [email protected]...