Skip to content

Commit

Permalink
Merge pull request #327 from ranma42/patch-2
Browse files Browse the repository at this point in the history
Fix `Map.setDiv` with an HTMLElement
  • Loading branch information
wf9a5m75 authored Jul 28, 2020
2 parents 8c706ae + 7147ef8 commit c0ff40e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/@ionic-native/plugins/google-maps/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3223,7 +3223,7 @@ export class GoogleMap extends BaseClass {
});
} else {
if (domNode instanceof HTMLElement &&
!domNode.offsetParent &&
domNode.offsetParent &&
domNode.offsetWidth >= 100 && domNode.offsetHeight >= 100) {
return this._objectInstance.setDiv(domNode);
} else {
Expand Down

0 comments on commit c0ff40e

Please sign in to comment.