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?
Thanks!
Page 1 / 1
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.
You can use the map widget if you can figure out a way to hide the background layer which is an svg object.
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.
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.
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.
Please.
Reply
Sign up
Already have an account? Login
Please use your business or academic e-mail address to register
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.