How to have different overlay layers in layer groups having different .geojson files? I want to show three different categories such as Toilets, dustbins and hospitals. There will be three different .geojson files. How can I have three categories at the right top of the map using leaflet.js?

closed as off-topic by ahmadhanb, BERA, IvanSanchez, aldo_tapia, xunilk Mar 8 '18 at 12:45

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking help to debug/write/improve code must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Providing a clear problem statement and evidence of a code attempt will help others to help you. See: How to create a Minimal, Complete, and Verifiable example." – ahmadhanb, BERA, IvanSanchez, aldo_tapia, xunilk
If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.