Jump to content
Software FX Community

Data Points on Maps


Layman
 Share

Recommended Posts

Hi,

 I want to display two data points on each state of US map to display product information of two products.

 and if i mouse over the each data point i need to get the corresponding product information of the state.

can any one guide me how to go about this, thanks in advance.

and i am using asp.net 2.0

Link to comment
Share on other sites

  • 1 month later...

The HitTest method will give you the MapElement object thats under the cursor. You will need to have some external data structure (e.g. a Dictionary) where you map the id of the map element to some additional data and then retrieve it.

You can use the GetTip event to customize What's displayed in the tooltip.

Link to comment
Share on other sites

  • 4 months later...

Hi

I have also got this typical requirement. I have gone through the chartfx / maps api doc and could not find correct guidance. Appreciate if you can provide some code segment how to map tool tip customization if i would like to display more the tool tip format (

"%l No. of Students: %v"; -- may be i would like no. of students, teachers, schools on each state tool tip ( on mouse over).

Really it will be a great help.

thanks.

Iyyengar.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...