views:

20

answers:

0

I need a Webcontrol (System.Windows.Forms.WebBrowser) in my Webservice, because I have to calculate distances between coordinates and for that I'll use Google Maps (geocoder). With the Webcontrol I could execute my javascript code to calculate the distance (WebControl.Document.InvokeScript).

Is there any way to get a webcontrol in a webservice? Or is there another, easier way to accomplish my task?