Fix up pull request #726
This commit is contained in:
@@ -113,7 +113,7 @@ The following keys are accepted in the marker dictionary:
|
||||
example above)
|
||||
|
||||
``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
|
||||
|
||||
@@ -458,12 +458,10 @@ overviewer.views.SignControlView = Backbone.View.extend({
|
||||
'icon': iconURL,
|
||||
'visible': false
|
||||
});
|
||||
if(entity['createInfoWindow']) {
|
||||
if (entity.createInfoWindow) {
|
||||
overviewer.util.createMarkerInfoWindow(marker);
|
||||
}
|
||||
if(entity['createInfoWindow'] == true) {
|
||||
overviewer.util.createMarkerInfoWindow(marker);
|
||||
} else {
|
||||
if(dataRoot[i].createInfoWindow) {
|
||||
if(dataRoot[i].createInfoWindow == true) {
|
||||
overviewer.util.createMarkerInfoWindow(marker);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user