Has anyone been able to get these 2 methods to work? I went back a loaded the demo and neither method seem to work. They return true when called but do not respond to any actions on the selected object. The object on the map does set itself to edit mode. Maybe i am missing a routine to handle the edits.
The following code is how i call the method. Its direct from the demo.
Thanks in advance,
barry
The following code is how i call the method. Its direct from the demo.
OpenMaps EditingPolygon code:
Case "Polygon"
Dim Success As Boolean =gmap.EditingPolygon(ObjSelected,Checked)
logMessage ("EditPolygon status is " & Success)
If Checked Then
LabelObj.Text="" ' reset add obj
gmap.PanelOn
gmap.MessageToPanel("Click the RIGHT mouse button to finish")
Else
gmap.PanelOff
End If
Case "Polyline"
Dim Success As Boolean = gmap.EditingPolyline(ObjSelected,Checked)
logMessage ("EditPolyline status is " & Success)
If Checked Then
LabelObj.Text="" ' reset add obj
gmap.PanelOn
gmap.MessageToPanel("Click the RIGHT mouse button to finish")
Else
gmap.PanelOff
End If
Thanks in advance,
barry