Is there a network object equivalent in WebUI?

  • 15 July 2019
  • 5 replies

Userlevel 4
  • AIMMS Implementation Partner
  • 57 replies
I need something in WebUI that is like the WinUI Network Object. The best I can find right now is the map widget - but what if my nodes aren't locations? Can I use the map widget then?


Best answer by mohansx 16 July 2019, 19:52

View original

5 replies

Userlevel 5
Badge +5
Sorry Bon, there is no network widget as of now and is not in the roadmap for the immediate future.

You can use the map widget if you can figure out a way to hide the background layer which is an svg object.
Userlevel 4
Thanks, @mohansx - that's what I'm doing.

My next question is about labels on the map. I'm going to start a new thread for it since it will apply to even earth maps.
Userlevel 5
Badge +5
@MathFour , can you share how you are hiding the background on the map widget ?
Userlevel 4

In order to hide the map, you access the css selector img.olTileImage and set the property display to none.

This only hides the map, though. To hide the zoom controls, you set display to none with the div.olControlZoom selector.

But you'll still have the attribution, so you have to set the css property color on the selectors .olControlAttribution and .olControlAttribution a to whatever your background color is.

When those four selectors are set properly, you have a clean slate on which to have a network map.

BUT, you still can't get all the clicks and hovers that you can with WinUI. So unless you just want lines and arrows, this method isn't all that helpful.

So please PLEASE put this on the development road map.

Userlevel 6
Badge +6
@MathFour Thank you for sharing your current workaround - would you mind to create a new post with your product idea? It will be easier to vote and track there


Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator