Commit 66d222e9 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

deprecated call replaced

parent 712b0ce5
......@@ -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});
};
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment