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

deprecated call replaced

parent 712b0ce5
No related branches found
No related tags found
1 merge request!5Frontend refactor
......@@ -252,7 +252,7 @@ CustomMap.prototype.clearOverlayCollection = function(collection) {
*/
CustomMap.prototype.updateOverlayCollection = function(overlayCollection, fitBounds) {
this.clearOverlayCollection(overlayCollection);
this.renderOverlayCollection(overlayCollection, fitBounds);
this.renderOverlayCollection({overlayCollection:overlayCollection, fitBounds:fitBounds});
};
/**
......
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