CanvasMap
Getting Started Tutorials 3D Reference

Creating a UTM Map

Creating a map in a UTM projection is very simiar to creating one for GoogleMercator. The difference is just that you will want your data to be projected into the correct UTM Zone. You can do this wil vector data and raster data.

Projecting Coordinates To UTM

After projecting all your data to UTM, you'll want to provide a projector for CanvasMap to convert the mouse cursor coordinates into geographic coordinates. The code below shows how to achieve this.

// setup the projector
var TheProjector=new CMProjectorUTM();
TheProjector.SetDatum(CMProjector.WGS_84);
TheProjector.SetZone(10);
TheProjector.SetSouth(false);
TheMainContainer.SetProjector(TheProjector);

Because the defaults for the Datum is WGS_84 and the "South" is "false" the code above is reduced to the following in the Humboldt County example:

var TheProjector=new CMProjectorUTM();
TheProjector.SetZone(10);
TheMainContainer.SetProjector(TheProjector);