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)
|
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
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user