Displaying route with pushpoints on wp8 - c#

I have mapped tour on google maps, same thing I can get on bing maps to, how can I draw the same route in my WP8 application via internet connection?
Tour

Download the belonging KML file from Google Maps. There is a link on the route panel.
Write a XML parser to interpret the coordinates in the KML file.
Read the Guide to the Windows Phone 8 Maps API on how to display a route.

Related

google maps url usage and google api

I am pretty new to google maps. In my commercial project application i need to write a module which would generate and open google maps url with planned route for drivers. I've read a lot that i need google api, nevertheless just few minutes ago i found this official page: google developer's guide
Google claims there: "You don't need a Google API key to use Maps URLs.".
Does it mean when my commercial app will be generating routes urls which would open either google map application (for instance on android) or if there is no google map installed on device - then it will open webbrowser accordingly, does it mean in this case that this is fuly legit and no google api key is required?
Yes, your understanding is correct, as per the official documentation You don't need a Google API key to use Maps URLs.. Maps URLs can be used to build a cross-platform URL to launch the Google Maps application and perform searches, get directions, display map views or panoramic images.
Maps URLs are different from the Google Maps Platform APIs itself which requires an API key to work. API keys are required to keep track of your Google Maps API intended usage.
This is an official documentation from Google, therefore, should be credible.

Working offline with Google Maps

I have a Windows Forms application with a WebBrowser control. I am using Google Maps API v3 for displaying a map on the browser control.
The map displays the path traveled using markers and polylines. The area in which the location is shown is limited (the path traveled is only in a specific area). I know that Google caches the map tiles.
Suppose the internet disconnects for a couple of minutes due to network issues, the map is visible and pan-able for the area which was traveled (and cached). But the Google Maps API will not work to place a marker. In such a situation, while the network is reconnected, how to place markers on the map?
You can use gmapcatcher -offline maps viewer-
GMapCatcher is an offline maps viewer. It can display maps from many providers
Read this for the complete information : GMAPCATCHER

BingMapsDirectionsTask equivalent for Windows 8

all is in the title, I'm looking for an equivalent in Windows 8 of the BingMapsDirectionsTask that exists in Windows Phone 7.
My purpose is to display a route without using the bing maps API.
Thanks in advance for your help,
Best regards
Since Bing is not built in, you need to manually access a Bing or Google API to manually get directions or whatever your use is.
Bing Map API
Google Map API

Extract an image from a video hosted on a web site

I need to extract an image/thumbnail from a video hosted on some website. For exemple, the host could be youtube.com or whatever.com and i want to extract an image for a precise frame, i.e 2:12.
I have the direct URL for the video. I searched and found how to do it for youtube or vimeo, they provide xml or json with a path to the thumbnail. However i can't find how to do it for a web site that doesn't provide those informations.
Ive downloaded FFmpeg, but it doesn't seem to offer to extract an image from a video hosted on some web site.
Any other tool or any idea to make a tool myself ?
Thanks
I'm guessing that you are trying to do this on server side, and as far as I know you then need to transfer the video over to the server and run ffmpeg, as you already suggested.

How to reference KML file on my pc instead of any server online, in C# ASP.NET

I have web application with Google Earth embedded but so far its not doing anything. What I need is to "reference"/parse a KML file to it which I created on my pc and load it up in the application.
I used some java script codes from Google where KML file is fetched but if I get it right it is taking it from sketchup.google.com/.
So can I do the same but with my own KML file?
You need to set the KML mime types for your web server
Just follow the Google maps examples, and with your server set to handle KML mime types correctly you can host your own KML's

Categories

Resources