mapview as squares - android

I have a problem. I have always generated api keys to display my mapviews and I have never had problems. Now, instead, every generated key makes my mapview on my smartphone displayed as little squares, as if there isn't network. Can you help me?

Is it v1 maps sdk? Do you he correct permission (network) ? What about log. Maps are logging about errors so look there.

Related

Google API Key still in use after deletion

I'm having a weird issue with an app and maybe there's something I don't know that's causing it...
I did a simple app (OldApp) which uses Google Maps and it worked fine. I then tried to do a second app (NewApp) using Maps, so I got a new API Key for it, renamed the packages, etc.
My problem was that the map wasn't being shown in NewApp, I just had a light yellowish image with Google's logo. After checking that everything was ok with the keys and names, I deleted the key for the OldApp that I'd setup before, to make sure it wasn't somehow "blocking" something.
Now, my OldApp (for which there's no key signed) is still showing the map ! I even set the key as :
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="adf" />
Meanwhile my NewApp is still not working.
So, is there a reason for this behaviour ? Does it take some time for the keys to update maybe?
Thank you in advance, and let me know if it's not clear or if there's something I could add.
As to why it kept working, the answer was provided here : https://stackoverflow.com/a/20049864/3802589 , basically the key was still in memory.
As to why the new map wouldn't load the map, it was just because Wifi Direct kept turning off Wifi and therefore it couldn't load the tiles.

Dont find any solution, maps in android v2 dont shows up

I have seen a lot of posts, but when I pass the .apk project to a friend, my friend cannot see the maps. It only shows the +- arrows and a gray background. On my phone and tablet it works fine, but on his phone it does not.
Can help me with this, or pass me a link to a similar problem?
make sure your maps api key is setup correctly. You probably have a missing mapsapi key or an invalid one.

Adding Makers To Google Maps V3 When No Data Connection

I am in a situation where, even if there are no maps being displayed due to no connection (the screen is just blank with not features available), I still want to add the markers and polylines onto the Google Map.
Is this possible?
It seems that if there is no data and no maps have been loaded that nothing is displayed?
THANKS IN ADVANCE
This issue is described here: http://code.google.com/p/gmaps-api-issues/issues/detail?id=5017
There seems to be a workaround of not using ACCESS_NETWORK_STATE.
They will probably fix it completly in the next release.

Index Out of Bounds suddenly for some users in Mapview ANDROID

java.lang.ArrayIndexOutOfBoundsException
at com.google.googlenav.map.Map.drawMapBackground(Unknown Source)
at com.google.googlenav.map.Map.preLoad(Unknown Source)
at com.google.android.maps.MapController.animateTo(MapController.java:234)
at com.google.android.maps.MapController.animateTo(MapController.java:225)
Code has been working beautifully for months, now suddenly I am getting reports of the following bug. The API KEY is correct, and works for me so I don't think that's it.. but I suppose I could resubmit the MD5 to Google, but fear that will change the KEY and break everyone who hasn't upgraded.
I don't know why this is happening, as its not in code that I control, I do call an aminate to user location but validate that the location is not null before I call it, so I don't think that's it.. Is it possible that UserLocation can exist but have invalid values? API says it should be NULL if it hasn't been set yet, but I've been burned before by manufacturers who don't follow the API properly.
I Really wish The Android Marketplace would include device information with bug reports.
I don't know what you are exactly looking for, b'coz you didn't provide any code..
but i am facing the same problem in zoom in/out ,strong text and i am finally got the answer in Android Cluster Mapping.
look for it ..it might help you.
one of the i followed:
Android Maps Point Clustering

Android Google Maps Maritime charts layers

I'm looking at displaying a map within my Android app that presents maritime charts, and also needs to work offline as there will be no network connectivity of any type available. I suspect that I will get my maritime charts supplied as a series of bitmap files with LAT/LON references of the area clipped.
My question is this - how do I go about implementing this ? I guess I have to add them as a layer somehow, can someone show me how to do this ?
Also, as the device will be offline, will there be a problem trying to use Google maps even if all the content is held locally, will the API just "not work" until it has connectivity ?
Thanks in advance.
As this just earned Tumbleweed, I thought I should update it.
I tried really hard to use the Maps API offline, with my bitmap as a layer - it didn't work out. The API is too reliant on the interweb and just seems to timeout when trying just about anything.
Simple solution, I have just extended the ImageView class to display my bitmap chart & overlays.

Categories

Resources