I would like to use the method FindNearby(...) with a route object but It doesn't seems to function.
Dim oDS As MapPoint.DataSet
Dim objshape As MapPoint.Shape
Dim objRecords As MapPoint.Recordset
Dim lngcount As Integer
lgncount = 0
'oRoute ever exists
Set oRoute = oMap.ActiveRoute
Set oResults = oRoute.Directions.Location.FindNearby(20)
But my pb is that this method doesn't make what I want. I want to draw a zone around the route, but not a circle.
Then after I would like to find pushpins wich are placed in this zone. I have the method to make that.
My pb is to draw this zone and to recover the zone.
Thanks for your help.