ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
This is an old revision of the document!
Map Suite WebAPI Edition supports many popular adornments. In this learning sample we will go over some of the most common supported adornment and learn two different drawing styles.
There are seven types of adornment that are supported by Map Suite Core: Scale Bar Adornment, Scale Line Adornment, Scale Text Adornment,Logo Adornment, Graticule Adornment,Magnetic Declination Adornment, and Legend Adornment.
In this learning sample we will go over some of the most popular types of of adornments:
Display scale bars on the map.It show the scale ratio and unit.
Display scale line on the map.It show the scale ratio and unit.
Display scale text on the map.It show the scale ratio and unit.
The adornment should work for various kinds of logos and allow you to change the position using the AdornmentLayer's properties.
Graticule adornment can show meridians and parallels at various intervals based on the zoom level.
The adornment is used for showing the angle on the horizontal plane between magnetic north (the direction in which the north end of a compass needle, corresponding to the direction of the Earth's magnetic field lines) and true north (the direction along a meridian towards the geographic North Pole).
Legend adornment can show a variety of custom information.
There are two projects in the Visual Studio solution. One is for the Leaflet javascript mapping library and one is for OpenLayers. In each project the AdornmentsController contains the function that loads each adornment type. The functions show how to build a adornment layer.The RefreshAdornmentLayer function and RefreshSchoolPoiLayer function will show two different drawing styles.