Hi @elperro
We have a bunch of SDK samples available here to add different types of layers or animation on top of the Map. Specifically you might want to look at HTML Marker Pulse Animation
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
In the sample application "Live Maps" they show an example to send a "warning" to azure maps indoor (for exampe: if a door is open in a building).
I can't figure out how they do this. So far, I am able to create a stateset and to update the stateset style rules in case a room is occupied. But I don't see a possibility
to make a warning icon blink in a room in case an issue is detected in a room. Could somebody please point me in the right direction?
Our usecase is to display a warning on a map in case a mouse got caught in a LORA connected mousetrap.
Regards,
Raymond
Hi @elperro
We have a bunch of SDK samples available here to add different types of layers or animation on top of the Map. Specifically you might want to look at HTML Marker Pulse Animation
Hi,
I found a solution. I was aware of the "HTML Marker Pulse Animation" and I used that one in our pilot. But I was strugling to update my map based on sensor data.
I ended up using websockets. So, my "azure maps webapp" connects to a websocket aware node.js server. This server is exposed by a REST API (using featherjs). Once I send my sensor data to this API, the message will be forwared real-time to my azure maps app. In my code I call the Web Feature Service (WFS) API in order to get the right coordinates of my sensor (located in the featureCollection) to inject the HTML Marker Pulse Animation. I guess you could achieve similar results using Azure event grid etc.
Regards,
Raymond