We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a369cc commit 507d5f3Copy full SHA for 507d5f3
src/google_map.js
@@ -404,6 +404,8 @@ export default class GoogleMap extends Component {
404
this.map_ = map;
405
this.maps_ = maps;
406
407
+ this._onGoogleApiLoaded({map, maps});
408
+
409
// render in overlay
410
const this_ = this;
411
const overlay = this.overlay_ = assign(new maps.OverlayView(), {
@@ -460,8 +462,6 @@ export default class GoogleMap extends Component {
460
462
this_.updateCounter_++;
461
463
this_._onBoundsChanged(map, maps, !this_.props.debounced);
464
- this_._onGoogleApiLoaded({map, maps});
-
465
div.style.left = `${ptxRounded.x}px`;
466
div.style.top = `${ptxRounded.y}px`;
467
if (this_.markersDispatcher_) {
0 commit comments