How can I add pushpins and get directions in here.
Do I require to use JavaScript
Google Maps on windows phone How can I add pushpins and get directions in
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Note in this method:
The important part in that is when we create a marker we give it a map object, which was initialized from the div ‘mapdisplay’ so we initialize that map object here
and in turn it is passed as the ‘map’ parameter in the call to:
This is using the returned earthquake data from the USGS and simply creating the new marker.
You can simply use a similar technique to add your own pins (ie markers), and yes – you need JavaScript : )
https://developers.google.com/maps/documentation/javascript/overlays
In order to get directions see “Displaying the DirectionsResult” at https://developers.google.com/maps/documentation/javascript/directions
or an overview at
https://developers.google.com/maps/documentation/directions/
For a working sample (it’s not win8 but it shouldn’t matter as I’m assuming you are using a Windows 8 HTML/JS application)
Get directions in new window Google maps API v3
Now with that said – you can also use Bing Maps as well and it’s quite documented for Windows 8 applications
Bing Maps for Windows Store Apps
Bing Maps SDK for Windows Store apps Samples