android-maps

Anyone implemented the BalloonItemizedOverlay (with multiple points) successfully?

不问归期 提交于 2019-12-14 03:08:34
问题 i don't get it. i can plot one point successfully with the BalloonItemizedOverlay, however, when i plot multiple points, the background switches from a street view to a solid ocean blue color. the markers are plotted correctly on the overlay and i can click on the markers and it does what it's told, but i just don't get why my street view disappears and gets replaced by a ocean blue background. anyone else run into this? What am i doing wrong? I noticed that when it gets to the animateTo()

Android M Google API's to use Google Maps and other permissions

丶灬走出姿态 提交于 2019-12-14 02:49:25
问题 I have Android M set up for my project and could build fine. However, When i launch the app, i see the following error and app doesn't launch: <06-23 11:53:24.833 32416 32416 W System.err: java.lang.RuntimeException: **Unable to create application xxxxx: java.lang.SecurityException: "gps" location provider requires ACCESS_FINE_LOCATION permission.** 06-23 11:53:24.833 32416 32416 W System.err: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4697) 06-23 11:53:24.833

How to install Google Map API for android API level 8

浪子不回头ぞ 提交于 2019-12-13 16:22:40
问题 I'm new to android n i want to develop application in Android (for 2.2 Version) with use of Google Map API i found various tutorial like this http://www.androidhive.info/2012/01/android-working-with-google-maps/ but i'm unable to find how to install Google Map API for API level 8 like in this link. Can any one please provide me the link which explains the installation of old API's because i have google Map API for level 14 but i want to install for level 8. Thanks in advance. 回答1: Step #1:

Importing AndroidMapsExtensions into Android Studio

邮差的信 提交于 2019-12-13 06:14:22
问题 I have been trying relentlessly to use this library. Everytime I add it, I lose all android.support.v4 and com.google.android.gms.maps cababilities. There is very little documentation for this library. Is there any tutorial that I have overlooked in my extensive Google searching? Here's my gradle file: dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:21.0.3' compile 'com.google.android.gms:play-services:6.5.87' compile 'com

GeoCoords from Android Google Maps SEND Intent

痞子三分冷 提交于 2019-12-13 05:44:37
问题 Hello my fellow coders, I am trying to retrieve GeoCoordinates from an Android Google Maps SEND Intent (as dispatched when selecting to share a selected location) and even after searching around and trying various approaches for hours now I can't seem to get anywhere. However, all I seem to get from the Intent seems to be a text/plain content like this: Franziskaner Wirtshaus & Biergarten - Trudering-Riem, München https://some/shortened/maps/link I tried (amongst others) several approaches

Android Google Maps API V2.0 - Including MapView in XML

浪子不回头ぞ 提交于 2019-12-13 02:24:52
问题 I am trying to insert a MapView into a Fragment however I can't find the correct class to cast the MapView object to. I am inserting the MapView into my fragment like so. <com.google.android.gms.MapView android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/map_view_track"/> However, I inevitably get a ClassCastException . Is it possible to insert a MapView this way? I'm pretty sure it is. 回答1: com.google.android.gms.Maps does not exist as a class, AFAIK.

How to generate release key in android

笑着哭i 提交于 2019-12-12 19:44:30
问题 i've done simple map application.Here i got api key from debug.keystore .Its working fine on emulator.when i try to get it as apk file & run that on device.,it didnt display map.i think i need to create release key for that.How can i generate release key for that & how can i make my appn signed with that key.Anybody let me know the procedures for that.i used http://developer.android.com/guide/publishing/app-signing.html. But im not much clear. 回答1: You have to generate a key for the

Save markers on Android google maps v2

女生的网名这么多〃 提交于 2019-12-12 08:09:43
问题 I am using Android Google maps v2 API and have it set up to add markers on long click. I need a way to save these markers and reload them when the app resumes again. What will be the best way to do this? Please help Currently I add markers as follows: map.addMarker(new MarkerOptions().position(latlonpoint) .icon(bitmapDescriptor).title(latlonpoint.toString())); 回答1: I got it! I can easily do this via saving the array list of points to a file and then reading them back from file I do the

GoogleMaps - Actual Map not showing

随声附和 提交于 2019-12-12 00:23:25
问题 I was following this tutorial: http://www.vogella.com/articles/AndroidLocationAPI/article.html --> Paragraph 6.0 Problem: My emulator runs perfectly fine and everything works good (it zooms and everything), however, the actual map is nothing but a grid. It states that I should be able to send coordinates via the emulator, but how? Possible Solutions? - Is my API key not correct? Am I not sending the correct coordinates? (I click random numbers and letters) 回答1: You're correct. Normally that

Can't Identify which element is used…?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-11 23:34:01
问题 I've an android application, which set Location based reminders. After I added an alarm, it displays as following. I can't understand which component is used to display the small map and text both. Also the small map has location which I've selected on the map. I'm developing similar application, and I want to use this type of display feature. 回答1: That looks like a Lite mode Google Map to me. this video is the best explanation on the internet and covers the use case i think you are refering