Dynamic logo layer


PurposeThis sample demonstrates implementation of a dynamic layer through inheritance of base-class 'DynamicLayerBase' which is part of the ESRI.ArcGIS.ADF.BaseClasses assembly.

In order to use the 'DynamicLayerBase' class, you class must derive from it and override method 'DrawDynamicLayer()'.

In this particular sample, the layer will draw an ESRI logo in the lower left corner of the map display.

Development licensing Deployment licensing
Engine Developer Kit Engine Runtime

Additional Requirements
  • The logo image used by the layer can be found at: <your install location>/DeveloperKit/SamplesNET/data/ESRILogo/ESRI_Logo.bmp

How to use

See Using the samples for help on compiling, setting up the debugger, and running the sample (either an exe or dll).

  1. Open the solution using Visual Studio 2005.
  2. Build the solution to make the 'DynamicLogoLayer' class library.
  3. You will need to use this command in an application with a MapControl and a ToolbarControl.
  4. Add the command to the ToolbarControl. The command can be found in the '.NET Samples' category with the name 'Show LogoLayer'.
  5. Run the application and add any layer to use as a background.
  6. Click the 'Show LogoLayer' command in order to add the logo layer to the map. You will notice that a logo will be added on the lower left corner of the map. Once you switch the map into dynamic mode you will notice the logo remains in place.

DynamicLogoLayerClass.cs Implementation file of the DynamicLogoClass class.
ShowDynamicLogoCmd.cs Command which adds the logo layer to the map.
Download the C# files
DynamicLogoLayerClass.vb Implementation file of the DynamicLogoClass class.
ShowDynamicLogoCmd.vb Command which adds the logo layer to the map.
Download the VB.NET files

Download the files for all languages

See Also:

About dynamic display
How to create a dynamic glyph from a marker symbol
Dynamic Display layer sample
Dynamic Display - Compass
Dynamic Display - tracking dynamic object