axMap1.DrawLabel() crashes MapWinGIS

Description

As mentioned in https://github.com/MapWindow/MapWinGIS/issues/39 and in https://plus.google.com/u/0/111423356054890877430/posts/CkZZToCUE38?cfem=1

When calling this piece of code crashes MapWinGIS when running axMap1.DrawLabel():

axMap1.DrawLabelEx() is also crashing.

Environment

None

Activity

Show:
Paul Meems
September 14, 2017, 1:22 PM
Edited

Fixed it:

The problem is only happening only when you have loaded no layers just drawing layers. As a workaround you could try to add a layer, it can be just a point layer with 1 point.

Assignee

Paul Meems

Reporter

Paul Meems

Labels

Fix versions

Affects versions

Priority

Medium
Configure