Option to switch between List and Map view for inline list

I have an inline list which is a collection of inline lists. So when i go to the second level of the inline list, i am displaying that as Map instead of just a list of items. If i recall there was an option for the end-user to choose what he wants to see LIST or MAP view and we can set a default view to begin with. I noticed that on my phone ( or otherwise also ) am not getting that toggle option to switch between the list and map view.

What am i missing?

-Shiv

It has always been that way for map inline lists, I don’t know what’s the reason they do not allow this.

So where or how is it that we get to see or use the option for toggling between the two?

-Shiv

In a list view you can get that option to switch between the two, in a details view in an inline list that’s a no.

Hello @Shiv
I would like to know your setup to be able to display this map in Tab detail style ??
It looks like you are using a Detail Tab Style, but,
for me this is currently not possible, the only Map component for detail tabs is much more basic (see ugly ;-))

EDIT
Ah yes, sorry, I understood, Super Awesome, thank you :slight_smile:

That looks line an inline list in a map view. What you are referring to is a map component I think.

2 Likes

@ThinhDinh @Manu.n Thanks for your responses. Looks like the difference is between using it natively as an InlineList-Map vs using it as a Map-Component inside Details.

Wondering why this difference? Any technical challenges implementing it?

-Shiv

2 Likes

No idea about the technical challenge. I also wonder why.

1 Like

@Mark @Jason @JackVaughan Possibly something easy to implement ?

-Shiv

In fact, this strange behavior is exactly what I’m looking for. it’s a map without the list (ugly)
And yes @Shiv , it is not very logical, but fall, it should not be said too strongly, otherwise it risks correcting this anomaly :wink:

1 Like

One of the biggest challenge i see in my usecase is that - i want the the list to be sharable ( send a link to screen using a button - you might notice it in the screen grab above ) which is possible only when i add a button in the details view. The default inline list wont allow me to add anything more than just the list.

If i have a workaround to implement the button then am fine with using the latter option which will give me the toggle view also.

-Shiv

Yeah this is a known issue. I think thats something we have to live with when it comes to MapBox.

-Shiv

Click on this post.
It has a response from Jason and a solution.

Apparently, it looks like its a response to Kristian that the documentation will be updated to reflect the fact that Details+Inlinelist_Component+Map will not have the option to toggle :frowning: But when i dig deep into the documentation it still not called out explicitly anywhere.

I presume you are referring to the one by you in your app? I liked the idea of using the choice component to show what we want. But again that would introduce lot more buttons and would take a lot of space in the app real-estate :frowning: But I liked the idea there.

Wish it was possible natively like in Inlinelist+Map would have made the data look consistent.

For now, the workaround I have in my mind is to have another button at the bottom which links to Inlinelist+Map - but that would make the UX terrible ( so am still in contemplating mode )

-Shiv

1 Like

Theoretically you can have floating buttons to set a value to a user-specific column.

Then show/hide a map inline list and a list inline list based on that value.

1 Like