1

Closed

Add attributions

description

Add attributions to map tiles. For example OpenStreetMap: "(c) OpenStreetMap contributors, CC-BY-SA'" in the corner of the map. Details: http://www.osmfoundation.org/wiki/License#How_should_I_attribute_you.3F
Closed Apr 24, 2016 at 1:49 PM by bertt

comments

charga wrote Dec 28, 2010 at 3:19 PM

In TileServiceHelper.cs --> Draw
you can put something like after all tiles are loaded
                    LoadTiles(trackCancel);
                    //DrawTilesInMemory(trackCancel);
                    DrawCopyRight(copyrightPoint, copyrightText);
where copyrightPoint is:
                IPoint copyrightPoint = new PointClass();
                copyrightPoint = env.LowerLeft;
                env = Projector.ProjectEnvelope(env, schema.Srs);
before project the envelope

And in the DrawCopyRight routine use the standard DrawText from the display,and some kind of make ups