Hi all, After much analyzing I have found a good workflow for creating indoor maps. What I have in mind is that we treat indoor structures as map items rather than a completely separate map. The levels can be specified along with the shapes to be used for each level. Each shape will be created separately using the ShapeSheet. We can have a static list for indoor levels and another one for shapes. The shapes will be selected in order of the levels defined. For example, *Shapes List:* Shape1|Shape2}Shape3 *Levels List:* -1|0|1 In this case, level 0 will be mapped to Shape2.
I am working on separately defining options for each shape so they can be better used with indoor structures. What do you think? Best, Fawad On Tue, Aug 20, 2019 at 3:24 PM Fawad Ali <m.fawaadal...@gmail.com> wrote: > 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.fawaadal...@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 <slauri...@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.2403051&bottom=52.2384279&campusid=171 >>> >>> That's a question you may consider asking on the forum as well to gather >>> more inputs? >>> >>> Cheers >>> >>> Stéphane >>> >>> >>> >>> > Best, >>> > Fawad >>> > >>> > >>> >>>