Error when using GMmarker and GMDirection at the same time in a form
Brought to you by:
cadetill
When i show some markers on a map and then close the programm, all is ok. But when in addition to the markers there is shown the direction (route) too, then i get an error when closing the programm:
Exception EInvalidPointer in module ProjectMarkerAndRoute.exe at 0003C09.
Invalid pointer operation
It looks, that the error occurs when the VisualObjects are destroyed, but i could not locate the error.
Hi
Don't use a direct assignation, instead use the Assign method