Commit 51bec36d0d608dfa87b6381e410d2cb01baa0482
Committed by
Andrew Shvayka
1 parent
28e2c74c
Fix initcallback function in google maps
Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -55,7 +55,7 @@ export default class TbGoogleMap { |
55 | 55 | angular.merge({imagePath: 'https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m'}, markerClusteringSetting)); |
56 | 56 | } |
57 | 57 | if (initCallback) { |
58 | - initCallback(); | |
58 | + setTimeout(initCallback, 0);// eslint-disable-line | |
59 | 59 | } |
60 | 60 | |
61 | 61 | } | ... | ... |