Android :: Remove Shadow On Markers On My Map?
Nov 17, 2010I 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 RepliesI 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 RepliesI'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...
I have an activity. It does not have a title bar. The content view is just a linear layout. It looks like android draws a drop shadow at the top of my content view, directly below the status bar. Is there a way to stop that from being drawn?
My layout is just:
I have no titlebar:
requestWindowFeature(Window.FEATURE_NO_TITLE);
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 RelatedI 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...
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 RelatedHow 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 RelatedI 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.
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 RelatedI have the following code and the markers are not appearing on the map at all! code...
View 1 Replies View RelatedI 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.
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?
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.
I've tried casting shadow following this tutorial (which uses Stencil Buffer method): http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=27 The result is a cool shadow effect. But it depends too much on geometry and thus not very flexible. Then I found a much easier way to do shadowing here: http://www.paulsprojects.net/tutorials/smt/smt.html But it uses ARB_depth_texture and ARB_shadow extension. So I bet it can't be used with Android's OpenGL ES 1.0. I've tried googling for "Shadow Mapping" and "OpenGL ES" but still can't find a good tutorial. Can anyone recommend me a good place/site I can study for this please?
View 3 Replies View RelatedThe ListView has a nice fade on the top/bottom.I have a ListView in the top half of my app, and then a ViewFlipper on the bottom. Is it possible to add a fade/shadow to the top of the ViewFlipper? This would look nice.
View 1 Replies View RelatedI am wondering how to add shadow on text in android?
I have the following code which is applied on a bitmap and I wanted to be shadowed...
paint.setColor(Color.BLACK);
paint.setTextSize(55);
paint.setFakeBoldText(false);
paint.setShadowLayer(1, 0, 0, Color.BLACK); //This only shadows my whole view...
I'm trying to give my first steps on working with ActivityGroups. To be more specific, I have a parent activity with a layout containing several buttons, and another layout below them in order to add other activities' layouts by means of the "addView()" method. Well, everything works fine in functionality terms; but I'm experiencing a weird behavior inside the layout where other activities are kind of loaded into. A black line along the top border of the layout plus a slight shadow do appear when I run the application on the emulator. I have tried to play changing the paddings, margins, etc. with no success.
Has any of you experienced such weird behavior?
How can i get rid of the shadow when I scroll ListView.
I have shadows appearing on top and bottom of the list.
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 RelatedAs 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 RelatedI'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 RelatedIf I draw a round rect shape by code I can use setShadowLayer to get a shadow drawn for the shape. Is there an equivalent when defining shapes in XML?The following example draws a round rect background to a shape. What would I need to add to get a shadow added to the shape? Is it even possible using XML? Code...
View 1 Replies View RelatedHow do i create a drop shadow to add it to a custom drawable i made using shape?
View 1 Replies View RelatedI have a problem with the tab widget. There is a shadow above the framelayout that's part of the tabwidget. How can I modify or delete this shadow.
In my map application I am using overlay items and texts. I need shadows for both. For overlayitems I am able to display shadows. How to show shadow for the text drawn?
View 4 Replies View RelatedHow can i make shadow effect Text in Text View. Any Idea?
View 1 Replies View RelatedI'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]....
I have a PNG file with drop shadow that is supposed to be blended using multiply operation. I'm using an ImageView to show it.
However, the shadow is shown as solid gray.
What am I doing wrong?
I'm test driving Shadow rom right now.Is it weird? I'm getting lower Quadrant scores when I am using Set CPU with the settings on 998Mhz on the Performance governor.I'm using the Koush kernel that came with the rom.With Set CPU uninstalled, I consistently get higher Quadrant scores.Am I using the wrong settings in Set CPU?Kernel is capable of 1115Mhz, but is set at 998Mhz.Mods please move if I posted in the wrong place.
View 2 Replies View RelatedI have used both ROMS and they appear to be almost identical. am i missing something. The shadow settings and C6 settings and menu look exactly the same.
View 1 Replies View Related