How to point a marker on google map according to our choice.

by jyotibhu...@gmail.com » Sat, 23 Apr 2011 06:30:00 GMT


Sponsored Links
 I have develop a simple GPS android application,I am able to view the
Google map but I want to point a marker on the map according to our
choice  and I would like to get latitude and longitude.

-- 



How to point a marker on google map according to our choice.

by lbendlin » Sat, 23 Apr 2011 19:10:31 GMT


 Your question is ambiguous. Please state the problem you have and what you have 
tried to solve it. 

-- 


Sponsored Links


Re: How to point a marker on google map according to our choice.

by jyotibhusan roul » Mon, 25 Apr 2011 12:35:38 GMT


 Hi.actually in my application I have put a marker on default place(e.g
San Jose),but I want to put a marker in another place(e.g Newark),and
get latitude and longitude of the place.This thing I needed.








-- 
Thanks & Regards,

Jyoti Bhusan

-- 



Re: How to point a marker on google map according to our choice.

by lbendlin » Mon, 25 Apr 2011 21:46:52 GMT


 how are you placing the marker? The user touching the map? That may not be 
overly accurate. If that is good enough you can use the getProjection() 
function

 http://code.google.com/android/add-ons/google-apis/reference/com/google/android/maps/MapView.html #getProjection%28%29

-- 



Other Threads

1. Font rendering problem?

Please see here:

http://picasaweb.google.com/zvasvari/AndroidFontBug#

I am rendering two lines of text, the only difference is the color.
The red text looks obviously shorter and fatter, they are both 18sp in
height.

Is this a bug or am I doing something wrong?

The style for the white text is

<item name="android:textSize">18sp</item>
<item name="android:textStyle">bold</item>
<item name="android:textColor">?android:attr/textColorPrimary</item>

For the red text it's the same size and style, but the color is a
custom color resource (but basically it's pure red, as given by the
last line):

<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:state_enabled="false" android:color="#50ff0000"/>
    <item android:state_window_focused="false"
android:color="#a0ff0000"/>
    <item android:state_pressed="true" android:color="#ff000000"/>
    <item android:state_selected="true" android:color="#ff000000"/>
    <item android:color="#ffff0000"/> <!-- not selected -->
</selector>



-- 

2. "Sorry, this video cannot be played" on Nexus one 2.2

Try using a real MIME type. Real MIME types do not have asterisks.



> 

3. Crashing/hanging problem with recent JDK/JRE update on Windows

4. If Google stops making Nexus One what happens.....

5. Failure loading drawables on Cupcake/1.5 when building with Froyo/2.2 SDK

6. OOT: Share foto biar pada kenal antar anggota milist ID-Android

7. CSS Web Fonts (Load fonts with web pages) does not support in Android 2.1 but it was support in previous versions