Applying mapobjects in C # (transformation coordinate system)
Source: Internet
Author: User
Object| conversion applies mapobjects in C # (transformation coordinate system)
Summary: mapobjects C # Transformation coordinate system
Author: Yang Yutin Blue_Bat@126.Com
I use the map when I prefer the longitude and latitude of the map, like the time when the junior high school geography often see the world map, and Mo default map is the kind of latitude straight, the study found very easy to change, the code is as follows:
Mapobjects2.projcoordsys csmap=new Mapobjects2.projcoordsysclass ()//define projection coordinate system
Moprojcs_world_winkelii type of coordinate system is the one I like with the radian, haha
The Moprojcs_world_platecarree type's coordinate system is the MO default kind of straight,:)
Csmap. Type = mapobjects2.projectedcoordsysconstants.moprojcs_world_winkelii;//Set coordinate system type
Axmap1.coordinatesystem = csmap;//Change the coordinate system of the map
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.