Android :: Show Different Markers On A Map?

Nov 15, 2010

I am displaying markers on a map. I am not sure how I can specify a different drawable resource for different markers?

I would like to show a green pin if locations distance < 50, etc. etc.code...

Android :: Show different markers on a map?


Android :: OverlayItem Not Displaying Markers / What To Show It?

Jul 5, 2010

I have the following code and the markers are not appearing on the map at all! code...

View 1 Replies View Related

Android :: Limit For Numebr Of Markers To Show On A MapView?

Nov 3, 2010

As the object of this topic. is there a limit for the numebr of markers to show on a MapView at the same time with the Google API?

View 3 Replies View Related

Android :: Add Markers On Map?

Jan 18, 2010

I wanted to know how to add marker on a map? right now, i am trying to build an application that shows the persons current location, and i can follow it. but the problem is i don't have a pointer, so the changing is vague. what i want is to show the persons location with a marker(e.g some kind of bubble) and follow it.=

View 2 Replies View Related

Android :: Remove Shadow On Markers On My Map?

Nov 17, 2010

I am displaying a custom marker on my Google Map. They are placed fine, but they have this funny shadow. How can I remove the shadow? code...

View 1 Replies View Related

Android :: Add Markers To A Google Map On Droid?

Aug 4, 2010

I've got a place I want to add on my map at a particular lat / lng. I'd like to display that on my map when the activity starts. How would I do this?

View 1 Replies View Related

Android : How To Draw Dynamic Markers On A Map?

Jul 26, 2010

How would dynamically draw markers on a Mapview? I've got the following code which will hardcode one point in. I'm looking to pull values from a database..

View 1 Replies View Related

Android :: Clear All Map Overlays Or Markers From Google Map?

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

Android :: Move Markers With Maps API To A New Position?

Sep 21, 2009

I'm wondering if it is possible to move markers when using a MapView. I use a fullscreen MapView which has a few (not more than 5) markers which I would like to move and update by just moving the markers to a new position.

View 2 Replies View Related

Android :: Auto Zoom To Fit Markers On An Overlay?

Jun 2, 2010

I have done my fair share of google searches for this and have come up empty.

I have a set of marker(25) that are being displayed on a MapView. I would love to be able to have it zoom to a reasonable level to make the markers readable.

View 2 Replies View Related

Android :: Scale Map Markers By Zoom Factor?

Aug 19, 2010

I have lot of markers on my map. Zooming in each marker shows me a position. but zooming out the markers are overlapping each other and it is more difficult do determine the position of a marker.

Is there a way to scale the marker image depending on the zoom factor?

View 1 Replies View Related

Android : Reading From XML / Need To Create Overlay Markers On Map

Jun 27, 2010

On my app I will be reading in from an XML file thats formatted something like this

<database> <db1>
<db> <name>name here</name> <street>street here</street> <long> longitude here</long> <lat> latitude here </lat> </db>
<db> <name> new name here </name> <street> new street here </street> <long> new longitude here </long> <lat> new latitude here </latitude> </db>
</db1> </database>

With this information I need to create Overlay Markers on the map (using latitude and longitude) and when they're clicked on I need it to display the name with the address. Depending on the conditions of where the map is, the number of markers will be different so I need a dynamic model for reading in these markers.

If I were to use Document methods like getElementById(String name) then I couldn't call getElementById("name") because it would likely try to call just the first <name></name> or give an unintended result.

View 4 Replies View Related

Android :: Load Only Markers That Would Be Displayed On Current Screen?

Aug 5, 2010

Using Google Maps on Android does anyone have any ideas on how to load only markers that would be displayed on the current screen? I'm thinking about sending a request to a web service that returns the lat/lng for the relevant markers. But what would the parameters be that I could use to calculate if a given lat/lng is within the screen?

View 1 Replies View Related

Android :: How To Scale Markers And Set Shadow And OnTap Correctly

Nov 17, 2009

I'm scaling markers on a MapView with the following code

CODE:.........

And:

CODE:.............

Which works, but the shadow below the marker has wrong offset when scaled. Also; i override the public boolean onTap(int index) in ItemizedOverlay to detect taps on the markers, but it seems inaccurate. I can click some range outside the marker and still trigger onTap...

View 1 Replies View Related

Android : How To Compute Zoom Level Against Returned Markers?

Aug 5, 2009

I'd like to know if there is already a way to know from a given set of markers, the zoom I should apply to the map or do I have to do it my self? (this depends on the resolution so i expected to find it in MapView because it knows its boundaries.

View 4 Replies View Related

Drawing Lots Of Markers On A Map

Oct 28, 2011

I'm trying to draw on a map using markers. The problem I'm having is when I try to add lots of them, then I can't get it to run. To illustrate my problem, let's say I want to draw a square made of 900 smaller squares (30x30).I'm trying to add the markers to an itemizedoverlay, then drawing it.

