There is no reason to restrict graphicTitle to externalGraphic symbols.
This commit is contained in:
@@ -207,12 +207,13 @@ OpenLayers.Renderer.VML = OpenLayers.Class(OpenLayers.Renderer.Elements, {
|
||||
options = options || node._options;
|
||||
var fillColor = style.fillColor;
|
||||
|
||||
if (style.graphicTitle) {
|
||||
node.title=style.graphicTitle;
|
||||
}
|
||||
|
||||
if (node._geometryClass === "OpenLayers.Geometry.Point") {
|
||||
if (style.externalGraphic) {
|
||||
options.isFilled = true;
|
||||
if (style.graphicTitle) {
|
||||
node.title=style.graphicTitle;
|
||||
}
|
||||
var width = style.graphicWidth || style.graphicHeight;
|
||||
var height = style.graphicHeight || style.graphicWidth;
|
||||
width = width ? width : style.pointRadius*2;
|
||||
|
||||
Reference in New Issue
Block a user