Tag: google-maps

Google Maps API V2 'Failed to Load Map. Could not contact Google Servers', Even I check permission and keystore

I follow the guide to create a google map sample, but it always throw following error. E/Google Maps Android API(27821): Failed to load map. Could not contact Google servers. permission READ_GSERVICES and debug and release keystore have been tested. They also can’t resolve above problem. Could anyone tell me why it throw that error? Manifest […]

Android Google maps API V2 center markers

Is there a way to make a map zoom in as far as possible but keeping all of the markers on screen at the same time. I have six markers in a non uniform shape. I was thinking of just taking their centre and locating the map to that, but I still then do not […]

Change the margin color of InfoWindow view of marker in google maps api v2

Hello I try to change the default color that have (white) to black, this in the google maps api v2, anyone know how I can do this? PD: is the margin of infowindow this is my code where I change the content of infowindow but need change the margin :S GoogleMap map = …. map.setInfoWindowAdapter(new […]

How to clear all the markers in v2 google map?

I need to clear all markers in v2 google map. And again need to add some markers. If anybody knows the answer kindly share your thoughts.

Removing the highlight when touching infoWindow adapter

I’ve implemented a custom infoWindow which I programmed to display when touching a marker. When I touch the infoWindow, it highlights in the default blue color (on Jelly bean) as stated by the Google Maps v2 API. The issue is that I can’t seem to disable this highligh. I have tried adding: <android:clickable=”false”> but it […]

How to smoothly keep moving current location marker in Google Maps v2 android

I have placed a marker for my location. I would like to move my marker smoothly something like the Google maps app. The blue circle moves very smoothly when I keep moving in my car. I would like implement the same for my app. how do I implement this on my app? As of now […]

Change or completely remove the highlight color of an InfoWindow of the Google Maps v2 on Android

Is there any possibility to change the highlight color of an InfoWindow in the Google Maps v2 component for Android? I already accepted the fact that there is no common way to apply custom press highlights for the widgets that reside in a custom InfoWindow View passed through a custom InfoWindowAdapter as the View is […]

Can not execute application with maps on Android device running 4.0.3 ICS

Well just finished an application with some basic map functionality. Was testing across multiple sdk to ensure proper execution and support. Found that it would not execute on a Tablet that I have which runs on Android 4.0.3 ICS. (Note: Standard MAPS and NAVIGATION apps work fine). Executing the same for an emulator wont raise […]

Android- Google map v2 Draw circle

Google, on Feb 26, released Circle as an overlay type: https://developers.google.com/maps/documentation/android/reference/com/google/android/gms/maps/model/Circle But how do I update to the new release of Google Map V2? When will it be available in Android SDK Manager? I have the previous Google Map V2 library within “Google Play Services” (Rev. 5) which does NOT include Circle class

It is possible to remove the Shadow of the Icons (items) on a googlemap?

I have a Google map with these kind of items on it: drawable3 = this.getResources().getDrawable(R.drawable.trazeicon); but automatically, Android draws a shadow of the image trazeicon on the map, and I don’t want to have that shadow. How can I remove it? EDIT: I got the error: Syntax error, insert “}” to complete ClassBody Here is […]

Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.