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

google map can be null or undefined

parent 004779aa
No related branches found
No related tags found
1 merge request!276Resolve "Searching on submaps sometimes doesn't creates markers"
Pipeline #
This commit is part of merge request !276. Comments created here will be created in the context of that merge request.
......@@ -78,7 +78,7 @@ AbstractMarker.prototype._updateIcon = function () {
self.hide();
} else {
googleMarker.setIcon(GuiConnector.getImgPrefix() + self.getIcon());
if (googleMarker.getMap() === null) {
if (googleMarker.getMap() === null || googleMarker.getMap() === undefined) {
self.show();
}
}
......
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