Hey
I was working on a classic app to show projects on a map, and now I need to create the same app in the new Glide version.
However, the "style “Map” does not exist in the new version of glideapps.
instead, there is a new style called: “custom”.
Before
![image](https://us1.discourse-cdn.com/flex020/uploads/glideapps/original/3X/1/3/1357ca5bed8bb793b66587a9cdee4e96af27638c.png)
After
![image](https://us1.discourse-cdn.com/flex020/uploads/glideapps/original/3X/4/c/4caae6bb76df4bcd338ab4d3d0dc135b3b5966ef.png)
What is the best way now to navigate between map view and list view?
Just add a map component. While it doesnt function exactly the same, its the best we have for now
2 Likes
I will suggest having 2 containers.
- Show Map View + Map Component + Button [View List]
- Show List View + list collection of the map details, Location Name, description, Address or Longlat etc. + Button [View Map]
Action: On [View List] button click to toggle a boolean value (Column name - View Button) if checked set to visibility of Container Map and vice versa.
1 Like
Or you can have a “Map Tab” and a hidden “List Tab”, where the Collections Title Actions just navigate to the other Tab.
The advantage of this setup over the Boolean is that it consumes 0 updates when users want to view a Map or List setup
3 Likes