Tag: google-maps

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 […]

How to open Google Maps using address?

How can I open Google Maps(using Intents or adding Google Maps into my application) with address? I have the address, but I don’t have latitude/longitude. How can I do it? Thank you.

Is there a way to invoke navigation from mobile browser?

I am developing a very small HTML5/javascript website to be openned by mobile browsers from devices like android / iphone. I am using geo location of HTML5 to get the current location but once I have that I want to navigate to some destination. The best I came up with was that the user clicks […]

How to detect a click on a polyline

If there is a polyline on googlemap and a click is performed on the map, then how can I check whether that click was on polyline or somewhere else? Polyline line = googleMap.addPolyline(new PolylineOptions() .add(new LatLng(51.2, 0.1), new LatLng(51.7, 0.3)) .width(5) .color(Color.RED)); googleMap.setOnMapLongClickListener(new OnMapLongClickListener() { } });

Android google map turn by turn navigation

I am developing turn by turn navigation from current location to destination. I done this by using below code Uri gmmIntentUri = Uri.parse(“google.navigation:q=”+address); Intent mapIntent = new Intent(Intent.ACTION_VIEW, gmmIntentUri); mapIntent.setPackage(“com.google.android.apps.maps”); startActivity(mapIntent); The problem is that if click back in screen 1 it takes to screen 2. Then if i click back in screen 2 it […]

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