ionic-team / ionic-native-google-maps

Google maps plugin for Ionic Native
Other
221 stars 125 forks source link

Google Maps does not render on certain devices. #290

Closed Fresh-Dev-zunairzakir closed 4 years ago

Fresh-Dev-zunairzakir commented 4 years ago

Just like same issue as mentioned here: https://github.com/ionic-team/ionic-native-google-maps/issues/150 I am fresh dev, please help me in this! Thanks.

wf9a5m75 commented 4 years ago

If you run your app does not show the map on all Android devices, it's your API key problem.

If only one device does not show, the device problem. Just give up.

Fresh-Dev-zunairzakir commented 4 years ago

@wf9a5m75 I don't think so since It is working fine for platform browser as well as ionic serve.

<div _ngcontent-kbs-c35="" class="ps-form-map _gmaps_cdv_" id="google-map-canvas" __pluginmapid="map_0_476520398831" __plugindomid="pgm220196381411" style="overflow: hidden;"><div style="position: absolute; left: 0px; top: 0px; width: 0px; height: 0px; overflow: visible; z-index: 1;" __plugindomid="pgm395663358831"></div></div>

This is the last element that has '0px' height and width. And when doing portrait to landscape or landscape to portrait for very few mili second I am able to see map behind the screen in white background, there is some issue with github while uploading any screenshot. Please tell me confirm issue and how to resolve, Thanks for quick reply :)

wf9a5m75 commented 4 years ago

Implementation of browser and Android/iOS are different.

Fresh-Dev-zunairzakir commented 4 years ago

Yes for Browser I have implemented separate implementation and for Android I did same as mentioned in your presentation. https://docs.google.com/presentation/d/e/2PACX-1vScoho1ensbR4qCI9AIuQN55BZVvK73pAjI7sumDvW3CrxxHnrmpXWUjx2-8CpFibqU1EjLKCRhuthJ/pub?start=false&loop=false&delayms=3000&slide=id.p

And I was working before but I don't know why it suddenly stop working. Please understand the scenario.

Fresh-Dev-zunairzakir commented 4 years ago

Any response?

wf9a5m75 commented 4 years ago

Please share your project files on GitHub repository. You can share your code in private/public repository, or please create a small project that reproduce your issue.

Fresh-Dev-zunairzakir commented 4 years ago

Map on Portrait mode: https://drive.google.com/open?id=1k4aNqDSO0g7E-akBpGf3xTXS3oldmkPQ

On Landscape mode: https://drive.google.com/open?id=1VNhW0HPbgkSAeRsBj7o5LDjgeeIAaqyv

Please let me know If you understand my issue.

wf9a5m75 commented 4 years ago

I asked "please share on GitHub repository" not Google drive. I can't see it from mobile device ( I'm super busy, so I don't have enough time to check your code with setting on a chair, that's why)

Please share your code on GitHub repository

Fresh-Dev-zunairzakir commented 4 years ago

@wf9a5m75 It's not the code they are just images which I am not able to attach in comments. Kindly check If you can.