WinFormSample

Topics: SharpMap Project
Mar 17, 2011 at 10:35 AM

Hi Folk!

I need your help with the Codesample of the FormMovingObjectOverTileLayer.cs

In the Sample the VS2005 didn't find the LayerTools in the Method

private void FormMovingObjectOverTileLayer_Load(object sender, EventArgs e)
        {

            //Lisbon...
            SharpMap.Geometries.BoundingBox geom = ProjNet.CoordinateSystems.Transformations.GeometryTransform.TransformBox(
                new SharpMap.Geometries.BoundingBox(-9.205626, 38.690993, -9.123736, 38.740837), 
                LayerTools.Wgs84toGoogleMercator.MathTransform);

 

So How can I fix it or better what do I need?

 

Mar 17, 2011 at 12:01 PM

I have fied it now!

Sorry, the LayersTools.cs was excluded in the project! ;)