For now, I will move towards the implementation of leaflet-indoor as the base and if there is time, I will also implement the image option since it will be a lot useful. Best, Fawad On Tue, Aug 20, 2019 at 3:22 PM Fawad Ali <m.fawaadali98@gmail.com> wrote:
Hi all,
One concern in using the leaflet-indoor is that the indoor structures might not physically exist. For example, if an engineer prepares a model for a house and wants to represent the structure in an independent environment then he will prefer the image as map tiles. ( https://leafletjs.com/examples/crs-simple/crs-simple.html )
Best, Fawad
On Tue, Aug 20, 2019 at 1:46 PM Stéphane Laurière <slauriere@xwiki.com> wrote:
Hi Fawad, Hi all,
Hi everyone, Hope all of you are all right.
I am working on the implementation of Indoor Maps. For that, there are several options for adaptation. So I need your suggestions. The first question is how would the users be using the indoor maps? - Would they be using images for each level? - Would they prefer to have a normal map and add shape-like objects to it? - Or would they like a mixture of both i.e. a normal map with images as levels?
For a normal map with multilevel structures - we can use https://github.com/cbaines/leaflet-indoor For using only images - we can make use of https://leafletjs.com/examples/crs-simple/crs-simple.html
What do you think would be best considering the map's user base?
Initially I thought about images since many fair organizers provide PDF plans that could be converted into images, but on second thoughts, starting primarily with shapes could be even better in terms of user experience imho. Nothing prevents from adding images in addition in the future, if some users prefer that approach, or a mix as you suggest.
This kind of experience is quite inspirational in particular (it's close to the leaflet-indoor example that you pointed out):
https://use.mazemap.com/#v=1&zlevel=1&left=6.8518492&right=6.8576924&top=52....
That's a question you may consider asking on the forum as well to gather more inputs?
Cheers
Stéphane
Best, Fawad