How know if a pushpin exist ?

Anonymous
06-29-2004, 11:22 AM
Hi!

Sorry for my bad English,

I try to delete a pushpin object with objpin.delete
but how test that the pushpin exist ??

THX for all your comments and url's etc.

@+ THE_GRITCH

jdwhytie
06-29-2004, 11:33 AM
Using your Map object (objMap) try and find the pushpin (objPin)

If Not objMap.FindPushPin("Name") Is Nothing Then
'what to do if the pushpin does exist
Else
'what to do if the pushpin does not exist
End If

Anonymous
07-01-2004, 03:05 AM
thx ! that's gooood !

 
Web mp2kmag.com
mapforums.com