setting cursor property on text labels. r=fredj (closes #3188)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11736 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -837,6 +837,9 @@ OpenLayers.Renderer.VML = OpenLayers.Class(OpenLayers.Renderer.Elements, {
|
|||||||
|
|
||||||
textbox.innerText = style.label;
|
textbox.innerText = style.label;
|
||||||
|
|
||||||
|
if (style.cursor != "inherit" && style.cursor != null) {
|
||||||
|
textbox.style.cursor = style.cursor;
|
||||||
|
}
|
||||||
if (style.fontColor) {
|
if (style.fontColor) {
|
||||||
textbox.style.color = style.fontColor;
|
textbox.style.color = style.fontColor;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user