Open hanselsen opened 5 years ago
I'm using leaflet-react in combination with Leaflet.Editable and it's working great except the fact that I can't seem to figure out how to pass editOptions to the Map. This is my React code:
<LeafletMap editable editOptions={{skipMiddleMarkers: true}} center={[52.083050, 5.321159]} maxZoom={21} ref={r => this.setMap(r)} zoom={8} />
this.circle.enableEdit(this.map);
Whatever what I try, I can't seem to remove the middle marker. Is this a bug or am I missing something?
@hanselsen Can you share sample code. How you had integrated react-leaflet with Leaflet.Editable.
I'm using leaflet-react in combination with Leaflet.Editable and it's working great except the fact that I can't seem to figure out how to pass editOptions to the Map.
This is my React code:
Whatever what I try, I can't seem to remove the middle marker. Is this a bug or am I missing something?