I am showing the azure indoor map I am trying to show the azure map route direction .Is there any API/Example to show the route map direction .
Indoor directions are not available for Azure Maps, but are coming soon.
If you are asking about outdoor routes, there is an open source project for creating nicely formatted route directions here: https://github.com/Azure-Samples/azure-maps-services-ui
Related
The Azure base base map that displays with my map looks great but I don't see any of the streams or water basins labelled on the map. Are there Azure map layers available to display this information?
Thanks,
Annette
I suspect the data you are looking for isn't in the base map data. I recommend reporting this feedback on this site: https://feedback.azuremaps.com/ Click on the map where the streams/water basis are missing and press "Add comment". This will create a ticket with our data provider and an investigation will occur on their side to get this resolved in the future. When you send feedback it also creates a URL you can use to go back and check the status of your feedback.
I am not able to automate google map screen which is present on my application web page.
I have web page where google map is present in square in half of screen. I want to click on the road present in map or a restaurant logo which is present on the google map.
When i tried to find the locators for the map then in the DOM it is present as an image and no other html properties or locators are associated with it.
Also i tried an option using moveToElement() function of action class but this solution is not reliable as most of the time it is not working.
Please suggest me any solution for this automation issue if someone faced this issue of Google maps automation before ?
Sounds like HTML5 issue over a google maps issue. This is tricky for Selenium, see these articles:
https://www.linkedin.com/pulse/html-canvas-testing-selenium-opencv-maciej-kusz/
https://chariotsolutions.com/blog/post/automated-testing-of-html5-canvas/
which recommend using action chains to move to and click certain x,y coordinates.
Also, check out the canvas javascript api; you may be able to use javascript_executor to manipulate the canvas.
Hi I am new to programming so please bear with me.
Basically, I want to create a map for Android devices that load markers and navigate from point A to B while avoiding the markers. It is ok if the path is not the shortest.
I have tried loading markers from geojson file using both google map and mapbox with no problems. Now, what can I do to customize navigation within the app itself? Thanks in advance.
Unfortunately, it does not appear that this feature has direct support from the API. Please see these answers for alternate suggestions:
Google API (directions) - creating routes that avoid certain points
Blacklisting specific roads from Google Maps/Mapquest?
I am developing ionic application for Android. I want to open the Google Map App from my Application. Using launchnavigator,
launchnavigator.navigate([50.279306, -5.163158], {
start: "50.342847, -4.749904"
};
I can able to achieve this. Can anyone clarify my following doubts,
Is it possible to get the Arrival/Destination time from google Map App????
And also Is it possible to redirect to my App again???
Anyone Help will be Appreciated!!!
Is it possible to get the Arrival/Destination time from google Map App.
Launch navigator will launch a Google Map where you can see the starting point and destination point with direction connecting between those. So you can get the Arrival and Destination time from there if You Start the Navigate in the Google Maps.
FYI: if you select start point as null it will then take your current
location.
BUT: if you want the data of of arrival time into your App its not
possible due to Policy restriction.
And also Is it possible to redirect to my App again???
I don't know Exactly but if you click the back button it will redirect you again to your Application. Cause the Google Api started from your App in the first Place.
I have an angular google map in my Ionic application and for the first time it sets the map center to the users geolocation with cordova-plugin-geolocation but in case the user want to see what can the app offer in other cities I'd like to change the map center by letting the user to choose another city from a list.
What would be the proper way to do this if I don't know the coords of every city?
You can get the city coordinates from the Geocoding API, and pass those to your maps.
https://developers.google.com/maps/documentation/geocoding/intro