Google Maps V3 on HDPI Android - android

Anyone know what might be going on with the Google Maps V3 on HDPI Android devices? When the map loads on my device it zooms to the appropriate level when first loading, but then pops out of the zoom to a much smaller zoom level1. I have changed no code, but this change happened in the last couple days. I found documentation regarding display of Google Static Maps on HDPI devices and am hoping someone can point me in the right direction to correct this issue using v3.
Here are screen shots to show initial and then final:

This may be a problem with the latest nightly release of the Maps API. Try specifying v=3.5 when you load the API.

Related

Google maps app works on Android 9.0 but not lower

I recently started programming with cordova (using eclipse) for a Google map multiplatform app.
Currently, I am only working on android builds.
The app works well on Android with API 28, it shows a yellow flash screen with blue words then the google maps, makes a call to retrieve some data from my data base and shows it on the map. There is also a lateral black menu bar (working on that content).
But, if I try to execute this app on an Android 7.0 (API 24) or basically any other API lower than 28. The flash screen is completely white with blue words instead of yellow and the Google maps doesn't load (the side black menu does).
I have done some debugging to that and the app still does the call to my data base and retrieves the information. It doesn't show any error (it showed some but I corrected them and didn't solve this issue).
Does anyone have any idea what the problem might be?
Thanks a lot to all of you.
EDIT:
Here is the code and some new logs i got after trying to solve the problem.
https://www.dropbox.com/s/lm8fbsk6v97frq3/www.rar?dl=0
in the map API inicialization i had to take out the our API key since i am not allowed to share it.
Thanks for your interest with my problem. Ask me anything.
I just ran your app on a Nexus S Android 7.0 (API 24) emulator and indeed, your map did not show up at all.
I changed its height from 100% to a fixed size such as height:400px and then it loaded without issues. Switching back to height:100% and then adding position:absolute also worked, and so did wrapping the map in a containing <div> with a given height.
The thing is, a Google map needs to have an explicit height set in order to be displayed at all, but your map and body both do have a height, so upon further code inspection I noticed you're using jquery mobile which has its own CSS. I removed both your jquery mobile's JS and CSS scripts and voila! The map's right there. :)
Check the google play version of your emulator to see if its compatible. On my emulator, and old version of the google maps API would not register or load unless I had fully updated the play store. This could be fixed by downgrading the version of the google maps API you are currently using to a previous version.

Google map api it’s not work in API27 emulator

I can’t use google map with android emulator in API27.
When I open the app, it show nothing ,just google logo show at left-down corner.
But it work in API26 and lower version emulator with the same code.
I know many people have the same problem too.
But there is no solution to fix this problem.
I hope there is any one had fixed it and tell me what’s going on....
Thanks
https://upload.cc/i/4C65rs.png
E/Google Maps Android API: Google Maps Android API v2 only supports devices with OpenGL ES 2.0 and above

Google Maps API V2 - InfoWindow miss the marker

I believe the picture says everything. I have my app running on several devices, but ONLY with this particular device of friend of mine (a Galaxy S4) the InfoWindow miss the marker.
My guess it is something related to the very high density of his device (XXHIGH).
I also installed the sample map application from the SKD on his device and the result is the same, which proves that there's nothing wrong with my code:
Any ideas?
Thanks
I suggest posting this on gmaps-api-issues with a screenshot from maps sample app.
Edit:
Posted here: http://code.google.com/p/gmaps-api-issues/issues/detail?id=5439

Map overlay - Google streetmap not displaying

Complete beginner here so forgive me.
Porting an iOS App over to Android. We have custom image tiles laid over google maps. On iOS the streetmap displays as usual outside of our custom image tiles however on the Android version it is only showing a blank grid and we can't figure it out. The location works however it's just not showing the map.
We've tried a couple of different devices and the issue is the same across the board.
Any suggestions? If there is more info that I can provide that might help narrow the issue down, just ask.
EDIT: The device we are testing it on is a HTC. Apparently it works on a Nexus. Known compatibility issue?
If your MapView is not loading standard map tiles, either:
you do not have the INTERNET permission, or
you do not have an Internet connection, or
you are not using the right Maps API key for the signing key

Pinch to Zoom Google Maps API v3 Android Webkit

I am writing a webkit app, and i'm using google maps api v3. I tried it on a android phone (HTC Desire) but it dosen't pinch to zoom. Note, i don't want to pinch and zoom a web page I want to pinch to zoom a google map v3 map in a web view. Has anyone got this working on android?
It would appear that, currently, you cannot rely on being able to receive pinch-to-zoom events on Android browsers. Here it is in the Android issue tracker: http://code.google.com/p/android/issues/detail?id=11909
works in tablet 3.2 - Amazing pinch to zoom on a map works ! just like ipad. Who would have thought that a new version of android would fix an issue - rather than creating another bug - requiring yet another work around. Android i rate your version control 2 stars out of 5 up from 1 well done..well ...better get back to fixing the incompatibilities in my other apps!

Categories

Resources