User Tools

Site Tools


map_suite_adornments

This is an old revision of the document!


Map Suite Adornments

Video Overview

Overview

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.

Types of Adornments

There are seven types of adornment that are supported in 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 adornment types:

Scale Bar Adornment

Display scale bars on the map and shows the scale ratio and unit.

Border


Scale Line Adornment

Display scale line on the map and shows the scale ratio and unit.

Border

Scale Text Adornment

Display scale text on the map.It show the scale ratio and unit.

Border

Logo Adornment

Allows you to add logos, images, etc. You can change the position by using the Adornment Layer's properties.

Border

Graticule Adornment

Graticule adornment can show meridians and parallels at various intervals based on the zoom level.

Border

Magnetic Declination Adornment

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).

Border

Legend Adornment

Legend gives context to the user; it describes the features being displayed on the map.

Border

A Look at the Code

There are two projects in the Visual Studio solution; one using Leaflet javascript mapping library and the other using OpenLayers. In each project the AdornmentsController contains the function that loads each adornment type. The functions shows how to build a adornment layer. The RefreshAdornmentLayer function and RefreshSchoolPoiLayer function will show two different drawing styles.

map_suite_adornments.1452272996.txt.gz · Last modified: 2016/01/08 17:09 by mwolffer