How to hide show map in angular ionic #228
Replies: 6 comments 3 replies
-
"@capacitor-community/google-maps": "^2.0.0-beta.1" dev dep app.component.ts async initializeMap(lat: number, long: number, elementRef: ElementRef) {
async ngOnInit(){ app.component.html "<div id="map-container" #map> " //working only the code without comment app.component.scss #map-container{ |
Beta Was this translation helpful? Give feedback.
-
Then how to solve this issue ? Is it feasible ? Or it's a limitation from package itself? |
Beta Was this translation helpful? Give feedback.
-
Any workaround possible in this case ? |
Beta Was this translation helpful? Give feedback.
-
Check if your CSS, configuration, and lifecycle hooks are correctly set up in capacitor-community/google-map and review the package's documentation and community for specific solutions. |
Beta Was this translation helpful? Give feedback.
-
i am using
<div [hidden]="isMapEnabled" id="map"></div>
and loading the map on same container , in capacitor/google-map it was working but not working in capacitor-community/google-map in this package it not getting visible instead a blank screen is there
Beta Was this translation helpful? Give feedback.
All reactions