You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added transparency per docs to html, bodyion-content and any other parent elements that the google-maps element is nested in. I can see the map. The issue is we are stuck with a solid black background around the map and no way to style the underlying divs because everything has to be transparent.
How else can we work around this so the map doesn't just look like it's floating on a black abyss of empty space?
The text was updated successfully, but these errors were encountered:
You should probably just add elements (which then do have a background) around the area/div the map is displayed in. So you could add a header above it, a footer below it and just add some empty divs to the left and right
Hi, I have the same problem. Were you able to fix it? I'm using Vite 6, Capacitorjs 7 and ChakraUI V3. On the web I can see it fine, but on Android it looks like a floating map, and when I do the "destroy" my screen goes black.
Any ideas?
Code:
`import { useParams } from 'react-router-dom';
import { useEffect, useRef } from 'react';
import { GoogleMap } from '@capacitor/google-maps';
import { GOOGLE_API_KEY } from '@/apis';
import { Box } from '@chakra-ui/react';
Bug Report
Plugin(s)
@capacitor/google-maps
Platform(s)
Android
Current Behavior
Added transparency per docs to
html
,body
ion-content
and any other parent elements that the google-maps element is nested in. I can see the map. The issue is we are stuck with a solid black background around the map and no way to style the underlying divs because everything has to be transparent.How else can we work around this so the map doesn't just look like it's floating on a black abyss of empty space?
The text was updated successfully, but these errors were encountered: