Issue Styling Rooms After Update to Location-Based Properties in Mappedin

Previously, we used the space (room) feature in Mappedin to add name and detail properties for each room. Based on those room names, we applied custom styles in the code—such as colors, text labels, etc.

However, after the recent update, Mappedin introduced a new location feature where we now have to fill in the name, description, and other details under location instead of the room (space) directly.

Because of this change, our existing room-based properties and styling logic no longer work. How can we now reference or style the rooms based on the new location data? Is there a recommended way to migrate or map the old room data to the new location structure to preserve our existing styles?

Looking for guidance on how to apply styles dynamically using the new location details.

Thanks!

Hi Manikandan,

Update to the latest version of Mappedin JS and your existing logic should still work. It has support to map data from the new location feature to Space fields like space.name and space.description that you are already using.

It also supports getting all of the new location fields as well if you start to use those.

Once the map is “updated” to use the new Location features, a Mappedin JS upgrade is required (the Map Editor will prompt to warn of this).

Hi,

Thanks for the quick support!

I’ve updated to the latest version of Mappedin JS, and everything is working perfectly now. Our existing logic is picking up the location data as expected, and the styles are being applied correctly.

Appreciate the guidance!