It use to have a problem when the image was loaded after the annotations because the load image function called the annotation initialization with an empty data var.
Now, data is a global var that is set by the load data function and directly used by the annotation initialization function when both the image and the data are loaded.
Fix #47
It use to have a problem when the image was loaded after the annotations because the load image function called the annotation initialization with an empty data var.
Now, data is a global var that is set by the load data function and directly used by the annotation initialization function when both the image and the data are loaded.