I have a little question and i need little helps please. I made a screen on app inventor to show markers on google map with Webviewer and he work awesome . this is my block.
My question is: When i click on the marker, I receive the information well, but i would like ,I would just like that when I click on a marker, I could have the possibility to get google map to launch the navigation and if possible in the same window
Can anyone help me please.
There are probable issues attempting to do what you want to do with the map @Saf_Saf described here>https://www.google.com/intl/en-US_US/help/terms_maps/ unless you own the kml file. If you own the kml then you possibly could use it with the MIT Map control instead of GoogleEarth.
License. As long as you follow these Terms, the Google Terms of Service give you a license to use Google Maps/Google Earth, including features that allow you to:
view and annotate maps;
create KML files and map layers; and
publicly display content with proper attribution online, in video, and in print.For more details about specific things that you’re permitted to do with Google Maps/Google Earth, please see the Using Google Maps, Google Earth, and Street View permissions page.
Prohibited Conduct. Your compliance with this Section 2 is a condition of your license to use Google Maps/Google Earth. When using Google Maps/Google Earth, you may not (or allow those acting on your behalf to):
redistribute or sell any part of Google Maps/Google Earth or create a new product or service based on Google Maps/Google Earth (unless you use the Google Maps/Google Earth APIs in accordance with their terms of service);
copy the content (unless you are otherwise permitted to do so by the Using Google Maps, Google Earth, and Street View permissions page or applicable intellectual property law, including "fair use");
mass download or create bulk feeds of the content (or let anyone else do so);
use Google Maps/Google Earth to create or augment any other mapping-related dataset (including a mapping or navigation dataset, business listings database, mailing list, or telemarketing list) for use in a service that is a substitute for, or a substantially similar service to, Google Maps/Google Earth; or
use any part of Google Maps/Google Earth with other people's products or services for or in connection with real-time navigation or autonomous vehicle control, except through a specific Google-provided feature such as Android Auto.
I used a different method to display my google map, but unfortunately I have two small problems with this new method.
The map displays very well but you don't know where you are with Web Viewer, but the user's position displays very well when you use a browser like chrome for example.
Then, when we want to launch the navigation, I have this error message with Web Viewer :
net::err_unknown_url_scheme
You are now using My Maps. Great you got that partially working. There might be advice available
at Google Maps Community or try the following. I have not tried it.
without your code example showing how you try to 'launch navigation' no one can even guess other than this is a WebViewer capability issue.
Realize the WebVIewer is not a full featured browser. Your app might require using ActivityStarter to bring up your default browser or you might try one of the WebVIewer extensions instead of working with the WebVIewer.
Your comments indicate the probable issue is with the WebViewer. It is probably not possible to use the WebViewer with your app and use the My Map built in functions. Sorry, what you are attempting is NOT a simple operation. Complex code behind the scenes are required.
No one can test your url but you. The link is incomplete. . But you can test by using the full url in your browser. If you use the url in the browser, do you get a navigate response that works?
Also . this code snippet it not correct. What are you trying to do. (this doesn't have anything to do with your navigation issues)