Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How would you modify this to work with KML layer? #2

Open
nhajiyani opened this issue Jul 3, 2014 · 1 comment
Open

How would you modify this to work with KML layer? #2

nhajiyani opened this issue Jul 3, 2014 · 1 comment

Comments

@nhajiyani
Copy link

Wondering if there is an easy way to modify this script to work directly with the KML layers?

@cbaines
Copy link
Owner

cbaines commented Jul 3, 2014

Firstly, what KML layer class (for leaflet) are you intending using? I have found one example here, is it this?
http://harrywood.co.uk/maps/examples/leaflet/kml.view.html

Secondly, for KML support, the options are either to make it an option for the L.Indoor class, or write a L.Indoor.KML which uses KML (what to do will become clearer when I know more about how you intend to handle the KML layers). The L.Control.Level class is completely independent of the L.Indoor class, so this can be used even if the L.Indoor class is not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants