Closed Gaushikmr closed 3 years ago
@ibrierley @Swepilot Could you just give an example pls. https://leafletjs.com/examples/layers-control/ to add this
Sorry, I don't have any experience of working with that.
Break it down into steps, that way you will learn. I'm guessing you just want a layer toggle ?
First you want to create a button that you click that will toggle some variable. Once you get here, you are probably half way done. If you look into the examples folder, eg https://github.com/fleaflet/flutter_map/blob/master/example/lib/pages/interactive_test_page.dart you will see some examples to get you going. Have a play with a button, getting it position correctly, get it logging to the console when pressed.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.
@ibrierley @Swepilot Could you just give an example pls. https://leafletjs.com/examples/layers-control/ to add this