for (var name in annotationStyle) {
            if (annotationStyle.hasOwnProperty(name)) {
                div.style[name] = annotationStyle[name];
            }
        }