An app that I work on has a bus prediction feature. In this feature we have a Google Map the displays a selected bus route as a Polyline and uses custom flat Markers. The problem is that on our Sony Xperia M (C1904) (running Jelly Bean 4.3), the…
I've looked through a lot of documentation and questions asked here on stack overflow (for instance How to smoothly keep moving current location marker in Google Maps v2 android and Android Maps API v2 Change MyLocation Icon) but haven't found any…
I'm making an app that uses google maps to show when you deviate from a path previously taken. I can show where the deviations occur with a different color, but I have to initialize a new PolyOptions(), resulting in "choppy" polylines instead of…
I'm trying to use Google Maps clustering in my Android project.
Currently for a start I actually copied the code from the demo
https://github.com/googlemaps/android-maps-utils
(which runs fine for me)
On my project, however, on
mClusterManager =…
is there any way to change language of place picker without change phone's language ?
in this link use change phone's language method :
Change title language PlacePicker
The following piece of code was instrumental to an iOS app I finished recently:
var closestLocation: CLLocation?
var smallestDistance: CLLocationDistance?
for location in locations {
let distance = currentLocation.distanceFromLocation(location)
…
After i realise my App, many User send me a ANR. All ANRs are comming up frome Android 5.0.
java.lang.VerifyError: Rejecting class de.berger.marcus.nwa_app.MapsActivity$2$1 because it failed compile-time verification (declaration of…
I want to create InfoWindow with custom margins. It's possible when I override getInfoWindow() from InfoWindowAdapter, but I have to maintain tooltip background by myself. I'd like to use original, default background.
Where this .xml/9-path…
So I've looked over many questions on this issue but have failed to find a solution.
Following is the error I'm currently receiving when I try to use the Google Maps Android API.
02-28 11:17:07.166 7445-7653/com.test.drawernav E/b: Authentication…
I've read the official documents of Google, but I could not find about my question.
I'd like to get route data by using DirectionsService.route() in Google Maps JavaScript API(browser key, client-side), and based on them draw routes on map loaded by…
I'm trying to add a lot of data to a google map (local 3MB+ kml file, will probably be more). I have tried using the KML-layer, but showing all these data seems to use a lot of processing power, so the application/map is getting laggy when scrolling…
I have about 200 Polylines on my Map.
Now i try to find out witch Polyline the User have Click.
But polyline.getId() give me every Time a new random number like PL65 next start of the App PL144 and so on.
Is there any Way to know witch Polyline the…
How can googleMap set OnTouchListener?
I am trying this code but error:
GoogleMap googleMap = …;
googleMap.setOnTouchListener(new OnTouchListener() {
@Override
public boolean onTouch(View v, MotionEvent event) {
if(event.getAction()…
In the last version of the Android App "My Tracks" (v2.0.11) there is a new Layer called "Earth" in the embedded Map (the map displays GPX tracks) :
Layer Options
This new Layer presents the GPX track in Earth mode (3D) :
Embedded Earth display
I…
I am trying to show maps in android using API v2.
I want Google material icon "my location" on map. But, whenever I try to add in layout, it does not reflect in output.
I am able to get maps without icon. I need icon to integrate with map.
When I…