google-maps-urls

Google Maps url how to define circular marker?

你说的曾经没有我的故事 提交于 2020-01-15 05:28:25
问题 I want to open the default maps app but instead of the default marker i want a circular marker. this is what i have... case Device.Android: if (!string.IsNullOrEmpty(_imovel.Endereco.Freguesia)) { uri = new Uri("https://www.google.com/maps/search/?api=1&query=" + _imovel.Endereco.Freguesia); } else if (!string.IsNullOrEmpty(_imovel.Endereco.Concelho)){ uri = new Uri("https://www.google.com/maps/search/?api=1&query=" + _imovel.Endereco.Concelho); } Device.OpenUri(uri); break; and this is what

How to enable google map navigation in android app

感情迁移 提交于 2020-01-01 05:35:11
问题 I have two points on google map first one is the source and second is the destination, I have the route between these points on the map.Now I want to navigate user from source to destination as Google does on Google Map Like this:- 回答1: The Google Maps Android API v2 doesn't provide any functionality for navigation. It is in contradiction with Terms of Service of Maps APIs. Have a look at section 10.4 c (iii) of ToS: No navigation. You will not use the Service or Content for or in connection

Getting Google Maps link from place_id

人盡茶涼 提交于 2019-12-18 12:10:53
问题 HeIIo, using google map API with search I'm able to find a certain place and then store it's details. However, the array doesn't contain google maps link which would open this place on google maps. Via API I receive place_id which, as I feel, should be enough to build a full google maps link; however, I can't find a way to do that. Can anyone advise me on how to do that. Thank you for your time. 回答1: Try below syntax. I hope it helps https://www.google.com/maps/place/?q=place_id

Cordova iOS launch comgooglemaps fail

时光怂恿深爱的人放手 提交于 2019-12-10 23:49:39
问题 I have a small problem. I use comgooglemaps scheme to call google maps and perform a search. This works ok but problem is if user don't have a google maps installed. Now... how can i check this and if google maps are not installed to call google via browser? ... or to call some other maps app that user uses? Thanx! 回答1: You can use Google Maps URLs that provides universal cross-platform URL to launch Google Maps. Currently this is recommended and supported way to open Google Maps app.

open Get Direction with multiple stops in google map from using objective c ios

≯℡__Kan透↙ 提交于 2019-12-05 07:42:21
问题 I am using google map sdk and now i want to open get direction in google map where there are multiple stops like i am at Location A and from that i want to go to locations B,C,D i am able to open google map with location A to B but not able to open it for A to B,C,D . How can i do this i tried this NSString *str1 =[NSString stringWithFormat:@"http://maps.google.com/?saddr=%@&daddr=%@&waypoints=%@&key=%@",originString,destinationString,strWayPoints,GOOGLE_API_KEY]; if([[UIApplication

How to open Google Maps using address?

跟風遠走 提交于 2019-12-04 17:56:45
问题 How can I open Google Maps(using Intents or adding Google Maps into my application) with address? I have the address, but I don't have latitude/longitude. How can I do it? Thank you. 回答1: use below code, String map = "http://maps.google.co.in/maps?q=" + str_location; // where str_location is the address string Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(map)); startActivity(i); 回答2: From my personal Code Library. ;) public static Intent viewOnMap(String address) { return new Intent

open Get Direction with multiple stops in google map from using objective c ios

白昼怎懂夜的黑 提交于 2019-12-03 21:56:53
I am using google map sdk and now i want to open get direction in google map where there are multiple stops like i am at Location A and from that i want to go to locations B,C,D i am able to open google map with location A to B but not able to open it for A to B,C,D . How can i do this i tried this NSString *str1 =[NSString stringWithFormat:@"http://maps.google.com/?saddr=%@&daddr=%@&waypoints=%@&key=%@",originString,destinationString,strWayPoints,GOOGLE_API_KEY]; if([[UIApplication sharedApplication] canOpenURL: [NSURL URLWithString:@"comgooglemaps://"]]) { [[UIApplication sharedApplication]

How do I get a direct link to a place on google maps with the Place Id

[亡魂溺海] 提交于 2019-12-03 17:11:42
问题 I have the Place Id of a place on google maps in my app. Is there a way to put the place Id in a URL and have it directly link to the page? Or does it have to be done through the URL? I can't seem to find anything detailing this in the docs. I've tried below, but it just gets me the standard google maps page: https://maps.google.com/maps?placeid=ChIJN1t_tDeuEmsRUsoyG83frY4 回答1: Recently, in May 2017, Google launched the new Google Maps URLs API. You can read about this API in the official

How to enable google map navigation in android app

非 Y 不嫁゛ 提交于 2019-12-03 14:28:22
I have two points on google map first one is the source and second is the destination, I have the route between these points on the map.Now I want to navigate user from source to destination as Google does on Google Map Like this:- The Google Maps Android API v2 doesn't provide any functionality for navigation. It is in contradiction with Terms of Service of Maps APIs. Have a look at section 10.4 c (iii) of ToS: No navigation. You will not use the Service or Content for or in connection with (a) real-time navigation or route guidance; or (b) automatic or autonomous vehicle control. https:/

How to open Google Maps using address?

情到浓时终转凉″ 提交于 2019-12-03 11:38:39
How can I open Google Maps(using Intents or adding Google Maps into my application) with address? I have the address, but I don't have latitude/longitude. How can I do it? Thank you. use below code, String map = "http://maps.google.co.in/maps?q=" + str_location; // where str_location is the address string Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(map)); startActivity(i); From my personal Code Library. ;) public static Intent viewOnMap(String address) { return new Intent(Intent.ACTION_VIEW, Uri.parse(String.format("geo:0,0?q=%s", URLEncoder.encode(address)))); } public static Intent