Code:
public class MyItemizedOverlay extends ItemizedOverlay{
private ArrayList<OverlayItem> mOverlays = new ArrayList<OverlayItem>();
private Context mContext;
[code]....

View 7 Replies View Related

Android :: Load Markers Dynamically For Current Position In Android Google Maps?

Aug 5, 2010

I'm currently developing an app for Android which uses google map service. Because users will be able to see thousands of markers I would like to load only those which are currently within the map bounds (i.e. when user look at specific map tile). I know how to do it with javascript/html. However, Android doesn't seem to provide any similar methods such as containsLatLng(latlng) or getBounds (I only found getLatitudeSpan and getLongitudeSpan, but don't know how can I use them in order to achieve the similar effect). Can anyone give me some hint on that?

View 4 Replies View Related

General :: Video Player - Track Seekbar Scrub Past Markers?

May 11, 2012

I am currently working on a video player using the VideoView and I am controlling it with the MediaController.

The first thing I would like to do is to be able to place markers along the seekbar, such as 25% of the clip. I want to fire an event when this mark is hit or scrubbed past. Throwing an event when this marker is hit with the video playing regularly will be easy because I should be able to just use getCurrentPosition and checking to see if it is 25% of the total clip. The issue I am having is how to fire the event if the user scrubs past the 25% point.

The second thing I am trying to do is just show a visual marker along the seekbar that I can display a marker, lets say at the 25% point, 50% point, etc.

View 1 Replies View Related

Android :: Custom Map Markers And Custom Backgrounds

Mar 1, 2010

I am trying to get the images to have transparent backgrounds so the map is not blocked by a square marker with an image in it. What image editor and what settings should I use to get this to work?

I am trying to do some custom backgrounds for buttons and the same problem comes up: I get square corners and a background that does not scale with the buttons.

I think this all part of the same problem: I am not using the right tool with the right settings to create the images. I must be misinterpreting the documentation and examples that talk about a white border around the image and a black line along the top and left side for the expandable button background.

Here's a quick way to reproduce the problem:

Follow the directions to create the MapView program as described on:
http://developer.android.com/resources/tutorials/views/hello-mapview.html

For the icon I first used the image copied from the page:

Next I edited the picture in Microsoft Paint, and cut off the little guy's antennae. I'm not cruel and no real androids were harmed in that experiment. I surrounded the new picture with a pixel thick border of white, copied from the border that was around the rest of the image, and then copied the black that was there as well in the void areas of the image, outside the border.

I saved the image as myandroid.png and copied the file to the layout folder. Pointed the activity to the new pic and ran the program.

The image was displayed with a full square background and shadow, not the android shaped image and shadow that was there when the original image was used.

Custom Button background:
Follow the directions for the Relative Layout example at:
[url]

Next, I created an image to expand as a background for the button called backbutton.png. It too is surrounded by a white border and black filled on the corners, the top and one side per documentation I found in "Android Programming Tutorials" on page 298.

The background does not expand, nor do the corners round.

I wish I could show you screenies of what I have.

How do you create the images for the custom backgrounds and the images for the custom map markers and buttons? I need to know what image editor to use and the file attributes to set, so the images expand and display with the proper void spaces in them.

View 2 Replies View Related

HTC EVO 4G :: EMAIL - Annoying - Show HTML - Show Picture - Buttons

Jun 10, 2010

I know I'm not the only person that gets emails with embedded html or inlined images via google mail. When I get emails like this, I have to click on "Show HTML" or "Show Picture" every single time an email comes in if I actually want to see the email the way it was intended to be shown. I know for a fact that iphones and other email readers dont have any issues with this. Is there a setting to automatically display the email the way it was meant to be shown instead of having to click these buttons each time I want to view the email correctly? Or, perhaps there's already a market app that forces the android email client to display emails correctly?

View 4 Replies View Related

HTC Droid Eris :: Way To Show Saved Contacts Picture To Show Up In MMS?

Dec 24, 2009

Does anyone know how to get your Eris to show the saved contacts picture to show up in MMS and Phone calls? If I dial their number sometimes it shows up and sometimes doesn't. In never shows up in text messaging.

View 4 Replies View Related

Android :: How To Show A Set Of Images / As Slide Show In Android ?

Oct 17, 2010

How i can show a set of images as slide show in android?

View 2 Replies View Related

Android :: Need An App To Show What App Is Use

Nov 27, 2009

Looking for an app that show what % of power any app is using, what to find out what app's are battery killers.

View 8 Replies View Related

Android :: Want To Show App On Market

Jul 19, 2010

I've found today that my recently published app on the Android Market, is not showing up on this device Market: Samsung Apollo. I've already followed this tutorial to make my app accessible to almost all devices configuration and it still don't show on that device's Market.

View 2 Replies View Related

Android :: How To Show Search Bar?

Jul 21, 2009

I want to add the search function in my application just as the example given in ApiDemos. But I can't find out how the example add the search bar in the top of the view. Could anyone tell me how to add a search bar to my application by some code?

View 3 Replies View Related

Android :: PopupWindow Does Not Show / Way To Fix?

Jul 14, 2010

I intend to show this as a dropdown just below the button that drops this down.

View 2 Replies View Related

Android :: Way To Show ProgressBar?

Mar 24, 2009

I want to show a ProgressBar while doing some background operation, but my code seems not to work. I hope someone can help me to solve this problem.Code...

View 7 Replies View Related

Android :: Maps Don't Show In App / How To Fix?

Jul 24, 2010

I'm just trying to run MapsDemo who is in 'samples' of the SDK, but consider this: http:/ i.imagehost.org/0829/mapss_don_t_show.png the Google maps is working perfectly http://j.imagehost.org/0640/google_maps.png ).

View 5 Replies View Related

Android :: Way To Get Widget To Show Up?

Aug 4, 2009

I followed the tutorial off code.google.com to add widgets to your app. For some reason, when I run the app on the phone for testing, then long click the home screen to add widgets, my widget is not an option. I imagine I am doing something wrong, but I thought I followed the tutorial pretty well. Here is some of my code, please offer a suggestion of why I can't add my widget. BTW i don't care that it doesn't do anything yet, or even if it breaks, I just want to see it as an option first (small steps). Thanks for any help or feedback.

View 4 Replies View Related

Android :: Progressbar Does Not Show Up / How To Fix?

Jun 28, 2010

When I press a button I would like to have a progressbar showing up so I inserted this code..

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved