Page 1 of 1

ToolTips Layers

Posted: Thu Feb 04, 2016 1:07 pm
by Patricia
Hello,
Currently we are using the map control FormsMap (via web service). When we used the old map control (Map&Guide versiĆ³n 5) this control automatically show tooltips where hovering the mouse on Pois, streets, zip codes, counties, etc. How can we enable theses tooltips with then new control (FormsMap via web service)?
Thanks

Re: ToolTips Layers

Posted: Thu Feb 04, 2016 4:37 pm
by Bernd Welter
Hello Patricia,

sounds like your question belongs to this forum?
http://xserver.ptvgroup.com/forum/viewforum.php?f=14

I'll move the post and keep a shadow copy in place :roll:

Best regards,
Bernd

Re: ToolTips Layers

Posted: Fri Feb 05, 2016 3:59 pm
by Oliver Heilig
Hello Patricia,

technically the Basemap element for xMapServer has no tooltips, as these are only bitmaps. The solution for xServer.NET (or any interactive client) would be to do a reverse-gecoding when the mouse pointer doesn't move for a while. I can do a little demo for this use-case next week.

Oliver

Re: ToolTips Layers

Posted: Wed Feb 10, 2016 2:31 pm
by Oliver Heilig
Hello Patricia,

i've added a sample "BasemapTooltips" to

https://github.com/ptv-logistics/xservernet-bin

The sample has a class that adds a tool tip function by calling xLocate:findLocation whenever the mouse is moved. As i said, the xServer.NET control doesn't to this by itself.

Oliver

Image