mroshow / artgameweekend-art-project

Automatically exported from code.google.com/p/artgameweekend-art-project
0 stars 0 forks source link

Display on a map #29

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I don't know if this will be implemented, but just in case, here is the code 
used in android Gallery to display a point on a map : 

// Can't use geo:latitude,longitude because it only centers
                // the MapView to specified location, but we need a bubble
                // for further operations (routing to/from).
                // The q=(lat, lng) syntax is suggested by geo-team.
                String uri = "http://maps.google.com/maps?f=q&" +
                        "q=(" + latlng[0] + "," + latlng[1] + ")";
                activity.startActivity(new Intent(
                        android.content.Intent.ACTION_VIEW,
                        Uri.parse(uri)));

Original issue reported on code.google.com by pierre.g...@gmail.com on 27 Oct 2010 at 9:49

GoogleCodeExporter commented 9 years ago

Original comment by pierre.g...@gmail.com on 28 Oct 2010 at 2:22