Rename style.graphicTitle to style.title (the former is now deprecated)
This commit is contained in:
@@ -241,8 +241,9 @@ OpenLayers.Renderer.Canvas = OpenLayers.Class(OpenLayers.Renderer, {
|
||||
drawExternalGraphic: function(geometry, style, featureId) {
|
||||
var img = new Image();
|
||||
|
||||
if (style.graphicTitle) {
|
||||
img.title = style.graphicTitle;
|
||||
var title = style.title || style.graphicTitle;
|
||||
if (title) {
|
||||
img.title = title;
|
||||
}
|
||||
|
||||
var width = style.graphicWidth || style.graphicHeight;
|
||||
|
||||
Reference in New Issue
Block a user