removed geo intent marker tag, since gmaps can't cope with it anymore
This commit is contained in:
parent
9663df105f
commit
3e18e5bea1
@ -38,8 +38,7 @@ public class IITC_JSInterface {
|
|||||||
// send geo intent for navigation apps like gmaps or waze etc...
|
// send geo intent for navigation apps like gmaps or waze etc...
|
||||||
@JavascriptInterface
|
@JavascriptInterface
|
||||||
public void intentPosLink(String lat, String lng, String portal_name) {
|
public void intentPosLink(String lat, String lng, String portal_name) {
|
||||||
String uri = "geo:" + lat + "," + lng + "?q=" + lat + "," + lng
|
String uri = "geo:" + lat + "," + lng + "?q=" + lat + "," + lng;
|
||||||
+ "%20(" + portal_name + ")";
|
|
||||||
Intent intent = new Intent(android.content.Intent.ACTION_VIEW,
|
Intent intent = new Intent(android.content.Intent.ACTION_VIEW,
|
||||||
Uri.parse(uri));
|
Uri.parse(uri));
|
||||||
context.startActivity(intent);
|
context.startActivity(intent);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user