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 supports adornments which are graphical items that appear on top of your map and remain in a fixed position even as you pan and zoom. They are often informational, and include things like titles, scale bars, north arrows and legends. This is very helpful to viewers to better understand the context of the map.
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:
The adornment should work for various kinds of logos and allow you to change the position using the AdornmentLayer's properties.
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).
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.