Skip to content

Commit c0ff40e

Browse files
authored
Merge pull request #327 from ranma42/patch-2
Fix `Map.setDiv` with an HTMLElement
2 parents 8c706ae + 7147ef8 commit c0ff40e

File tree

1 file changed

+1
-1
lines changed
  • src/@ionic-native/plugins/google-maps

1 file changed

+1
-1
lines changed

src/@ionic-native/plugins/google-maps/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3223,7 +3223,7 @@ export class GoogleMap extends BaseClass {
32233223
});
32243224
} else {
32253225
if (domNode instanceof HTMLElement &&
3226-
!domNode.offsetParent &&
3226+
domNode.offsetParent &&
32273227
domNode.offsetWidth >= 100 && domNode.offsetHeight >= 100) {
32283228
return this._objectInstance.setDiv(domNode);
32293229
} else {

0 commit comments

Comments
 (0)