I am new to react-leaflet. Need little help to fix my issue. Follow up with Previous post  I have textfield which filter data. I was able to filter data in the table but not able to filter the data in the map.  For example: if I search for name: '...
I am using react leaflet draw for drawing polygons and circles.  But when I chose edit polygon there is no drag handler for a move and resize.    How to solve this issue if any one have the same?  This is code                <Map...
I'm trying to create a custom component in react-leaflet v2 extending a leaflet plugin EdgeMarker. The documentation does not really give details on how to do this. So I have copied the Leaflet.EdgeMarker.js file from the repo and added it to my...
I cannot figure out how to call fitBounds() on the Leaflet map.  If I was just using vanilla leaflet, this solution would work perfectly: Zoom to fit all markers in Mapbox or Leaflet  Unfortunately, I am using react-leaflet.  Here is the solution if...
I'm developing a leaflet map with reactjs but I got this error when I implemented a <MarkerClusterGroup>from react-leaflet-markercluster.     TypeError: Super expression must either be null or a function, not object   Here is the error belo...
Right now I am setting the bounds of my react leaflet map by passing a bounds parameter as shown below:      <div hidden={!this.props.hide && !this.props.toggle} className="map-container">         <Leaflet.Map ref='leafle...
I tried everything I found on google and I can't figure out how to trigger the popup.         <Marker   position={this.props.position}   onMouseOver={() => { openPopup() }}   onMouseOut={() => { closePopup() }} >   <Popup>...
I'm working on a map view for a react application which I'm using Leaflet for (react-leaflet). I'm able to plot markers on the map, but the popups that I have bound to them won't open when clicked.  I first tried using <Marker>...
I would like to create a custom component with react-leaflet that shows the actual position (x,y) of the mouse, but I don't know how to create it. I found react-leaflet-control but it seems that it is not up to date, of course I readded the api d...
I can catch the single click event   <Circle onClick={ (event) => this.seatClickHandler(event, seat) } ... />   But I want to catch also double-click event, is that is possible in react-leaflet  I had disabled zoom-in map on double click, so...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.