Android :: Dynamic Overlays Slowing Down Google Maps (2.1) On Nexus One
May 7, 2010
I'm trying to create a dynamic ItemizedOverylay (please see the code below) on Google Maps (Android 2.1) on a Nexus One. In my Activity (that extends MapActivity) I'm creating a data thread that is receiving data from the network. A 'handler' is used to communicate the data from the receiving thread to map activity. This data contains the locations (lat, lon) of the markers that I want to overlay on my map. The location of each marker is dynamic (i.e., it changes every time I receive new data from the network.) refreshItems(ArrayList<OverlayItem> newItems) method in invoked inside the handleMessage() of the handler. There are around 11 markers in the ArrayList that is passed to refreshItems
I can see the markers overlayed on the map. However, I've two issues:.....................
View 1 Replies
Sep 23, 2010
I've searched here and on the interweb, but cannot find out how to add overlays (.kml files) into Maps or Earth. Can it even be done (shame if not) and if so, how do I do it.
EDIT: I've tried MyMapsEditor, but that doesn't run on Froyo.
View 2 Replies
View Related
Oct 29, 2009
I've been reading the (shoddy) documentation for the Google Maps API (MapActivity et al), and I think I have roughly worked out how it works. It seems that if you want to add a marker overlay you can use ItemizedOverlay easily, but you have to add all your markers at once. There doesn't seem to be any way to remove them.
What I want to do is query markers from an online database as the user pans around (in the same way the actual map tiles are fetched). Is there a simple way to do this?
As far as I can tell I need to subclass Overlay and implement the draw method, but where is the best place to put the code that fetches new markers when the map is panned? There doesn't seem to be an onMapChanged() method anywhere. My best guess is MapController.onKey() but that seems wrong.
View 2 Replies
View Related
Aug 16, 2010
What can I do with the "shadow layer" of the the google maps overlays? I tried, naively, to draw something (an arc) only when (shadow == true) and got nothing? I'm interested in drawing arcs and arc shadows on a map. is there a nice google-maps way to do this?
View 5 Replies
View Related
Feb 16, 2010
I cant find or/and download new google maps. I tried searching different keywords, m.google.com/maps, Even QR code.
View 41 Replies
View Related
Jul 16, 2013
I still haven't got Google maps 7.0.1 update for my nexus 4... All my friends who r using nexus 4 & note 2 have got the update...
View 2 Replies
View Related
Mar 29, 2010
I just got my phone and the battery might still be stabilizing, and of course I'm fiddling with it a lot and I've installed heaps of apps, but I can't quite work out something. I unplugged my phone at midnight and this morning found my phone at 70% charge. I also got a message from my provider that I'd used up all my data. I checked and found that my phone had used up (sent+received) 30MB overnight. Google Maps was the biggest culprit - it received 700K but it sent almost 8MB. This is while the phone was sitting on my bedside table! And of course, as I'm driving to work (not using the phone at all), Google Maps was transmitting my location information back to it's servers so that the traffic flow is updated on their systems.
That's cool, but there doesn't appear to be any way to disable or turn off this in GM's configuration, or even exit the app. It seems that having My Location services enabled gives Google Maps (and I'm sure other apps like weather, gmail, Contacts, etc.) free reign to send and transmit data all the time. I don't want to have to disable My Location services completely; I want finer control over things on a per-app basis. Having Google Maps transmit 8MB overnight might not seem like a lot, but when the phone is idle, it disables wireless (to save battery) and thus all data is going through 2G/3G and I'm incurring data charges.
View 4 Replies
View Related
Aug 9, 2010
Currently I've been using google's static maps to display maps in a phonegap app I'm developing. But I'm wondering if there's any way to load a google map that the user could scroll into and out of? I would want similar functionality as the maps app in most mobile environments. Is there any way to incorporate that type of service into my app?
View 2 Replies
View Related
Nov 24, 2010
I want to do the following and am kind of stuck on these for a few days:
1) I was trying to draw poly lines ( I have encoded polylines, but have managed to decoded those) that move when I move the map(the only solution that I found was for Geopoints to be transformed into screen co-ordinateswhich wont move if I move the map !)
2) I have used helloItemizedOverlay to add about 150 markers and it gets very very slow.any idea what to do ? I was thinking about threads(handler)
3) I was looking for some sort of a timer function that executes a given function, say, every 1 minute or so.
4) I was also looking for ways to clear the Google map from all the markers/lines etc
View 1 Replies
View Related
Mar 31, 2010
I want to clear all map overlays or markers from google map and using following code
if(!mapOverlays.isEmpty())
{
mapOverlays.clear();
}
which is giving me exception can any one guide me? am i right or wrong if i am wrong then kindly provide me the solution to my problem. i want map clean if there is any marker on it.
View 2 Replies
View Related
Sep 20, 2010
i am showing list of map overlays on google map using following code
mapOverlays = mapView.getOverlays();
drawable = this.getResources().getDrawable(R.drawable.balloon);
itemizedOverlay = new MarkerItemizedOverlay(drawable,this);
GeoPoint point;
OverlayItem overlayitem;
for (DalMapSearch t : Sr)
{
if(t != null)
{
point = new GeoPoint((int) (t.getLati() * 1E6), (int) (t.getLongi() * 1E6));
overlayitem = new OverlayItem(point, heading, t.getAd_text()+", "+t.getLocation()+"@@"+t.getAd_id());...................
so in such a scenario balloon is displayed i want to show other images too depened upon category or a if statement. any one guide me how can i show different images as a map overlay? for example images are imageA,ImageB,ImageC
View 1 Replies
View Related
Feb 16, 2010
Got some errors following the tutorial for MapView when i was going to integrate overlays.
CODE:..............
I am trying to learn and i got an awesome app idea which needs mapview, webview, overlays and tabs.
View 1 Replies
View Related
Sep 25, 2010
I use the google code from devloper.android.com I use that application but in the emulator it shows only the crossed lines not the map so is there any settings in emulator for displaying maps
CODE:.....
Android mainfest
CODE:..................
View 4 Replies
View Related
Jul 12, 2012
what is the path to the offline map files saved by Google Maps 6.9?
View 9 Replies
View Related
Mar 5, 2009
Is Google Latitude available in the UK or not, because it doesn't seem to be working for me? I have received the RC9 update for G1 and have Google Maps 3.0. Is there an a Google Latitude application that I should have or do I access everything through Google Maps? When I go the www.google.com/latitude on my G1, it offers me the option of "launching" Latitude but it just takes me to Google Maps. From there, I cannot see the locations of my Google "friends" (who have agreed to show location), neither does my own location show up on the Latitude homepage on the web (I have settings turned to "detect my location automatically").
View 13 Replies
View Related
Oct 19, 2010
I'm running Cyanogenmod 6. I just noticed that I can't find Google voice or Google maps in the market. I do have the apps installed, but can't see them int he market to get updates. I tried out LFY1.7 and Ultimate Droid 1.0.0, and see the same issue.
View 5 Replies
View Related
Apr 16, 2014
I am using Nexus 4 Bought from US thro my friend.Current Android version id 4.4.2..My Service Provider is Airtel. All my google applications like Gmail, Maps, Play,Google Plus are working fine in WIFI.But when i try to refresh or update these application thro Airtel 3g,i am getting No Connection Error.
All my 3rd party apps like Facebook,Whatsapp are working fine in 3G.
View 3 Replies
View Related
Apr 17, 2013
I'm using the latest version of Google Maps on JB 4.2.2 [Nexus 4]..I noticed that I cannot edit the names of my locations in "My Places" in the phone app. So I used Google Bookmarks (google.com/bookmarks) from my PC to edit/rename My Places. However, the names do not sync or carry through to the Google Maps app on the phone. The names in the app are still the generic names, coordinates or street names.
Is there any way to change the names of My Places and get them to sync with the phone app? Really baffling!
View 2 Replies
View Related
Mar 26, 2014
I have an Android app with a C++ library which uses pthreads to break down rendering tasks. This is for devices running Android 4+.
Lets say I have a 100 x 100 array of elements into which I repetitively do CPU-intensive processing. Currently I'm breaking the array up into four 25 x 100 element chunks and handing it off to four Posix threads (from a pool of stalled, pre-created threads). This gives an almost 4x speed increase on iOS and desktop Mac but slower results than single-threading under Android.
So the same code is used successfully to speed up the app on iOS or desktop Mac but in Android it often makes it even slower. I have done some tests on it and only quite big junks of data speed up when using multi threading. If the whole process (all threads) takes around 2 seconds or more it will speed up in multi threading mode but if it is less (say only takes about 400ms) it will be either the same speed or slower than just calling the rendering function normally. Which could point to thread switching being really slow. The bigger the processing tasks, the more they profit from multithreading. My tasks are usually not as big, but not fast enough in single threading mode.
I have also noticed that on ARM builds the speed difference between slower multi threading and the faster single threading is quite significant (almost twice as fast in multi threading rather than single threading) whereas on x86 builds the multi and single threaded versions will run at about the same speed as single threading on ARM builds. So x86 builds do not get slower on multithreading but also not faster.
View 1 Replies
View Related
Sep 4, 2012
I'm searching for an app or mod to google maps that allow to view maps (satellite view) offline
View 1 Replies
View Related
Oct 30, 2010
After about a day of using dolphin hd I think I'm noticing extra lag in just about everything. Especially switching apps and loading the home screen. My keyboard has lagged a few times too. Ive got a fascinate with launcher pro plus. Anyone else seeing this? What can I do other than uninstall?
View 2 Replies
View Related
Nov 15, 2010
My phone hasn't been able to locate a GPS signal when using Google Navigation/Maps for about the past five days. I only really noticed this problem last Thursday... which seems about the same time I received the latest update. The timing would indicate the two are related?
The GPS is turned on, and the satellite icon displays on the toolbar. The phone displays "Searching for GPS" at the bottom. I'm running Locale, and it continues to recognize conditions based on location data... so it would seem the GPS is still working for that, at least.
View 6 Replies
View Related
May 12, 2010
I'm trying to install the latest maps update and it seems stuck on "starting download". It's gone on way beyond the time needed for the previous download/upgrade.
View 13 Replies
View Related
Nov 4, 2010
while signing up for google maps API, i entered the md5 string that was generated on issuing this command in cmd keytool.exe -list -alias androiddebugkey -keystore "C:androiddebug.keystore" -storepass android -keypass android but it says "The fingerprint that you entered is not valid".
View 2 Replies
View Related
Nov 22, 2010
Is there a way to use Google Sky maps on my app? I know we have Google maps API, but is there a Google Sky Maps API?
View 3 Replies
View Related
Jun 10, 2010
I have several Android devices and each of them has different version of Google Maps: 3.0 in HTC G1, 3.1.1 in HTC Dream and 3.4 in Nexus one and Motorola Droid. When i use the following code: Intent myIntent = new Intent(Intent.ACTION_VIEW,Uri.parse("geo:0,0? q=Starbucks"); I get different behavior on the devices: On the latest versions of Google Maps application I see a map the term centered around my current location with a reasonable zoom radius while in Google Maps 3.0 I see list of results and button to the map. Is there a way to get the same behavior on all devices? of course i prefer the behavior of the latest versions
View 2 Replies
View Related
Aug 3, 2009
When I click the icon of My location, it opens a tag with information and when I touch this tag then I go a new Activity that give my more information,it same pass with StreetView, so How can I do that?
View 2 Replies
View Related
Jul 26, 2010
Google Maps 4.4.0 Update now in the Market.
View 15 Replies
View Related
May 16, 2010
I have some trouble testing my Android application which includes the google maps API. The ooficial API example worked just fine but if I copy the code into my own project it keeps saying: "The application has stopped unexpectedly". I looked up the key in the keystore several times and registered it with google. Even tried reinstalling the SDK.
CODE:.......
There are some exceptions following but none pointing to my code, everything in background processes.
View 2 Replies
View Related
Jun 15, 2010
I am a new user of google maps API in android OS. I have made a small application in which i am using google maps. I want to add a functionality that when i double click (multi touch) on a map the map should zoom in. IS there anybody who has an idea how to do this or if it is possible please provid a code example.
View 1 Replies
View Related