This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
map_suite_adornments [2016/01/08 17:03] mwolffer [Scale Line Adornment] |
map_suite_adornments [2016/01/08 17:29] (current) mwolffer [Magnetic Declination Adornment] |
||
---|---|---|---|
Line 48: | Line 48: | ||
| | ||
====Logo Adornment==== | ====Logo Adornment==== | ||
- | The adornment should work for various kinds of logos and allow you to change the position using the AdornmentLayer's properties. | + | Allows you to add logos, images, etc. You can change the position by using the Adornment Layer's properties. |
<div captionwithborder floatright> | <div captionwithborder floatright> | ||
{{webapiedition:logoadornment.png?300|Border}} | {{webapiedition:logoadornment.png?300|Border}} | ||
Line 64: | Line 64: | ||
| | ||
====Magnetic Declination Adornment==== | ====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). | + | Allows you to add north arrows and can be used for showing the angle of the horizontal plane between magnetic north (the direction in which the north end of a compass corresponds to the direction of the Earth's magnetic field lines) and true north (the direction along a meridian towards the geographic North Pole). |
<div captionwithborder floatright> | <div captionwithborder floatright> | ||
{{webapiedition:magneticdeclinationadornment.png?300|Border}} | {{webapiedition:magneticdeclinationadornment.png?300|Border}} | ||
Line 72: | Line 72: | ||
| | ||
====Legend Adornment==== | ====Legend Adornment==== | ||
- | Legend adornment can show a variety of custom information. | + | Legend gives context to the user; it describes the features being displayed on the map. |
<div captionwithborder floatright> | <div captionwithborder floatright> | ||
{{webapiedition:legendadornment.png?300|Border}} | {{webapiedition:legendadornment.png?300|Border}} | ||
Line 83: | Line 83: | ||
=====A Look at the Code===== | =====A Look at the Code===== | ||
- | 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. | + | 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. |