Hi guys! Love the forum. Thanks in advance for the help! I could not find an example of how change the icon in the position chart based on multiple attributes. I was able to change the color based on one attribute. By doing the following:
We’re happy to hear that you are enjoying the forums!
In this case, you will likely want to use Conditional Block Helpers to help you conditionally render images.
To use an image, you just need to put a URL to an image (Note: The template must resolve to a JPG, GIF, PNG or SVG image). Here’s an example from our Indoor Asset Tracker (which also has a great Deeper Dive that covers this template) that shows how to do this sort of thing based on a Device Tag.
In this example, we’re hosting the imagines in Application Files and referencing them here where /{{deviceTags.uniqueId.[0]}} represents a unique file name that is stored as a Device Tag.
Let me know if this works for you or if you need any further explanation.
But instead of having all occupied/ unoccupied desks and conference rooms looking the same on the map, I have made 4 different icons to represent the different types and states. They do have device tags already based on the type (desk or conference room).
Each type desk or conference room will have two different icons representing the occupancy state. So 4 Icons in total based on the logic in my first message.
If you still think your solution fits what I am trying to do I will give it a try. But I do not fully understand.
I’ve removed your application ID from the URL. But since you asked, I should note that file URLs are publicly accessible. We do not typically think of application IDs as sensitive information.