Apply MapObjects in C # Application MapIcjects

zhaozj2021-02-16  157

Apply MapObjects in C # Application MapIcjects

Summary: MapObjects C # Conversion Coordinate System

Author: Yang Yutian Blue_Bat@126.Com

When I use the map, I like the map of the latitude and latitude with radians, just like the world maps that I want to see when I first geography, and Mo default map is the kind of latitude and longitude. It is easy to study Transition, the code is as follows:

MapObjects2.projcoordsys csmap = new mapObjects2.projcoordsysclass (); // Define projection coordinate system

// moprojcs_world_winkelii type coordinate system is the kind of arc I like, haha

// moprojcs_world_plateCarree type coordinate system is the default of the default, :)

csmap.type = mapObjects2.projectedCoRDSysConstants.moprojcs_world_winkelii; // Set Coordinate System Type

AXMAP1.COORDINATESYSTEM = csmap; // Change the coordinate system of the map

转载请注明原文地址:https://www.9cbs.com/read-7917.html

New Post(0)