Creating custom POIs?

Rushmore
01-16-2007, 04:12 AM
Hello,

I know that I can create programmatically pushpins to display informations on the map.

I need to display fireplugs (from a database) on the map for a given area. If the customer clicks on the displayed fireplug, extended informations must be shown (type of fireplug, description etc.).

It would be very nice, If it is possible to create a custom PlaceCategory and the items for that. So the customer can decide which categories are displayed.

Any suggestions?

Kindly regards,
Carlo

Paul Larson
01-16-2007, 04:40 PM
You can't edit the POI database, but you can create custom pushpin symbols.

Using the beforeClick event of the MapPoint API, you can determine if one of your pushpins is being clicked and then perform any output you'd like.

You can't assign a PlaceCategory to a pushpin, but you can categorize pushpins into different datasets for a similar look-and-feel.

 
Web mp2kmag.com
mapforums.com