Skip to content
Snippets Groups Projects
Commit 7d70ab39 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

fix allowing opening info window in submap

parent 1c63247f
No related branches found
No related tags found
1 merge request!164Resolve "opening info window on submap doesn't work"
......@@ -83,9 +83,9 @@ MarkerSurfaceCollection.prototype.addMarker = function (params) {
element: element,
map: self.getMap(),
onClick: [function () {
return self.getMap()._openInfoWindowForIdentifiedElement(element, result.getGoogleMarker());
return self.getMap().getTopMap()._openInfoWindowForIdentifiedElement(element, result.getGoogleMarker());
}, function () {
return self.getMap().callListeners("onBioEntityClick", element);
return self.getMap().getTopMap().callListeners("onBioEntityClick", element);
}]
});
result.setIcons(icons);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment