none
Obtaining Geo location from web browser RRS feed

  • Question

  • Hi Guys,

    I'm creating a wpf or winform application in C# 4.5  on Windows 7 but unable to share or obtain my location like in a web browser.

    I require the Lat & Long values and it seems google map is somehow able to do so.  

    Its api does not provide IP to geo location.

    1) Web client to obtain location from IP address ( Isn't accurate as I expected )

    2) Geolocation api , Bing Map Services, ( Returns a list or search )

    3) Unable to use Windows.devices.location can only work on Windows 8.1 or mobile  (Neither does geosense works)

    Hence, I found a link 

    http://stackoverflow.com/questions/14435585/c-sharp-desktop-application-doesnt-share-my-physical-location

    Which uses winform to open web browser. It uses Javascript through web browser using 

    navigator.geolocation.getCurrentPosition

    Any advise?

    Herman

    • Moved by Anna Cc Wednesday, October 8, 2014 6:49 AM
    Tuesday, October 7, 2014 1:37 AM

All replies