0

Fix up pull request #726

This commit is contained in:
Andrew Chin
2012-06-03 22:55:20 -04:00
parent e0a4976e6a
commit 7f1ccdc156
2 changed files with 4 additions and 6 deletions

View File

@@ -113,7 +113,7 @@ The following keys are accepted in the marker dictionary:
example above) example above)
``createInfoWindow`` ``createInfoWindow``
Optional. Specifies wether or not the icon displays a spezial info window on click. Defaults to true Optional. Specifies whether or not the icon displays an info window on click. Defaults to True
Generating the POI Markers Generating the POI Markers

View File

@@ -458,12 +458,10 @@ overviewer.views.SignControlView = Backbone.View.extend({
'icon': iconURL, 'icon': iconURL,
'visible': false 'visible': false
}); });
if(entity['createInfoWindow']) { if(entity['createInfoWindow'] == true) {
if (entity.createInfoWindow) { overviewer.util.createMarkerInfoWindow(marker);
overviewer.util.createMarkerInfoWindow(marker);
}
} else { } else {
if(dataRoot[i].createInfoWindow) { if(dataRoot[i].createInfoWindow == true) {
overviewer.util.createMarkerInfoWindow(marker); overviewer.util.createMarkerInfoWindow(marker);
} }
} }