Interface: ContourLabelOptions
Defined in: Contour.ts:212
Options for ContourLabels
Properties
Property | Type | Description | Defined in |
---|---|---|---|
density? | number | Label density. 2 makes the labels twice as dense, 0.5 makes them half as dense. Default 1 | Contour.ts:258 |
font_face? | string | Font face to use for the contour labels Default 'Trebuchet MS' | Contour.ts:223 |
font_size? | number | Font size in points to use for the contour labels Default 12 | Contour.ts:229 |
font_url_template? | string | URL template to use in retrieving the font data for the labels. The default is to use the template from the map style. | Contour.ts:234 |
halo? | boolean | Whether to draw the halo (outline) on the contour labels Default false | Contour.ts:252 |
halo_color? | string | Halo (outline) color for the contour labels Default '#000000' | Contour.ts:246 |
n_decimal_places? | number | Number of decimal places to use in the contour labels Default 0 | Contour.ts:217 |
text_color? | string | Text color for the contour labels Default '#000000' | Contour.ts:240 |