I am using MapPoint2002. Upon default the Map has a Legend that shows Populated Places, Boundaries, Transportation and Miscellaneous.
As soon as I add a push pin to the map it creates a new catagory Pushpins.
I am trying to Rename the Pushpin to a new name like "Plotted Points" and delete the other 4 items.
When I look at the example for renaming a Legend Title I can't seem to get it to work.
This is what I have been trying to use:
Public oApp As New Mappoint.Application
Public oDM As Mappoint.DataMap
' I believe this should set the DataMap object to the current legend title.
Set oDM = oApp.ActiveMap.DataSets("Pushpins")' Here I believe I am setting the new title I want
oDM.LegendTitle = "Plotted Positions"
So far no variations of what I am trying to use seem to work. Any ideas?
I also have not been able to find any information to delete the existing other Legend Categories Populated Places, Boundaries, Transportation and Miscellaneous.
Would anyone have any ideas for that?