Description Usage Arguments Examples
Draw a scalebar on a map,
1 2  | 
loc | 
 Where to put the bar (longitude and latitude)  | 
unit | 
 The unit to use on for the scalebare. For autocomputed size, several units are possible: kilometer: "km", mile "mi", nautical mile "nmi", meter "m" or league "li"  | 
degrees | 
 A logical argument TRUE is the shape file is in degrees and FALSE is the shapefile is projected  | 
scale | 
 Ratio between projected map unit and physical distence unit. To be use if degrees = FALSE  | 
lenght | 
 How long it should be  | 
1 2 3 4  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.