OnCurrentPositionChanged event not firing

Feb 12, 2009 at 6:50 AM
Edited Feb 12, 2009 at 6:55 AM
It appears that the OnCurrentPositionChanged event is not firing.  I've tried in both C# and vb.net, by declaring a new event and by using the "using" command.  For example, I have tried:

Sub New()
    ...
    AddHandler myGmap.OnCurrentPositionChanged, AddressOf myGmap_OnCurrentPositionChanged
    ...
End Sub

and 

Sub myGmap_OnCurrentPositionChanged(ByVal point As PointLatLng) Handles myGmap.OnCurrentPositionChanged
    'do something                   
End Sub

Am I missing something?  I am using build 31281.

Thanks,
JoeBerni
Feb 12, 2009 at 9:08 AM
Ok, I figured part of this out and chalk it up to learning pains. 

OnCurrentPositionChanged does fire, but it only fires with the current position marker is moved and not when the map itself moves.  This leads me to the question of is it possible for an event to be fired when the map is moved (via dragging) that results in the current position being updated to the center point of the new map view?
Coordinator
Feb 12, 2009 at 12:21 PM
done!