Hello Trevor!
I am trying the same thing with CB5 but it only works to add a pushpin - not to delete them. Can you tell me how you've been able to delete all the pushpins you've made in your program???
Here is a sample code how I make pushpins in my Application including a note and a symbol:
void __fastcall TForm1::AddPin( double Lat, double Lon, AnsiString
Truck, AnsiString Note )
{
WideString txt;
PushpinPtr pin;
LocationPtr loc;
loc = Map->GetLocation( Lat, Lon, 100 );
txt = Truck;
pin = Map->AddPushpin( loc, txt );
pin->set_BalloonState( geoDisplayName );
pin->set_Symbol( 85 );
pin->set_Highlight( true );
txt = Note;
pin->set_Note( txt );
pin->MoveTo( TruckSet );
delete pin;
delete loc;
}
Hope you can help me!
Thanks in Advance,
Michi