Skip to content Skip to sidebar Skip to footer

Google Maps Javascript Api V3 Map Displays On Desktop Browser But Won't Display On Mobile Browser

I'm developing an app that displays a map using Google Maps Javascript API v3, and it displays the way it's supposed to on my desktop browser, but it doesn't on my mobile's browser

Solution 1:

I also encountered the same problem using navigator.geolocation which seem to work well on PC. I tried accessing it on my phone but keeps showing error. I finally resolved the issue by adding https:// to the address I was visiting on my mobile. Even if you don't have an SSL on your site, just add https:// to the url and everything will be fine.


Post a Comment for "Google Maps Javascript Api V3 Map Displays On Desktop Browser But Won't Display On Mobile Browser"