I was wondering if it is possible to change the shape of the node on the map from a circle to something different, e.g. a square or triangle? I am already using color coding to indicate allocation of store locations to warehouses, the shape is intended to differentiate between 3 different types of stores.
Using of icons or alterntative stroke colors doesn't really work, because the nodes need to be quite small. But I am also interested in any other suggestions to make it work.
Thanks!
Best answer by Pratap Kumble
Hi
Currently, there isn’t an option to change the shape of the node. We do have it on the roadmap but it might take a while to get to.
However, there is a workaround. Since you are already using annotations for color there are just two things you need to do.
- Add icons to the nodes. you can find all the icons here - https://manual.aimms.com/_static/aimms-icons/icons-reference.html
- Add the below CSS (please change the annotation names and the colors as required)
/* Only icons without node AND Color to icons */
.annotation-red .node-icon:before{
color: red !important;
}
.annotation-yellow .node-icon:before{
color: yellow !important;
}
.annotation-green .node-icon:before{
color: green !important;
}
path.annotation-red,path.annotation-yellow,path.annotation-green{
display: none;
}
/* ----------End---------- */
You should be able to get a similar effect as the below image.

I also added a node size parameter to increase or decrease the size of the icon. For the example I used a node size of 10.
Please let me know if this works.
Thanks,
Pratap