Hey guys,
I write a programm in VB.Net and am using the xServer Map. I wanted to ask, if there is any way to always show the marker tooltips.
And further if there is a mousclick on marker event or something like this. Where i can get to know if a marker is clicked and then show information depending on which marker it is.
Thank you very much.
Tooltip show always
- Bernd Welter
- Site Admin
- Posts: 2703
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Tooltip show always
Hello Benedikt,
I recommend that you take a look at the xServer.NET extension. It enables you as a VB.NET developer to implement a mighty mapping interface with less efforts compared to implementing the wheel from scratch.
With the built-in markers such as PINs, DIAMONDs, CUBEs, BALLs, ... you can display POIs and parametrize properties such as size, color, tranparency and tooltip texts. Furthermore it supports the event handling.
If you want to work with the native interface of xMap you have to request the layers ObjectInfos. With activated object infos the response of the server contains a list of the displayed objects (together with their "real" and pixel coordinates) which enables you to create the tooltips but this is probably less efficient than using xServer.NET.
Another - quite common - approach is to use xMap as a geographic background layer provider and to paint icons on top of that layer. In this case you are responsible for the whole event handling.
Best regards from Karlsruhe,
Bernd
I recommend that you take a look at the xServer.NET extension. It enables you as a VB.NET developer to implement a mighty mapping interface with less efforts compared to implementing the wheel from scratch.
With the built-in markers such as PINs, DIAMONDs, CUBEs, BALLs, ... you can display POIs and parametrize properties such as size, color, tranparency and tooltip texts. Furthermore it supports the event handling.
If you want to work with the native interface of xMap you have to request the layers ObjectInfos. With activated object infos the response of the server contains a list of the displayed objects (together with their "real" and pixel coordinates) which enables you to create the tooltips but this is probably less efficient than using xServer.NET.
Another - quite common - approach is to use xMap as a geographic background layer provider and to paint icons on top of that layer. In this case you are responsible for the whole event handling.
Best regards from Karlsruhe,
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...