Display text on google map in android -
i displaying location on google map passing latitude longitude values.
intent intent = new intent(intent.action_view); intent.setdata(uri.parse("geo:0,0?q=" + (" "+dbllatitude+", "+dbllongitude+" "))); try { startactivity(intent); } catch (exception e) { e.printstacktrace(); } setcontentview(r.layout.map_locate); }
its working fine me. want show text on above located point. idea how pass text dynamically passing lat, long values?
to show label on google maps application have add in brackets after coordinates.
see answer: https://stackoverflow.com/a/7405992/2183804
Comments
Post a Comment