Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MapPoint - how to clear the map?
Message
De
14/09/2004 11:14:14
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00941833
Message ID:
00941916
Vues:
4
It's done in VB here:

http://www.mp2kmag.com/a46--find.from.radius.mappoint.html

mfrmMap.cmbPushpin.Clear


>I could really use some help on this one.
>
>How can I clear all the previous LOCATIONS and Pushpins on the map ? I need to clear the map for each trip, but they just keep accumlating until I release the Application object all together.
>
>According to the documentation, I think I should create the Dataset object, and then try to do Dataset.delete. But I can not create the right Dataset object. I have created the following objects:
>
>goMapApp = createobject("MapPoint.Application")
>goMap = goMapApp.ActiveMap
>goRoute = goMap.ActiveRoute
>goRoute.Clear() && this Gets rid of any existing waypoints.
>goDataSets = goMapapp.ActiveMap.DataSets
>
>
>Thanks in advance.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform