Class in .NET: well, how 'bout a web service in .NET?  Microsoft's
MapPoint has an associated web service which you can call to do things
like get the latitude and longitude for a specific country.  Beyond that,
I've not run across any .NET APIs to do this sort of thing.  The
System.Globalization.RegionInfo class has a fair number of useful things,
but lat/long isn't part of them.

See
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mappointsdk/html/mpn35intServices.asp

Of course, this may all be overkill for whatever it is you're trying to
do.  It may be as simple as creating a datasource for your application
that lists, by country, latitude and longitude.



>       Hi all
>  how can i get an information about the latitude and longitude for a
> specific country
>  by using a class in .NET ?
>
>  Thank you
>
>
>
>
>  ---------------------------------
>  Do you Yahoo!?
>   Yahoo! Mail - You care about security. So do we.
>
>  [Non-text portions of this message have been removed]
>
>
>       Yahoo! Groups Sponsor     ADVERTISEMENT
>
>   Yahoo! Groups Links
>   To visit your group on the web, go to:
> http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
>   To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to