I need to represent the state of some devices from the db on the google map. Each device has it's location and complex status. Something like on line / off line / camera OK etc. For each status I need to draw a bubble next to the icon on the map (e.g. one green if device is on line and one red if camera is off line).
For example I have some marker:
new google.maps.Marker({
position: currLatLng,
map: map,
icon: image
});
And I need something like:
drawImageNextToTheMarker("myImg");
What is the easies way to do this?
Or is there any way to draw the html table with pictures centered at some position on the map?
Thank you.
Edit:
One solution I thought of is to make a image for each status with transparent background and to draw every image for for every status. It is not a nice solution and I will spend some time making those images but that is the best solution for now.