Rename style.graphicTitle to style.title (the former is now deprecated)

This commit is contained in:
Frederic Junod
2012-05-15 12:46:41 +02:00
parent d01f57d3e6
commit 8268616ec8
5 changed files with 17 additions and 12 deletions
+3 -2
View File
@@ -207,8 +207,9 @@ OpenLayers.Renderer.VML = OpenLayers.Class(OpenLayers.Renderer.Elements, {
options = options || node._options;
var fillColor = style.fillColor;
if (style.graphicTitle) {
node.title=style.graphicTitle;
var title = style.title || style.graphicTitle;
if (title) {
node.title = title;
}
if (node._geometryClass === "OpenLayers.Geometry.Point") {