smaller headings
This commit is contained in:
parent
cbd4c0250d
commit
2a5c85a9d5
@ -1,7 +1,7 @@
|
||||
<% _(symbolizers).each(function(symbolizer, name) { %>
|
||||
<% if (name == '*') { %>## All elements<% } else { %>## <%= name %><% } %>
|
||||
<% _(symbolizer).chain().filter(function(p) { return p.css; }).each(function(p) { %>
|
||||
#### <%= p.css.replace(/\s/g, '') %> <% if (_.isArray(p.type)) { %>`keyword`<% } else { %>`<%= p.type %>`<% } %>
|
||||
##### <%= p.css.replace(/\s/g, '') %> <% if (_.isArray(p.type)) { %>`keyword`<% } else { %>`<%= p.type %>`<% } %>
|
||||
<% if (_.isArray(p.type)) { %><% _(p.type).each(function(type) { %>`<%= type %>`<% }); %><% } %>
|
||||
|
||||
<% if (typeof p['default-value'] !== '') { %>Default Value: <%= p['default-value'] %><% } %>
|
||||
|
218
docs/2.0.0.md
218
docs/2.0.0.md
@ -4,7 +4,7 @@ The following is a list of properties provided in CartoCSS that you can apply to
|
||||
|
||||
## map
|
||||
|
||||
#### background-color `color`
|
||||
##### background-color `color`
|
||||
|
||||
|
||||
Default Value: none
|
||||
@ -13,7 +13,7 @@ _(transparent)_
|
||||
Map Background color
|
||||
* * *
|
||||
|
||||
#### background-image `uri`
|
||||
##### background-image `uri`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -22,7 +22,7 @@ _(transparent)_
|
||||
An image that is repeated below all features on a map as a background.
|
||||
* * *
|
||||
|
||||
#### srs `string`
|
||||
##### srs `string`
|
||||
|
||||
|
||||
Default Value: +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs
|
||||
@ -31,7 +31,7 @@ _(The proj4 literal of EPSG:4326 is assumed to be the Map's spatial referen
|
||||
Map spatial reference (proj4 string)
|
||||
* * *
|
||||
|
||||
#### buffer-size `float`
|
||||
##### buffer-size `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -40,7 +40,7 @@ _(No buffer will be used)_
|
||||
Extra tolerance around the map (in pixels) used to ensure labels crossing tile boundaries are equally rendered in each tile (e.g. cut in each tile). Not intended to be used in combination with "avoid-edges".
|
||||
* * *
|
||||
|
||||
#### base `string`
|
||||
##### base `string`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -49,7 +49,7 @@ _(This base path defaults to an empty string meaning that any relative paths to
|
||||
Any relative paths used to reference files will be understood as relative to this directory path if the map is loaded from an in memory object rather than from the filesystem. If the map is loaded from the filesystem and this option is not provided it will be set to the directory of the stylesheet.
|
||||
* * *
|
||||
|
||||
#### font-directory `uri`
|
||||
##### font-directory `uri`
|
||||
|
||||
|
||||
Default Value: none
|
||||
@ -61,7 +61,7 @@ Path to a directory which holds fonts which should be registered when the Map is
|
||||
|
||||
## polygon
|
||||
|
||||
#### polygon-fill `color`
|
||||
##### polygon-fill `color`
|
||||
|
||||
|
||||
Default Value: rgba(128,128,128,1)
|
||||
@ -70,7 +70,7 @@ _(gray and fully opaque (alpha = 1), same as rgb(128,128,128))_
|
||||
Fill color to assign to a polygon
|
||||
* * *
|
||||
|
||||
#### polygon-gamma `float`
|
||||
##### polygon-gamma `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -79,7 +79,7 @@ Range: 0-1
|
||||
Level of antialiasing of polygon edges
|
||||
* * *
|
||||
|
||||
#### polygon-opacity `float`
|
||||
##### polygon-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -88,7 +88,7 @@ _(opaque)_
|
||||
The opacity of the polygon
|
||||
* * *
|
||||
|
||||
#### polygon-smooth `float`
|
||||
##### polygon-smooth `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -100,7 +100,7 @@ Amount of smoothing applied
|
||||
|
||||
## line
|
||||
|
||||
#### line-color `color`
|
||||
##### line-color `color`
|
||||
|
||||
|
||||
Default Value: rgba(0,0,0,1)
|
||||
@ -109,7 +109,7 @@ _(black and fully opaque (alpha = 1), same as rgb(0,0,0))_
|
||||
The color of a drawn line
|
||||
* * *
|
||||
|
||||
#### line-width `float`
|
||||
##### line-width `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -118,7 +118,7 @@ Default Value: 1
|
||||
The width of a line in pixels
|
||||
* * *
|
||||
|
||||
#### line-opacity `float`
|
||||
##### line-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -127,7 +127,7 @@ _(opaque)_
|
||||
The opacity of a line
|
||||
* * *
|
||||
|
||||
#### line-join `keyword`
|
||||
##### line-join `keyword`
|
||||
`miter``round``bevel`
|
||||
|
||||
Default Value: miter
|
||||
@ -136,7 +136,7 @@ Default Value: miter
|
||||
The behavior of lines when joining
|
||||
* * *
|
||||
|
||||
#### line-cap `keyword`
|
||||
##### line-cap `keyword`
|
||||
`butt``round``square`
|
||||
|
||||
Default Value: butt
|
||||
@ -145,7 +145,7 @@ Default Value: butt
|
||||
The display of line endings
|
||||
* * *
|
||||
|
||||
#### line-gamma `float`
|
||||
##### line-gamma `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -154,7 +154,7 @@ Range: 0-1
|
||||
Level of antialiasing of stroke line
|
||||
* * *
|
||||
|
||||
#### line-dasharray `numbers`
|
||||
##### line-dasharray `numbers`
|
||||
|
||||
|
||||
Default Value: none
|
||||
@ -163,7 +163,7 @@ _(solid line)_
|
||||
A pair of length values [a,b], where (a) is the dash length and (b) is the gap length respectively. More than two values are supported for more complex patterns.
|
||||
* * *
|
||||
|
||||
#### line-dash-offset `numbers`
|
||||
##### line-dash-offset `numbers`
|
||||
|
||||
|
||||
Default Value: none
|
||||
@ -172,7 +172,7 @@ _(solid line)_
|
||||
valid parameter but not currently used in renderers
|
||||
* * *
|
||||
|
||||
#### line-rasterizer `keyword`
|
||||
##### line-rasterizer `keyword`
|
||||
`full``fast`
|
||||
|
||||
Default Value: full
|
||||
@ -184,7 +184,7 @@ Exposes an alternate AGG rendering method that sacrifices some accuracy for spee
|
||||
|
||||
## markers
|
||||
|
||||
#### marker-file `uri`
|
||||
##### marker-file `uri`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -193,7 +193,7 @@ _(An ellipse or circle, if width equals height)_
|
||||
An SVG file that this marker shows at each placement. If no file is given, the marker will show an ellipse.
|
||||
* * *
|
||||
|
||||
#### marker-opacity `float`
|
||||
##### marker-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -202,7 +202,7 @@ _(opaque)_
|
||||
The overall opacity of the marker
|
||||
* * *
|
||||
|
||||
#### marker-line-color `color`
|
||||
##### marker-line-color `color`
|
||||
|
||||
|
||||
Default Value: black
|
||||
@ -211,7 +211,7 @@ Default Value: black
|
||||
The color of the stroke around a marker shape.
|
||||
* * *
|
||||
|
||||
#### marker-line-width `float`
|
||||
##### marker-line-width `float`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -220,7 +220,7 @@ Default Value: undefined
|
||||
The width of the stroke around a marker shape, in pixels. This is positioned on the boundary, so high values can cover the area itself.
|
||||
* * *
|
||||
|
||||
#### marker-line-opacity `float`
|
||||
##### marker-line-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -229,7 +229,7 @@ _(opaque)_
|
||||
The opacity of a line
|
||||
* * *
|
||||
|
||||
#### marker-placement `keyword`
|
||||
##### marker-placement `keyword`
|
||||
`point``line`
|
||||
|
||||
Default Value: line
|
||||
@ -238,7 +238,7 @@ Default Value: line
|
||||
Attempt to place markers on a point once or on a line repeatedly
|
||||
* * *
|
||||
|
||||
#### marker-type `keyword`
|
||||
##### marker-type `keyword`
|
||||
`arrow``ellipse`
|
||||
|
||||
Default Value: ellipse
|
||||
@ -247,7 +247,7 @@ Default Value: ellipse
|
||||
The default marker-type. If a SVG file is not given as the marker-file parameter, the renderer provides either an arrow or an ellipse (a circle if height is equal to width)
|
||||
* * *
|
||||
|
||||
#### marker-width `float`
|
||||
##### marker-width `float`
|
||||
|
||||
|
||||
Default Value: 10
|
||||
@ -256,7 +256,7 @@ Default Value: 10
|
||||
The width of the marker, if using one of the default types.
|
||||
* * *
|
||||
|
||||
#### marker-height `float`
|
||||
##### marker-height `float`
|
||||
|
||||
|
||||
Default Value: 10
|
||||
@ -265,7 +265,7 @@ Default Value: 10
|
||||
The height of the marker, if using one of the default types.
|
||||
* * *
|
||||
|
||||
#### marker-fill `color`
|
||||
##### marker-fill `color`
|
||||
|
||||
|
||||
Default Value: blue
|
||||
@ -274,7 +274,7 @@ Default Value: blue
|
||||
The color of the area of the marker.
|
||||
* * *
|
||||
|
||||
#### marker-allow-overlap `boolean`
|
||||
##### marker-allow-overlap `boolean`
|
||||
|
||||
|
||||
Default Value: false
|
||||
@ -283,7 +283,7 @@ _(Do not allow makers to overlap with each other - overlapping markers will not
|
||||
Control whether overlapping markers are shown or hidden.
|
||||
* * *
|
||||
|
||||
#### marker-ignore-placement `boolean`
|
||||
##### marker-ignore-placement `boolean`
|
||||
|
||||
|
||||
Default Value: false
|
||||
@ -292,7 +292,7 @@ _(do not store the bbox of this geometry in the collision detector cache)_
|
||||
value to control whether the placement of the feature will prevent the placement of other features
|
||||
* * *
|
||||
|
||||
#### marker-spacing `float`
|
||||
##### marker-spacing `float`
|
||||
|
||||
|
||||
Default Value: 100
|
||||
@ -301,7 +301,7 @@ Default Value: 100
|
||||
Space between repeated labels
|
||||
* * *
|
||||
|
||||
#### marker-max-error `float`
|
||||
##### marker-max-error `float`
|
||||
|
||||
|
||||
Default Value: 0.2
|
||||
@ -310,7 +310,7 @@ Default Value: 0.2
|
||||
The maximum difference between actual marker placement and the marker-spacing parameter. Setting a high value can allow the renderer to try to resolve placement conflicts with other symbolizers.
|
||||
* * *
|
||||
|
||||
#### marker-transform `string`
|
||||
##### marker-transform `string`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -322,7 +322,7 @@ An SVG transformation definition
|
||||
|
||||
## shield
|
||||
|
||||
#### shield-name `string`
|
||||
##### shield-name `string`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -331,7 +331,7 @@ Default Value: undefined
|
||||
Value to use for a shield"s text label. Data columns are specified using brackets like [column_name]
|
||||
* * *
|
||||
|
||||
#### shield-face-name `string`
|
||||
##### shield-face-name `string`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -340,7 +340,7 @@ Default Value:
|
||||
Font name and style to use for the shield text
|
||||
* * *
|
||||
|
||||
#### shield-unlock-image `boolean`
|
||||
##### shield-unlock-image `boolean`
|
||||
|
||||
|
||||
Default Value: false
|
||||
@ -349,7 +349,7 @@ _(text alignment relative to the shield image uses the center of the image as th
|
||||
This parameter should be set to true if you are trying to position text beside rather than on top of the shield image
|
||||
* * *
|
||||
|
||||
#### shield-size `float`
|
||||
##### shield-size `float`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -358,7 +358,7 @@ Default Value: undefined
|
||||
The size of the shield text in pixels
|
||||
* * *
|
||||
|
||||
#### shield-fill `color`
|
||||
##### shield-fill `color`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -367,7 +367,7 @@ Default Value: undefined
|
||||
The color of the shield text
|
||||
* * *
|
||||
|
||||
#### shield-placement `keyword`
|
||||
##### shield-placement `keyword`
|
||||
`point``line``vertex``interior`
|
||||
|
||||
Default Value: point
|
||||
@ -376,7 +376,7 @@ Default Value: point
|
||||
How this shield should be placed. Point placement attempts to place it on top of points, line places along lines multiple times per feature, vertex places on the vertexes of polygons, and interior attempts to place inside of polygons.
|
||||
* * *
|
||||
|
||||
#### shield-avoid-edges `boolean`
|
||||
##### shield-avoid-edges `boolean`
|
||||
|
||||
|
||||
Default Value: false
|
||||
@ -385,7 +385,7 @@ Default Value: false
|
||||
Tell positioning algorithm to avoid labeling near intersection edges.
|
||||
* * *
|
||||
|
||||
#### shield-min-distance `float`
|
||||
##### shield-min-distance `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -394,7 +394,7 @@ Default Value: 0
|
||||
Minimum distance to the next shield symbol, not necessarily the same shield.
|
||||
* * *
|
||||
|
||||
#### shield-spacing `float`
|
||||
##### shield-spacing `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -403,7 +403,7 @@ Default Value: 0
|
||||
The spacing between repeated occurrences of the same shield on a line
|
||||
* * *
|
||||
|
||||
#### shield-min-padding `float`
|
||||
##### shield-min-padding `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -412,7 +412,7 @@ Default Value: 0
|
||||
Determines the minimum amount of padding that a shield gets relative to other shields
|
||||
* * *
|
||||
|
||||
#### shield-wrap-width `float`
|
||||
##### shield-wrap-width `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -421,7 +421,7 @@ Default Value: 0
|
||||
Length before wrapping long names.
|
||||
* * *
|
||||
|
||||
#### shield-wrap-character `string`
|
||||
##### shield-wrap-character `string`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -430,7 +430,7 @@ Default Value:
|
||||
Use this character instead of a space to wrap long names.
|
||||
* * *
|
||||
|
||||
#### shield-halo-fill `color`
|
||||
##### shield-halo-fill `color`
|
||||
|
||||
|
||||
Default Value: #FFFFFF
|
||||
@ -439,7 +439,7 @@ _(white)_
|
||||
Specifies the color of the halo around the text.
|
||||
* * *
|
||||
|
||||
#### shield-halo-radius `float`
|
||||
##### shield-halo-radius `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -448,7 +448,7 @@ _(no halo)_
|
||||
Specify the radius of the halo in pixels
|
||||
* * *
|
||||
|
||||
#### shield-character-spacing `float`
|
||||
##### shield-character-spacing `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -457,7 +457,7 @@ Default Value: 0
|
||||
Horizontal spacing between characters (in pixels). Currently works for point placement only, not line placement.
|
||||
* * *
|
||||
|
||||
#### shield-line-spacing `float`
|
||||
##### shield-line-spacing `float`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -466,7 +466,7 @@ Default Value: undefined
|
||||
Vertical spacing between lines of multiline labels (in pixels)
|
||||
* * *
|
||||
|
||||
#### shield-file `uri`
|
||||
##### shield-file `uri`
|
||||
|
||||
|
||||
Default Value: none
|
||||
@ -475,7 +475,7 @@ Default Value: none
|
||||
Image file to render behind the shield text
|
||||
* * *
|
||||
|
||||
#### shield-text-dx `float`
|
||||
##### shield-text-dx `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -484,7 +484,7 @@ Default Value: 0
|
||||
Displace text within shield by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right
|
||||
* * *
|
||||
|
||||
#### shield-text-dy `float`
|
||||
##### shield-text-dy `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -493,7 +493,7 @@ Default Value: 0
|
||||
Displace text within shield by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down
|
||||
* * *
|
||||
|
||||
#### shield-dx `float`
|
||||
##### shield-dx `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -502,7 +502,7 @@ Default Value: 0
|
||||
Displace shield by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right
|
||||
* * *
|
||||
|
||||
#### shield-dy `float`
|
||||
##### shield-dy `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -511,7 +511,7 @@ Default Value: 0
|
||||
Displace shield by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down
|
||||
* * *
|
||||
|
||||
#### shield-opacity `float`
|
||||
##### shield-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -520,7 +520,7 @@ Default Value: 1
|
||||
(Default 1.0) - opacity of the image used for the shield
|
||||
* * *
|
||||
|
||||
#### shield-text-opacity `float`
|
||||
##### shield-text-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -529,7 +529,7 @@ Default Value: 1
|
||||
(Default 1.0) - opacity of the text placed on top of the shield
|
||||
* * *
|
||||
|
||||
#### shield-horizontal-alignment `keyword`
|
||||
##### shield-horizontal-alignment `keyword`
|
||||
`left``middle``right``auto`
|
||||
|
||||
Default Value: middle
|
||||
@ -538,7 +538,7 @@ Default Value: middle
|
||||
The shield's horizontal alignment from its centerpoint
|
||||
* * *
|
||||
|
||||
#### shield-text-transform `keyword`
|
||||
##### shield-text-transform `keyword`
|
||||
`none``uppercase``lowercase``capitalize`
|
||||
|
||||
Default Value: none
|
||||
@ -547,7 +547,7 @@ Default Value: none
|
||||
Transform the case of the characters
|
||||
* * *
|
||||
|
||||
#### shield-no-text `boolean`
|
||||
##### shield-no-text `boolean`
|
||||
|
||||
|
||||
Default Value: false
|
||||
@ -556,7 +556,7 @@ Default Value: false
|
||||
Whether the shield should make room for a text label.
|
||||
* * *
|
||||
|
||||
#### shield-justify-alignment `string`
|
||||
##### shield-justify-alignment `string`
|
||||
|
||||
|
||||
Default Value: middle
|
||||
@ -568,7 +568,7 @@ Define how text in a shield's label is justified
|
||||
|
||||
## line-pattern
|
||||
|
||||
#### line-pattern-file `uri`
|
||||
##### line-pattern-file `uri`
|
||||
|
||||
|
||||
Default Value: none
|
||||
@ -580,7 +580,7 @@ An image file to be repeated and warped along a line
|
||||
|
||||
## polygon-pattern
|
||||
|
||||
#### polygon-pattern-file `uri`
|
||||
##### polygon-pattern-file `uri`
|
||||
|
||||
|
||||
Default Value: none
|
||||
@ -589,7 +589,7 @@ Default Value: none
|
||||
Image to use as a repeated pattern fill within a polygon
|
||||
* * *
|
||||
|
||||
#### polygon-pattern-alignment `keyword`
|
||||
##### polygon-pattern-alignment `keyword`
|
||||
`local``global`
|
||||
|
||||
Default Value: local
|
||||
@ -598,7 +598,7 @@ Default Value: local
|
||||
Specify whether to align pattern fills to the layer or to the map.
|
||||
* * *
|
||||
|
||||
#### polygon-pattern-gamma `float`
|
||||
##### polygon-pattern-gamma `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -610,7 +610,7 @@ Level of antialiasing of polygon pattern edges
|
||||
|
||||
## raster
|
||||
|
||||
#### raster-opacity `float`
|
||||
##### raster-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -619,7 +619,7 @@ _(opaque)_
|
||||
The opacity of the raster symbolizer on top of other symbolizers.
|
||||
* * *
|
||||
|
||||
#### raster-mode `keyword`
|
||||
##### raster-mode `keyword`
|
||||
`normal``grain_merge``grain_merge2``multiply``multiply2``divide``divide2``screen``hard_light`
|
||||
|
||||
Default Value: normal
|
||||
@ -628,7 +628,7 @@ Default Value: normal
|
||||
The blending technique used to overlay this raster image on the layer below. Normal simply covers the layer. Grain merge adds the two layers together and subtracts 128 from the value, making the resulting area sometimes high-contrast. Screen often gives a lighter, washed-out appearance. Multiply multiplies the pixels, giving a high-contrast result. Divide divides the upper layer by the lower layer, making a lighter version.
|
||||
* * *
|
||||
|
||||
#### raster-filter-factor `float`
|
||||
##### raster-filter-factor `float`
|
||||
|
||||
|
||||
Default Value: -1
|
||||
@ -637,7 +637,7 @@ _(Allow the datasource to choose appropriate downscaling.)_
|
||||
This is used by the Raster or Gdal datasources to pre-downscale images using overviews. Higher numbers can sometimes cause much better scaled image output, at the cost of speed.
|
||||
* * *
|
||||
|
||||
#### raster-scaling `keyword`
|
||||
##### raster-scaling `keyword`
|
||||
`fast``bilinear``bilinear8``bicubic``spline16``gaussian``lanczos`
|
||||
|
||||
Default Value: fast
|
||||
@ -646,7 +646,7 @@ Default Value: fast
|
||||
The scaling algorithm used to making different resolution versions of this raster layer. Bilinear is a good compromise between speed and accuracy, while lanczos gives the highest quality.
|
||||
* * *
|
||||
|
||||
#### raster-mesh-size `integer`
|
||||
##### raster-mesh-size `integer`
|
||||
|
||||
|
||||
Default Value: 16
|
||||
@ -658,7 +658,7 @@ A reduced resolution mesh is used for raster reprojection, and the total image s
|
||||
|
||||
## point
|
||||
|
||||
#### point-file `uri`
|
||||
##### point-file `uri`
|
||||
|
||||
|
||||
Default Value: none
|
||||
@ -667,7 +667,7 @@ Default Value: none
|
||||
Image file to represent a point
|
||||
* * *
|
||||
|
||||
#### point-allow-overlap `boolean`
|
||||
##### point-allow-overlap `boolean`
|
||||
|
||||
|
||||
Default Value: false
|
||||
@ -676,7 +676,7 @@ _(Do not allow points to overlap with each other - overlapping markers will not
|
||||
Control whether overlapping points are shown or hidden.
|
||||
* * *
|
||||
|
||||
#### point-ignore-placement `boolean`
|
||||
##### point-ignore-placement `boolean`
|
||||
|
||||
|
||||
Default Value: false
|
||||
@ -685,7 +685,7 @@ _(do not store the bbox of this geometry in the collision detector cache)_
|
||||
value to control whether the placement of the feature will prevent the placement of other features
|
||||
* * *
|
||||
|
||||
#### point-opacity `float`
|
||||
##### point-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -694,7 +694,7 @@ _(Fully opaque)_
|
||||
A value from 0 to 1 to control the opacity of the point
|
||||
* * *
|
||||
|
||||
#### point-placement `keyword`
|
||||
##### point-placement `keyword`
|
||||
`centroid``interior`
|
||||
|
||||
Default Value: centroid
|
||||
@ -703,7 +703,7 @@ Default Value: centroid
|
||||
How this point should be placed. Centroid calculates the geometric center of a polygon, which can be outside of it, while interior always places inside of a polygon.
|
||||
* * *
|
||||
|
||||
#### point-transform `string`
|
||||
##### point-transform `string`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -715,7 +715,7 @@ SVG transformation definition
|
||||
|
||||
## text
|
||||
|
||||
#### text-name `string`
|
||||
##### text-name `string`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -724,7 +724,7 @@ Default Value:
|
||||
Value to use for a text label. Data columns are specified using brackets like [column_name]
|
||||
* * *
|
||||
|
||||
#### text-face-name `string`
|
||||
##### text-face-name `string`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -733,7 +733,7 @@ Default Value: undefined
|
||||
Font name and style to render a label in
|
||||
* * *
|
||||
|
||||
#### text-size `float`
|
||||
##### text-size `float`
|
||||
|
||||
|
||||
Default Value: 10
|
||||
@ -742,7 +742,7 @@ Default Value: 10
|
||||
Text size in pixels
|
||||
* * *
|
||||
|
||||
#### text-ratio `float`
|
||||
##### text-ratio `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -751,7 +751,7 @@ Default Value: 0
|
||||
Define the amount of text (of the total) present on successive lines when wrapping occurs
|
||||
* * *
|
||||
|
||||
#### text-wrap-width `float`
|
||||
##### text-wrap-width `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -760,7 +760,7 @@ Default Value: 0
|
||||
Length of a chunk of text in characters before wrapping text
|
||||
* * *
|
||||
|
||||
#### text-wrap-character `string`
|
||||
##### text-wrap-character `string`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -769,7 +769,7 @@ Default Value:
|
||||
Use this character instead of a space to wrap long text.
|
||||
* * *
|
||||
|
||||
#### text-spacing `float`
|
||||
##### text-spacing `float`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -778,7 +778,7 @@ Default Value: undefined
|
||||
Distance between repeated text labels on a line
|
||||
* * *
|
||||
|
||||
#### text-character-spacing `float`
|
||||
##### text-character-spacing `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -787,7 +787,7 @@ Default Value: 0
|
||||
Horizontal spacing adjustment between characters in pixels
|
||||
* * *
|
||||
|
||||
#### text-line-spacing `float`
|
||||
##### text-line-spacing `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -796,7 +796,7 @@ Default Value: 0
|
||||
Vertical spacing adjustment between lines in pixels
|
||||
* * *
|
||||
|
||||
#### text-label-position-tolerance `float`
|
||||
##### text-label-position-tolerance `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -805,7 +805,7 @@ Default Value: 0
|
||||
Allows the label to be displaced from its ideal position by a number of pixels
|
||||
* * *
|
||||
|
||||
#### text-max-char-angle-delta `float`
|
||||
##### text-max-char-angle-delta `float`
|
||||
|
||||
|
||||
Default Value: none
|
||||
@ -814,7 +814,7 @@ Default Value: none
|
||||
If present, the maximum angle change, in degrees, allowed between adjacent characters in a label. This will stop label placement around sharp corners.
|
||||
* * *
|
||||
|
||||
#### text-fill `color`
|
||||
##### text-fill `color`
|
||||
|
||||
|
||||
Default Value: #000000
|
||||
@ -823,7 +823,7 @@ Default Value: #000000
|
||||
Specifies the color for the text
|
||||
* * *
|
||||
|
||||
#### text-opacity `float`
|
||||
##### text-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -832,7 +832,7 @@ _(Fully opaque)_
|
||||
A number from 0 to 1 specifying the opacity for the text
|
||||
* * *
|
||||
|
||||
#### text-halo-fill `color`
|
||||
##### text-halo-fill `color`
|
||||
|
||||
|
||||
Default Value: #FFFFFF
|
||||
@ -841,7 +841,7 @@ _(white)_
|
||||
Specifies the color of the halo around the text.
|
||||
* * *
|
||||
|
||||
#### text-halo-radius `float`
|
||||
##### text-halo-radius `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -850,7 +850,7 @@ _(no halo)_
|
||||
Specify the radius of the halo in pixels
|
||||
* * *
|
||||
|
||||
#### text-dx `float`
|
||||
##### text-dx `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -859,7 +859,7 @@ Default Value: 0
|
||||
Displace text by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right
|
||||
* * *
|
||||
|
||||
#### text-dy `float`
|
||||
##### text-dy `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -868,7 +868,7 @@ Default Value: 0
|
||||
Displace text by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down
|
||||
* * *
|
||||
|
||||
#### text-vertical-alignment `keyword`
|
||||
##### text-vertical-alignment `keyword`
|
||||
`top``middle``bottom`
|
||||
|
||||
Default Value: middle
|
||||
@ -877,7 +877,7 @@ _(Default affected by value of dy; "bottom" for dy>0, "top&quo
|
||||
Position of label relative to point position.
|
||||
* * *
|
||||
|
||||
#### text-avoid-edges `boolean`
|
||||
##### text-avoid-edges `boolean`
|
||||
|
||||
|
||||
Default Value: false
|
||||
@ -886,7 +886,7 @@ Default Value: false
|
||||
Tell positioning algorithm to avoid labeling near intersection edges.
|
||||
* * *
|
||||
|
||||
#### text-min-distance `float`
|
||||
##### text-min-distance `float`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -895,7 +895,7 @@ Default Value: undefined
|
||||
Minimum permitted distance to the next text symbolizer.
|
||||
* * *
|
||||
|
||||
#### text-min-padding `float`
|
||||
##### text-min-padding `float`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -904,7 +904,7 @@ Default Value: undefined
|
||||
Determines the minimum amount of padding that a text symbolizer gets relative to other text
|
||||
* * *
|
||||
|
||||
#### text-min-path-length `float`
|
||||
##### text-min-path-length `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -913,7 +913,7 @@ _(place labels on all paths)_
|
||||
Place labels only on paths longer than this value.
|
||||
* * *
|
||||
|
||||
#### text-allow-overlap `boolean`
|
||||
##### text-allow-overlap `boolean`
|
||||
|
||||
|
||||
Default Value: false
|
||||
@ -922,7 +922,7 @@ _(Do not allow text to overlap with other text - overlapping markers will not be
|
||||
Control whether overlapping text is shown or hidden.
|
||||
* * *
|
||||
|
||||
#### text-orientation `float`
|
||||
##### text-orientation `float`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -931,7 +931,7 @@ Default Value: undefined
|
||||
Rotate the text.
|
||||
* * *
|
||||
|
||||
#### text-placement `keyword`
|
||||
##### text-placement `keyword`
|
||||
`point``line``vertex``interior`
|
||||
|
||||
Default Value: point
|
||||
@ -940,7 +940,7 @@ Default Value: point
|
||||
Control the style of placement of a point versus the geometry it is attached to.
|
||||
* * *
|
||||
|
||||
#### text-placement-type `keyword`
|
||||
##### text-placement-type `keyword`
|
||||
`dummy``simple`
|
||||
|
||||
Default Value: dummy
|
||||
@ -949,7 +949,7 @@ Default Value: dummy
|
||||
Re-position and/or re-size text to avoid overlaps. "simple" for basic algorithm (using text-placements string,) "dummy" to turn this feature off.
|
||||
* * *
|
||||
|
||||
#### text-placements `string`
|
||||
##### text-placements `string`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -958,7 +958,7 @@ Default Value:
|
||||
If "placement-type" is set to "simple", use this "POSITIONS,[SIZES]" string. See TextSymbolizer docs for format.
|
||||
* * *
|
||||
|
||||
#### text-transform `keyword`
|
||||
##### text-transform `keyword`
|
||||
`none``uppercase``lowercase``capitalize`
|
||||
|
||||
Default Value: none
|
||||
@ -967,7 +967,7 @@ Default Value: none
|
||||
Transform the case of the characters
|
||||
* * *
|
||||
|
||||
#### text-horizontal-alignment `keyword`
|
||||
##### text-horizontal-alignment `keyword`
|
||||
`left``middle``right``auto`
|
||||
|
||||
Default Value: middle
|
||||
@ -976,7 +976,7 @@ Default Value: middle
|
||||
The text's horizontal alignment from its centerpoint
|
||||
* * *
|
||||
|
||||
#### text-align `keyword`
|
||||
##### text-align `keyword`
|
||||
`left``right``center`
|
||||
|
||||
Default Value: center
|
||||
@ -988,7 +988,7 @@ Set the text alignment.
|
||||
|
||||
## building
|
||||
|
||||
#### building-fill `color`
|
||||
##### building-fill `color`
|
||||
|
||||
|
||||
Default Value: #FFFFFF
|
||||
@ -997,7 +997,7 @@ Default Value: #FFFFFF
|
||||
The color of the buildings walls.
|
||||
* * *
|
||||
|
||||
#### building-fill-opacity `float`
|
||||
##### building-fill-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -1006,7 +1006,7 @@ Default Value: 1
|
||||
The opacity of the building as a whole, including all walls.
|
||||
* * *
|
||||
|
||||
#### building-height `float`
|
||||
##### building-height `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
|
218
docs/2.0.1.md
218
docs/2.0.1.md
@ -4,7 +4,7 @@ The following is a list of properties provided in CartoCSS that you can apply to
|
||||
|
||||
## map
|
||||
|
||||
#### background-color `color`
|
||||
##### background-color `color`
|
||||
|
||||
|
||||
Default Value: none
|
||||
@ -13,7 +13,7 @@ _(transparent)_
|
||||
Map Background color
|
||||
* * *
|
||||
|
||||
#### background-image `uri`
|
||||
##### background-image `uri`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -22,7 +22,7 @@ _(transparent)_
|
||||
An image that is repeated below all features on a map as a background.
|
||||
* * *
|
||||
|
||||
#### srs `string`
|
||||
##### srs `string`
|
||||
|
||||
|
||||
Default Value: +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs
|
||||
@ -31,7 +31,7 @@ _(The proj4 literal of EPSG:4326 is assumed to be the Map's spatial referen
|
||||
Map spatial reference (proj4 string)
|
||||
* * *
|
||||
|
||||
#### buffer-size `float`
|
||||
##### buffer-size `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -40,7 +40,7 @@ _(No buffer will be used)_
|
||||
Extra tolerance around the map (in pixels) used to ensure labels crossing tile boundaries are equally rendered in each tile (e.g. cut in each tile). Not intended to be used in combination with "avoid-edges".
|
||||
* * *
|
||||
|
||||
#### base `string`
|
||||
##### base `string`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -49,7 +49,7 @@ _(This base path defaults to an empty string meaning that any relative paths to
|
||||
Any relative paths used to reference files will be understood as relative to this directory path if the map is loaded from an in memory object rather than from the filesystem. If the map is loaded from the filesystem and this option is not provided it will be set to the directory of the stylesheet.
|
||||
* * *
|
||||
|
||||
#### font-directory `uri`
|
||||
##### font-directory `uri`
|
||||
|
||||
|
||||
Default Value: none
|
||||
@ -61,7 +61,7 @@ Path to a directory which holds fonts which should be registered when the Map is
|
||||
|
||||
## polygon
|
||||
|
||||
#### polygon-fill `color`
|
||||
##### polygon-fill `color`
|
||||
|
||||
|
||||
Default Value: rgba(128,128,128,1)
|
||||
@ -70,7 +70,7 @@ _(gray and fully opaque (alpha = 1), same as rgb(128,128,128))_
|
||||
Fill color to assign to a polygon
|
||||
* * *
|
||||
|
||||
#### polygon-gamma `float`
|
||||
##### polygon-gamma `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -79,7 +79,7 @@ Range: 0-1
|
||||
Level of antialiasing of polygon edges
|
||||
* * *
|
||||
|
||||
#### polygon-opacity `float`
|
||||
##### polygon-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -88,7 +88,7 @@ _(opaque)_
|
||||
The opacity of the polygon
|
||||
* * *
|
||||
|
||||
#### polygon-smooth `float`
|
||||
##### polygon-smooth `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -100,7 +100,7 @@ Amount of smoothing applied
|
||||
|
||||
## line
|
||||
|
||||
#### line-color `color`
|
||||
##### line-color `color`
|
||||
|
||||
|
||||
Default Value: rgba(0,0,0,1)
|
||||
@ -109,7 +109,7 @@ _(black and fully opaque (alpha = 1), same as rgb(0,0,0))_
|
||||
The color of a drawn line
|
||||
* * *
|
||||
|
||||
#### line-width `float`
|
||||
##### line-width `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -118,7 +118,7 @@ Default Value: 1
|
||||
The width of a line in pixels
|
||||
* * *
|
||||
|
||||
#### line-opacity `float`
|
||||
##### line-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -127,7 +127,7 @@ _(opaque)_
|
||||
The opacity of a line
|
||||
* * *
|
||||
|
||||
#### line-join `keyword`
|
||||
##### line-join `keyword`
|
||||
`miter``round``bevel`
|
||||
|
||||
Default Value: miter
|
||||
@ -136,7 +136,7 @@ Default Value: miter
|
||||
The behavior of lines when joining
|
||||
* * *
|
||||
|
||||
#### line-cap `keyword`
|
||||
##### line-cap `keyword`
|
||||
`butt``round``square`
|
||||
|
||||
Default Value: butt
|
||||
@ -145,7 +145,7 @@ Default Value: butt
|
||||
The display of line endings
|
||||
* * *
|
||||
|
||||
#### line-gamma `float`
|
||||
##### line-gamma `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -154,7 +154,7 @@ Range: 0-1
|
||||
Level of antialiasing of stroke line
|
||||
* * *
|
||||
|
||||
#### line-dasharray `numbers`
|
||||
##### line-dasharray `numbers`
|
||||
|
||||
|
||||
Default Value: none
|
||||
@ -163,7 +163,7 @@ _(solid line)_
|
||||
A pair of length values [a,b], where (a) is the dash length and (b) is the gap length respectively. More than two values are supported for more complex patterns.
|
||||
* * *
|
||||
|
||||
#### line-dash-offset `numbers`
|
||||
##### line-dash-offset `numbers`
|
||||
|
||||
|
||||
Default Value: none
|
||||
@ -172,7 +172,7 @@ _(solid line)_
|
||||
valid parameter but not currently used in renderers
|
||||
* * *
|
||||
|
||||
#### line-rasterizer `keyword`
|
||||
##### line-rasterizer `keyword`
|
||||
`full``fast`
|
||||
|
||||
Default Value: full
|
||||
@ -184,7 +184,7 @@ Exposes an alternate AGG rendering method that sacrifices some accuracy for spee
|
||||
|
||||
## markers
|
||||
|
||||
#### marker-file `uri`
|
||||
##### marker-file `uri`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -193,7 +193,7 @@ _(An ellipse or circle, if width equals height)_
|
||||
An SVG file that this marker shows at each placement. If no file is given, the marker will show an ellipse.
|
||||
* * *
|
||||
|
||||
#### marker-opacity `float`
|
||||
##### marker-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -202,7 +202,7 @@ _(opaque)_
|
||||
The overall opacity of the marker
|
||||
* * *
|
||||
|
||||
#### marker-line-color `color`
|
||||
##### marker-line-color `color`
|
||||
|
||||
|
||||
Default Value: black
|
||||
@ -211,7 +211,7 @@ Default Value: black
|
||||
The color of the stroke around a marker shape.
|
||||
* * *
|
||||
|
||||
#### marker-line-width `float`
|
||||
##### marker-line-width `float`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -220,7 +220,7 @@ Default Value: undefined
|
||||
The width of the stroke around a marker shape, in pixels. This is positioned on the boundary, so high values can cover the area itself.
|
||||
* * *
|
||||
|
||||
#### marker-line-opacity `float`
|
||||
##### marker-line-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -229,7 +229,7 @@ _(opaque)_
|
||||
The opacity of a line
|
||||
* * *
|
||||
|
||||
#### marker-placement `keyword`
|
||||
##### marker-placement `keyword`
|
||||
`point``line`
|
||||
|
||||
Default Value: line
|
||||
@ -238,7 +238,7 @@ Default Value: line
|
||||
Attempt to place markers on a point once or on a line repeatedly
|
||||
* * *
|
||||
|
||||
#### marker-type `keyword`
|
||||
##### marker-type `keyword`
|
||||
`arrow``ellipse`
|
||||
|
||||
Default Value: ellipse
|
||||
@ -247,7 +247,7 @@ Default Value: ellipse
|
||||
The default marker-type. If a SVG file is not given as the marker-file parameter, the renderer provides either an arrow or an ellipse (a circle if height is equal to width)
|
||||
* * *
|
||||
|
||||
#### marker-width `float`
|
||||
##### marker-width `float`
|
||||
|
||||
|
||||
Default Value: 10
|
||||
@ -256,7 +256,7 @@ Default Value: 10
|
||||
The width of the marker, if using one of the default types.
|
||||
* * *
|
||||
|
||||
#### marker-height `float`
|
||||
##### marker-height `float`
|
||||
|
||||
|
||||
Default Value: 10
|
||||
@ -265,7 +265,7 @@ Default Value: 10
|
||||
The height of the marker, if using one of the default types.
|
||||
* * *
|
||||
|
||||
#### marker-fill `color`
|
||||
##### marker-fill `color`
|
||||
|
||||
|
||||
Default Value: blue
|
||||
@ -274,7 +274,7 @@ Default Value: blue
|
||||
The color of the area of the marker.
|
||||
* * *
|
||||
|
||||
#### marker-allow-overlap `boolean`
|
||||
##### marker-allow-overlap `boolean`
|
||||
|
||||
|
||||
Default Value: false
|
||||
@ -283,7 +283,7 @@ _(Do not allow makers to overlap with each other - overlapping markers will not
|
||||
Control whether overlapping markers are shown or hidden.
|
||||
* * *
|
||||
|
||||
#### marker-ignore-placement `boolean`
|
||||
##### marker-ignore-placement `boolean`
|
||||
|
||||
|
||||
Default Value: false
|
||||
@ -292,7 +292,7 @@ _(do not store the bbox of this geometry in the collision detector cache)_
|
||||
value to control whether the placement of the feature will prevent the placement of other features
|
||||
* * *
|
||||
|
||||
#### marker-spacing `float`
|
||||
##### marker-spacing `float`
|
||||
|
||||
|
||||
Default Value: 100
|
||||
@ -301,7 +301,7 @@ Default Value: 100
|
||||
Space between repeated labels
|
||||
* * *
|
||||
|
||||
#### marker-max-error `float`
|
||||
##### marker-max-error `float`
|
||||
|
||||
|
||||
Default Value: 0.2
|
||||
@ -310,7 +310,7 @@ Default Value: 0.2
|
||||
The maximum difference between actual marker placement and the marker-spacing parameter. Setting a high value can allow the renderer to try to resolve placement conflicts with other symbolizers.
|
||||
* * *
|
||||
|
||||
#### marker-transform `string`
|
||||
##### marker-transform `string`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -322,7 +322,7 @@ An SVG transformation definition
|
||||
|
||||
## shield
|
||||
|
||||
#### shield-name `string`
|
||||
##### shield-name `string`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -331,7 +331,7 @@ Default Value: undefined
|
||||
Value to use for a shield"s text label. Data columns are specified using brackets like [column_name]
|
||||
* * *
|
||||
|
||||
#### shield-face-name `string`
|
||||
##### shield-face-name `string`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -340,7 +340,7 @@ Default Value:
|
||||
Font name and style to use for the shield text
|
||||
* * *
|
||||
|
||||
#### shield-unlock-image `boolean`
|
||||
##### shield-unlock-image `boolean`
|
||||
|
||||
|
||||
Default Value: false
|
||||
@ -349,7 +349,7 @@ _(text alignment relative to the shield image uses the center of the image as th
|
||||
This parameter should be set to true if you are trying to position text beside rather than on top of the shield image
|
||||
* * *
|
||||
|
||||
#### shield-size `float`
|
||||
##### shield-size `float`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -358,7 +358,7 @@ Default Value: undefined
|
||||
The size of the shield text in pixels
|
||||
* * *
|
||||
|
||||
#### shield-fill `color`
|
||||
##### shield-fill `color`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -367,7 +367,7 @@ Default Value: undefined
|
||||
The color of the shield text
|
||||
* * *
|
||||
|
||||
#### shield-placement `keyword`
|
||||
##### shield-placement `keyword`
|
||||
`point``line``vertex``interior`
|
||||
|
||||
Default Value: point
|
||||
@ -376,7 +376,7 @@ Default Value: point
|
||||
How this shield should be placed. Point placement attempts to place it on top of points, line places along lines multiple times per feature, vertex places on the vertexes of polygons, and interior attempts to place inside of polygons.
|
||||
* * *
|
||||
|
||||
#### shield-avoid-edges `boolean`
|
||||
##### shield-avoid-edges `boolean`
|
||||
|
||||
|
||||
Default Value: false
|
||||
@ -385,7 +385,7 @@ Default Value: false
|
||||
Tell positioning algorithm to avoid labeling near intersection edges.
|
||||
* * *
|
||||
|
||||
#### shield-min-distance `float`
|
||||
##### shield-min-distance `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -394,7 +394,7 @@ Default Value: 0
|
||||
Minimum distance to the next shield symbol, not necessarily the same shield.
|
||||
* * *
|
||||
|
||||
#### shield-spacing `float`
|
||||
##### shield-spacing `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -403,7 +403,7 @@ Default Value: 0
|
||||
The spacing between repeated occurrences of the same shield on a line
|
||||
* * *
|
||||
|
||||
#### shield-min-padding `float`
|
||||
##### shield-min-padding `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -412,7 +412,7 @@ Default Value: 0
|
||||
Determines the minimum amount of padding that a shield gets relative to other shields
|
||||
* * *
|
||||
|
||||
#### shield-wrap-width `float`
|
||||
##### shield-wrap-width `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -421,7 +421,7 @@ Default Value: 0
|
||||
Length before wrapping long names.
|
||||
* * *
|
||||
|
||||
#### shield-wrap-character `string`
|
||||
##### shield-wrap-character `string`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -430,7 +430,7 @@ Default Value:
|
||||
Use this character instead of a space to wrap long names.
|
||||
* * *
|
||||
|
||||
#### shield-halo-fill `color`
|
||||
##### shield-halo-fill `color`
|
||||
|
||||
|
||||
Default Value: #FFFFFF
|
||||
@ -439,7 +439,7 @@ _(white)_
|
||||
Specifies the color of the halo around the text.
|
||||
* * *
|
||||
|
||||
#### shield-halo-radius `float`
|
||||
##### shield-halo-radius `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -448,7 +448,7 @@ _(no halo)_
|
||||
Specify the radius of the halo in pixels
|
||||
* * *
|
||||
|
||||
#### shield-character-spacing `float`
|
||||
##### shield-character-spacing `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -457,7 +457,7 @@ Default Value: 0
|
||||
Horizontal spacing between characters (in pixels). Currently works for point placement only, not line placement.
|
||||
* * *
|
||||
|
||||
#### shield-line-spacing `float`
|
||||
##### shield-line-spacing `float`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -466,7 +466,7 @@ Default Value: undefined
|
||||
Vertical spacing between lines of multiline labels (in pixels)
|
||||
* * *
|
||||
|
||||
#### shield-file `uri`
|
||||
##### shield-file `uri`
|
||||
|
||||
|
||||
Default Value: none
|
||||
@ -475,7 +475,7 @@ Default Value: none
|
||||
Image file to render behind the shield text
|
||||
* * *
|
||||
|
||||
#### shield-text-dx `float`
|
||||
##### shield-text-dx `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -484,7 +484,7 @@ Default Value: 0
|
||||
Displace text within shield by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right
|
||||
* * *
|
||||
|
||||
#### shield-text-dy `float`
|
||||
##### shield-text-dy `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -493,7 +493,7 @@ Default Value: 0
|
||||
Displace text within shield by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down
|
||||
* * *
|
||||
|
||||
#### shield-dx `float`
|
||||
##### shield-dx `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -502,7 +502,7 @@ Default Value: 0
|
||||
Displace shield by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right
|
||||
* * *
|
||||
|
||||
#### shield-dy `float`
|
||||
##### shield-dy `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -511,7 +511,7 @@ Default Value: 0
|
||||
Displace shield by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down
|
||||
* * *
|
||||
|
||||
#### shield-opacity `float`
|
||||
##### shield-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -520,7 +520,7 @@ Default Value: 1
|
||||
(Default 1.0) - opacity of the image used for the shield
|
||||
* * *
|
||||
|
||||
#### shield-text-opacity `float`
|
||||
##### shield-text-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -529,7 +529,7 @@ Default Value: 1
|
||||
(Default 1.0) - opacity of the text placed on top of the shield
|
||||
* * *
|
||||
|
||||
#### shield-horizontal-alignment `keyword`
|
||||
##### shield-horizontal-alignment `keyword`
|
||||
`left``middle``right``auto`
|
||||
|
||||
Default Value: middle
|
||||
@ -538,7 +538,7 @@ Default Value: middle
|
||||
The shield's horizontal alignment from its centerpoint
|
||||
* * *
|
||||
|
||||
#### shield-text-transform `keyword`
|
||||
##### shield-text-transform `keyword`
|
||||
`none``uppercase``lowercase``capitalize`
|
||||
|
||||
Default Value: none
|
||||
@ -547,7 +547,7 @@ Default Value: none
|
||||
Transform the case of the characters
|
||||
* * *
|
||||
|
||||
#### shield-no-text `boolean`
|
||||
##### shield-no-text `boolean`
|
||||
|
||||
|
||||
Default Value: false
|
||||
@ -556,7 +556,7 @@ Default Value: false
|
||||
Whether the shield should make room for a text label.
|
||||
* * *
|
||||
|
||||
#### shield-justify-alignment `string`
|
||||
##### shield-justify-alignment `string`
|
||||
|
||||
|
||||
Default Value: middle
|
||||
@ -568,7 +568,7 @@ Define how text in a shield's label is justified
|
||||
|
||||
## line-pattern
|
||||
|
||||
#### line-pattern-file `uri`
|
||||
##### line-pattern-file `uri`
|
||||
|
||||
|
||||
Default Value: none
|
||||
@ -580,7 +580,7 @@ An image file to be repeated and warped along a line
|
||||
|
||||
## polygon-pattern
|
||||
|
||||
#### polygon-pattern-file `uri`
|
||||
##### polygon-pattern-file `uri`
|
||||
|
||||
|
||||
Default Value: none
|
||||
@ -589,7 +589,7 @@ Default Value: none
|
||||
Image to use as a repeated pattern fill within a polygon
|
||||
* * *
|
||||
|
||||
#### polygon-pattern-alignment `keyword`
|
||||
##### polygon-pattern-alignment `keyword`
|
||||
`local``global`
|
||||
|
||||
Default Value: local
|
||||
@ -598,7 +598,7 @@ Default Value: local
|
||||
Specify whether to align pattern fills to the layer or to the map.
|
||||
* * *
|
||||
|
||||
#### polygon-pattern-gamma `float`
|
||||
##### polygon-pattern-gamma `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -610,7 +610,7 @@ Level of antialiasing of polygon pattern edges
|
||||
|
||||
## raster
|
||||
|
||||
#### raster-opacity `float`
|
||||
##### raster-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -619,7 +619,7 @@ _(opaque)_
|
||||
The opacity of the raster symbolizer on top of other symbolizers.
|
||||
* * *
|
||||
|
||||
#### raster-mode `keyword`
|
||||
##### raster-mode `keyword`
|
||||
`normal``grain_merge``grain_merge2``multiply``multiply2``divide``divide2``screen``hard_light`
|
||||
|
||||
Default Value: normal
|
||||
@ -628,7 +628,7 @@ Default Value: normal
|
||||
The blending technique used to overlay this raster image on the layer below. Normal simply covers the layer. Grain merge adds the two layers together and subtracts 128 from the value, making the resulting area sometimes high-contrast. Screen often gives a lighter, washed-out appearance. Multiply multiplies the pixels, giving a high-contrast result. Divide divides the upper layer by the lower layer, making a lighter version.
|
||||
* * *
|
||||
|
||||
#### raster-filter-factor `float`
|
||||
##### raster-filter-factor `float`
|
||||
|
||||
|
||||
Default Value: -1
|
||||
@ -637,7 +637,7 @@ _(Allow the datasource to choose appropriate downscaling.)_
|
||||
This is used by the Raster or Gdal datasources to pre-downscale images using overviews. Higher numbers can sometimes cause much better scaled image output, at the cost of speed.
|
||||
* * *
|
||||
|
||||
#### raster-scaling `keyword`
|
||||
##### raster-scaling `keyword`
|
||||
`fast``bilinear``bilinear8``bicubic``spline16``gaussian``lanczos`
|
||||
|
||||
Default Value: fast
|
||||
@ -646,7 +646,7 @@ Default Value: fast
|
||||
The scaling algorithm used to making different resolution versions of this raster layer. Bilinear is a good compromise between speed and accuracy, while lanczos gives the highest quality.
|
||||
* * *
|
||||
|
||||
#### raster-mesh-size `integer`
|
||||
##### raster-mesh-size `integer`
|
||||
|
||||
|
||||
Default Value: 16
|
||||
@ -658,7 +658,7 @@ A reduced resolution mesh is used for raster reprojection, and the total image s
|
||||
|
||||
## point
|
||||
|
||||
#### point-file `uri`
|
||||
##### point-file `uri`
|
||||
|
||||
|
||||
Default Value: none
|
||||
@ -667,7 +667,7 @@ Default Value: none
|
||||
Image file to represent a point
|
||||
* * *
|
||||
|
||||
#### point-allow-overlap `boolean`
|
||||
##### point-allow-overlap `boolean`
|
||||
|
||||
|
||||
Default Value: false
|
||||
@ -676,7 +676,7 @@ _(Do not allow points to overlap with each other - overlapping markers will not
|
||||
Control whether overlapping points are shown or hidden.
|
||||
* * *
|
||||
|
||||
#### point-ignore-placement `boolean`
|
||||
##### point-ignore-placement `boolean`
|
||||
|
||||
|
||||
Default Value: false
|
||||
@ -685,7 +685,7 @@ _(do not store the bbox of this geometry in the collision detector cache)_
|
||||
value to control whether the placement of the feature will prevent the placement of other features
|
||||
* * *
|
||||
|
||||
#### point-opacity `float`
|
||||
##### point-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -694,7 +694,7 @@ _(Fully opaque)_
|
||||
A value from 0 to 1 to control the opacity of the point
|
||||
* * *
|
||||
|
||||
#### point-placement `keyword`
|
||||
##### point-placement `keyword`
|
||||
`centroid``interior`
|
||||
|
||||
Default Value: centroid
|
||||
@ -703,7 +703,7 @@ Default Value: centroid
|
||||
How this point should be placed. Centroid calculates the geometric center of a polygon, which can be outside of it, while interior always places inside of a polygon.
|
||||
* * *
|
||||
|
||||
#### point-transform `string`
|
||||
##### point-transform `string`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -715,7 +715,7 @@ SVG transformation definition
|
||||
|
||||
## text
|
||||
|
||||
#### text-name `string`
|
||||
##### text-name `string`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -724,7 +724,7 @@ Default Value:
|
||||
Value to use for a text label. Data columns are specified using brackets like [column_name]
|
||||
* * *
|
||||
|
||||
#### text-face-name `string`
|
||||
##### text-face-name `string`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -733,7 +733,7 @@ Default Value: undefined
|
||||
Font name and style to render a label in
|
||||
* * *
|
||||
|
||||
#### text-size `float`
|
||||
##### text-size `float`
|
||||
|
||||
|
||||
Default Value: 10
|
||||
@ -742,7 +742,7 @@ Default Value: 10
|
||||
Text size in pixels
|
||||
* * *
|
||||
|
||||
#### text-ratio `float`
|
||||
##### text-ratio `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -751,7 +751,7 @@ Default Value: 0
|
||||
Define the amount of text (of the total) present on successive lines when wrapping occurs
|
||||
* * *
|
||||
|
||||
#### text-wrap-width `float`
|
||||
##### text-wrap-width `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -760,7 +760,7 @@ Default Value: 0
|
||||
Length of a chunk of text in characters before wrapping text
|
||||
* * *
|
||||
|
||||
#### text-wrap-character `string`
|
||||
##### text-wrap-character `string`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -769,7 +769,7 @@ Default Value:
|
||||
Use this character instead of a space to wrap long text.
|
||||
* * *
|
||||
|
||||
#### text-spacing `float`
|
||||
##### text-spacing `float`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -778,7 +778,7 @@ Default Value: undefined
|
||||
Distance between repeated text labels on a line
|
||||
* * *
|
||||
|
||||
#### text-character-spacing `float`
|
||||
##### text-character-spacing `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -787,7 +787,7 @@ Default Value: 0
|
||||
Horizontal spacing adjustment between characters in pixels
|
||||
* * *
|
||||
|
||||
#### text-line-spacing `float`
|
||||
##### text-line-spacing `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -796,7 +796,7 @@ Default Value: 0
|
||||
Vertical spacing adjustment between lines in pixels
|
||||
* * *
|
||||
|
||||
#### text-label-position-tolerance `float`
|
||||
##### text-label-position-tolerance `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -805,7 +805,7 @@ Default Value: 0
|
||||
Allows the label to be displaced from its ideal position by a number of pixels
|
||||
* * *
|
||||
|
||||
#### text-max-char-angle-delta `float`
|
||||
##### text-max-char-angle-delta `float`
|
||||
|
||||
|
||||
Default Value: none
|
||||
@ -814,7 +814,7 @@ Default Value: none
|
||||
If present, the maximum angle change, in degrees, allowed between adjacent characters in a label. This will stop label placement around sharp corners.
|
||||
* * *
|
||||
|
||||
#### text-fill `color`
|
||||
##### text-fill `color`
|
||||
|
||||
|
||||
Default Value: #000000
|
||||
@ -823,7 +823,7 @@ Default Value: #000000
|
||||
Specifies the color for the text
|
||||
* * *
|
||||
|
||||
#### text-opacity `float`
|
||||
##### text-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -832,7 +832,7 @@ _(Fully opaque)_
|
||||
A number from 0 to 1 specifying the opacity for the text
|
||||
* * *
|
||||
|
||||
#### text-halo-fill `color`
|
||||
##### text-halo-fill `color`
|
||||
|
||||
|
||||
Default Value: #FFFFFF
|
||||
@ -841,7 +841,7 @@ _(white)_
|
||||
Specifies the color of the halo around the text.
|
||||
* * *
|
||||
|
||||
#### text-halo-radius `float`
|
||||
##### text-halo-radius `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -850,7 +850,7 @@ _(no halo)_
|
||||
Specify the radius of the halo in pixels
|
||||
* * *
|
||||
|
||||
#### text-dx `float`
|
||||
##### text-dx `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -859,7 +859,7 @@ Default Value: 0
|
||||
Displace text by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right
|
||||
* * *
|
||||
|
||||
#### text-dy `float`
|
||||
##### text-dy `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -868,7 +868,7 @@ Default Value: 0
|
||||
Displace text by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down
|
||||
* * *
|
||||
|
||||
#### text-vertical-alignment `keyword`
|
||||
##### text-vertical-alignment `keyword`
|
||||
`top``middle``bottom`
|
||||
|
||||
Default Value: middle
|
||||
@ -877,7 +877,7 @@ _(Default affected by value of dy; "bottom" for dy>0, "top&quo
|
||||
Position of label relative to point position.
|
||||
* * *
|
||||
|
||||
#### text-avoid-edges `boolean`
|
||||
##### text-avoid-edges `boolean`
|
||||
|
||||
|
||||
Default Value: false
|
||||
@ -886,7 +886,7 @@ Default Value: false
|
||||
Tell positioning algorithm to avoid labeling near intersection edges.
|
||||
* * *
|
||||
|
||||
#### text-min-distance `float`
|
||||
##### text-min-distance `float`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -895,7 +895,7 @@ Default Value: undefined
|
||||
Minimum permitted distance to the next text symbolizer.
|
||||
* * *
|
||||
|
||||
#### text-min-padding `float`
|
||||
##### text-min-padding `float`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -904,7 +904,7 @@ Default Value: undefined
|
||||
Determines the minimum amount of padding that a text symbolizer gets relative to other text
|
||||
* * *
|
||||
|
||||
#### text-min-path-length `float`
|
||||
##### text-min-path-length `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -913,7 +913,7 @@ _(place labels on all paths)_
|
||||
Place labels only on paths longer than this value.
|
||||
* * *
|
||||
|
||||
#### text-allow-overlap `boolean`
|
||||
##### text-allow-overlap `boolean`
|
||||
|
||||
|
||||
Default Value: false
|
||||
@ -922,7 +922,7 @@ _(Do not allow text to overlap with other text - overlapping markers will not be
|
||||
Control whether overlapping text is shown or hidden.
|
||||
* * *
|
||||
|
||||
#### text-orientation `float`
|
||||
##### text-orientation `float`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -931,7 +931,7 @@ Default Value: undefined
|
||||
Rotate the text.
|
||||
* * *
|
||||
|
||||
#### text-placement `keyword`
|
||||
##### text-placement `keyword`
|
||||
`point``line``vertex``interior`
|
||||
|
||||
Default Value: point
|
||||
@ -940,7 +940,7 @@ Default Value: point
|
||||
Control the style of placement of a point versus the geometry it is attached to.
|
||||
* * *
|
||||
|
||||
#### text-placement-type `keyword`
|
||||
##### text-placement-type `keyword`
|
||||
`dummy``simple`
|
||||
|
||||
Default Value: dummy
|
||||
@ -949,7 +949,7 @@ Default Value: dummy
|
||||
Re-position and/or re-size text to avoid overlaps. "simple" for basic algorithm (using text-placements string,) "dummy" to turn this feature off.
|
||||
* * *
|
||||
|
||||
#### text-placements `string`
|
||||
##### text-placements `string`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -958,7 +958,7 @@ Default Value:
|
||||
If "placement-type" is set to "simple", use this "POSITIONS,[SIZES]" string. See TextSymbolizer docs for format.
|
||||
* * *
|
||||
|
||||
#### text-transform `keyword`
|
||||
##### text-transform `keyword`
|
||||
`none``uppercase``lowercase``capitalize`
|
||||
|
||||
Default Value: none
|
||||
@ -967,7 +967,7 @@ Default Value: none
|
||||
Transform the case of the characters
|
||||
* * *
|
||||
|
||||
#### text-horizontal-alignment `keyword`
|
||||
##### text-horizontal-alignment `keyword`
|
||||
`left``middle``right``auto`
|
||||
|
||||
Default Value: middle
|
||||
@ -976,7 +976,7 @@ Default Value: middle
|
||||
The text's horizontal alignment from its centerpoint
|
||||
* * *
|
||||
|
||||
#### text-align `keyword`
|
||||
##### text-align `keyword`
|
||||
`left``right``center`
|
||||
|
||||
Default Value: center
|
||||
@ -988,7 +988,7 @@ Set the text alignment.
|
||||
|
||||
## building
|
||||
|
||||
#### building-fill `color`
|
||||
##### building-fill `color`
|
||||
|
||||
|
||||
Default Value: #FFFFFF
|
||||
@ -997,7 +997,7 @@ Default Value: #FFFFFF
|
||||
The color of the buildings walls.
|
||||
* * *
|
||||
|
||||
#### building-fill-opacity `float`
|
||||
##### building-fill-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -1006,7 +1006,7 @@ Default Value: 1
|
||||
The opacity of the building as a whole, including all walls.
|
||||
* * *
|
||||
|
||||
#### building-height `float`
|
||||
##### building-height `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
|
218
docs/2.0.2.md
218
docs/2.0.2.md
@ -4,7 +4,7 @@ The following is a list of properties provided in CartoCSS that you can apply to
|
||||
|
||||
## map
|
||||
|
||||
#### background-color `color`
|
||||
##### background-color `color`
|
||||
|
||||
|
||||
Default Value: none
|
||||
@ -13,7 +13,7 @@ _(transparent)_
|
||||
Map Background color
|
||||
* * *
|
||||
|
||||
#### background-image `uri`
|
||||
##### background-image `uri`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -22,7 +22,7 @@ _(transparent)_
|
||||
An image that is repeated below all features on a map as a background.
|
||||
* * *
|
||||
|
||||
#### srs `string`
|
||||
##### srs `string`
|
||||
|
||||
|
||||
Default Value: +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs
|
||||
@ -31,7 +31,7 @@ _(The proj4 literal of EPSG:4326 is assumed to be the Map's spatial referen
|
||||
Map spatial reference (proj4 string)
|
||||
* * *
|
||||
|
||||
#### buffer-size `float`
|
||||
##### buffer-size `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -40,7 +40,7 @@ _(No buffer will be used)_
|
||||
Extra tolerance around the map (in pixels) used to ensure labels crossing tile boundaries are equally rendered in each tile (e.g. cut in each tile). Not intended to be used in combination with "avoid-edges".
|
||||
* * *
|
||||
|
||||
#### base `string`
|
||||
##### base `string`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -49,7 +49,7 @@ _(This base path defaults to an empty string meaning that any relative paths to
|
||||
Any relative paths used to reference files will be understood as relative to this directory path if the map is loaded from an in memory object rather than from the filesystem. If the map is loaded from the filesystem and this option is not provided it will be set to the directory of the stylesheet.
|
||||
* * *
|
||||
|
||||
#### font-directory `uri`
|
||||
##### font-directory `uri`
|
||||
|
||||
|
||||
Default Value: none
|
||||
@ -61,7 +61,7 @@ Path to a directory which holds fonts which should be registered when the Map is
|
||||
|
||||
## polygon
|
||||
|
||||
#### polygon-fill `color`
|
||||
##### polygon-fill `color`
|
||||
|
||||
|
||||
Default Value: rgba(128,128,128,1)
|
||||
@ -70,7 +70,7 @@ _(gray and fully opaque (alpha = 1), same as rgb(128,128,128))_
|
||||
Fill color to assign to a polygon
|
||||
* * *
|
||||
|
||||
#### polygon-gamma `float`
|
||||
##### polygon-gamma `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -79,7 +79,7 @@ Range: 0-1
|
||||
Level of antialiasing of polygon edges
|
||||
* * *
|
||||
|
||||
#### polygon-opacity `float`
|
||||
##### polygon-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -88,7 +88,7 @@ _(opaque)_
|
||||
The opacity of the polygon
|
||||
* * *
|
||||
|
||||
#### polygon-smooth `float`
|
||||
##### polygon-smooth `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -100,7 +100,7 @@ Amount of smoothing applied
|
||||
|
||||
## line
|
||||
|
||||
#### line-color `color`
|
||||
##### line-color `color`
|
||||
|
||||
|
||||
Default Value: rgba(0,0,0,1)
|
||||
@ -109,7 +109,7 @@ _(black and fully opaque (alpha = 1), same as rgb(0,0,0))_
|
||||
The color of a drawn line
|
||||
* * *
|
||||
|
||||
#### line-width `float`
|
||||
##### line-width `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -118,7 +118,7 @@ Default Value: 1
|
||||
The width of a line in pixels
|
||||
* * *
|
||||
|
||||
#### line-opacity `float`
|
||||
##### line-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -127,7 +127,7 @@ _(opaque)_
|
||||
The opacity of a line
|
||||
* * *
|
||||
|
||||
#### line-join `keyword`
|
||||
##### line-join `keyword`
|
||||
`miter``round``bevel`
|
||||
|
||||
Default Value: miter
|
||||
@ -136,7 +136,7 @@ Default Value: miter
|
||||
The behavior of lines when joining
|
||||
* * *
|
||||
|
||||
#### line-cap `keyword`
|
||||
##### line-cap `keyword`
|
||||
`butt``round``square`
|
||||
|
||||
Default Value: butt
|
||||
@ -145,7 +145,7 @@ Default Value: butt
|
||||
The display of line endings
|
||||
* * *
|
||||
|
||||
#### line-gamma `float`
|
||||
##### line-gamma `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -154,7 +154,7 @@ Range: 0-1
|
||||
Level of antialiasing of stroke line
|
||||
* * *
|
||||
|
||||
#### line-dasharray `numbers`
|
||||
##### line-dasharray `numbers`
|
||||
|
||||
|
||||
Default Value: none
|
||||
@ -163,7 +163,7 @@ _(solid line)_
|
||||
A pair of length values [a,b], where (a) is the dash length and (b) is the gap length respectively. More than two values are supported for more complex patterns.
|
||||
* * *
|
||||
|
||||
#### line-dash-offset `numbers`
|
||||
##### line-dash-offset `numbers`
|
||||
|
||||
|
||||
Default Value: none
|
||||
@ -172,7 +172,7 @@ _(solid line)_
|
||||
valid parameter but not currently used in renderers
|
||||
* * *
|
||||
|
||||
#### line-rasterizer `keyword`
|
||||
##### line-rasterizer `keyword`
|
||||
`full``fast`
|
||||
|
||||
Default Value: full
|
||||
@ -184,7 +184,7 @@ Exposes an alternate AGG rendering method that sacrifices some accuracy for spee
|
||||
|
||||
## markers
|
||||
|
||||
#### marker-file `uri`
|
||||
##### marker-file `uri`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -193,7 +193,7 @@ _(An ellipse or circle, if width equals height)_
|
||||
An SVG file that this marker shows at each placement. If no file is given, the marker will show an ellipse.
|
||||
* * *
|
||||
|
||||
#### marker-opacity `float`
|
||||
##### marker-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -202,7 +202,7 @@ _(opaque)_
|
||||
The overall opacity of the marker
|
||||
* * *
|
||||
|
||||
#### marker-line-color `color`
|
||||
##### marker-line-color `color`
|
||||
|
||||
|
||||
Default Value: black
|
||||
@ -211,7 +211,7 @@ Default Value: black
|
||||
The color of the stroke around a marker shape.
|
||||
* * *
|
||||
|
||||
#### marker-line-width `float`
|
||||
##### marker-line-width `float`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -220,7 +220,7 @@ Default Value: undefined
|
||||
The width of the stroke around a marker shape, in pixels. This is positioned on the boundary, so high values can cover the area itself.
|
||||
* * *
|
||||
|
||||
#### marker-line-opacity `float`
|
||||
##### marker-line-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -229,7 +229,7 @@ _(opaque)_
|
||||
The opacity of a line
|
||||
* * *
|
||||
|
||||
#### marker-placement `keyword`
|
||||
##### marker-placement `keyword`
|
||||
`point``line`
|
||||
|
||||
Default Value: line
|
||||
@ -238,7 +238,7 @@ Default Value: line
|
||||
Attempt to place markers on a point once or on a line repeatedly
|
||||
* * *
|
||||
|
||||
#### marker-type `keyword`
|
||||
##### marker-type `keyword`
|
||||
`arrow``ellipse`
|
||||
|
||||
Default Value: ellipse
|
||||
@ -247,7 +247,7 @@ Default Value: ellipse
|
||||
The default marker-type. If a SVG file is not given as the marker-file parameter, the renderer provides either an arrow or an ellipse (a circle if height is equal to width)
|
||||
* * *
|
||||
|
||||
#### marker-width `float`
|
||||
##### marker-width `float`
|
||||
|
||||
|
||||
Default Value: 10
|
||||
@ -256,7 +256,7 @@ Default Value: 10
|
||||
The width of the marker, if using one of the default types.
|
||||
* * *
|
||||
|
||||
#### marker-height `float`
|
||||
##### marker-height `float`
|
||||
|
||||
|
||||
Default Value: 10
|
||||
@ -265,7 +265,7 @@ Default Value: 10
|
||||
The height of the marker, if using one of the default types.
|
||||
* * *
|
||||
|
||||
#### marker-fill `color`
|
||||
##### marker-fill `color`
|
||||
|
||||
|
||||
Default Value: blue
|
||||
@ -274,7 +274,7 @@ Default Value: blue
|
||||
The color of the area of the marker.
|
||||
* * *
|
||||
|
||||
#### marker-allow-overlap `boolean`
|
||||
##### marker-allow-overlap `boolean`
|
||||
|
||||
|
||||
Default Value: false
|
||||
@ -283,7 +283,7 @@ _(Do not allow makers to overlap with each other - overlapping markers will not
|
||||
Control whether overlapping markers are shown or hidden.
|
||||
* * *
|
||||
|
||||
#### marker-ignore-placement `boolean`
|
||||
##### marker-ignore-placement `boolean`
|
||||
|
||||
|
||||
Default Value: false
|
||||
@ -292,7 +292,7 @@ _(do not store the bbox of this geometry in the collision detector cache)_
|
||||
value to control whether the placement of the feature will prevent the placement of other features
|
||||
* * *
|
||||
|
||||
#### marker-spacing `float`
|
||||
##### marker-spacing `float`
|
||||
|
||||
|
||||
Default Value: 100
|
||||
@ -301,7 +301,7 @@ Default Value: 100
|
||||
Space between repeated labels
|
||||
* * *
|
||||
|
||||
#### marker-max-error `float`
|
||||
##### marker-max-error `float`
|
||||
|
||||
|
||||
Default Value: 0.2
|
||||
@ -310,7 +310,7 @@ Default Value: 0.2
|
||||
The maximum difference between actual marker placement and the marker-spacing parameter. Setting a high value can allow the renderer to try to resolve placement conflicts with other symbolizers.
|
||||
* * *
|
||||
|
||||
#### marker-transform `string`
|
||||
##### marker-transform `string`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -322,7 +322,7 @@ An SVG transformation definition
|
||||
|
||||
## shield
|
||||
|
||||
#### shield-name `string`
|
||||
##### shield-name `string`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -331,7 +331,7 @@ Default Value: undefined
|
||||
Value to use for a shield"s text label. Data columns are specified using brackets like [column_name]
|
||||
* * *
|
||||
|
||||
#### shield-face-name `string`
|
||||
##### shield-face-name `string`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -340,7 +340,7 @@ Default Value:
|
||||
Font name and style to use for the shield text
|
||||
* * *
|
||||
|
||||
#### shield-unlock-image `boolean`
|
||||
##### shield-unlock-image `boolean`
|
||||
|
||||
|
||||
Default Value: false
|
||||
@ -349,7 +349,7 @@ _(text alignment relative to the shield image uses the center of the image as th
|
||||
This parameter should be set to true if you are trying to position text beside rather than on top of the shield image
|
||||
* * *
|
||||
|
||||
#### shield-size `float`
|
||||
##### shield-size `float`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -358,7 +358,7 @@ Default Value: undefined
|
||||
The size of the shield text in pixels
|
||||
* * *
|
||||
|
||||
#### shield-fill `color`
|
||||
##### shield-fill `color`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -367,7 +367,7 @@ Default Value: undefined
|
||||
The color of the shield text
|
||||
* * *
|
||||
|
||||
#### shield-placement `keyword`
|
||||
##### shield-placement `keyword`
|
||||
`point``line``vertex``interior`
|
||||
|
||||
Default Value: point
|
||||
@ -376,7 +376,7 @@ Default Value: point
|
||||
How this shield should be placed. Point placement attempts to place it on top of points, line places along lines multiple times per feature, vertex places on the vertexes of polygons, and interior attempts to place inside of polygons.
|
||||
* * *
|
||||
|
||||
#### shield-avoid-edges `boolean`
|
||||
##### shield-avoid-edges `boolean`
|
||||
|
||||
|
||||
Default Value: false
|
||||
@ -385,7 +385,7 @@ Default Value: false
|
||||
Tell positioning algorithm to avoid labeling near intersection edges.
|
||||
* * *
|
||||
|
||||
#### shield-min-distance `float`
|
||||
##### shield-min-distance `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -394,7 +394,7 @@ Default Value: 0
|
||||
Minimum distance to the next shield symbol, not necessarily the same shield.
|
||||
* * *
|
||||
|
||||
#### shield-spacing `float`
|
||||
##### shield-spacing `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -403,7 +403,7 @@ Default Value: 0
|
||||
The spacing between repeated occurrences of the same shield on a line
|
||||
* * *
|
||||
|
||||
#### shield-min-padding `float`
|
||||
##### shield-min-padding `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -412,7 +412,7 @@ Default Value: 0
|
||||
Determines the minimum amount of padding that a shield gets relative to other shields
|
||||
* * *
|
||||
|
||||
#### shield-wrap-width `float`
|
||||
##### shield-wrap-width `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -421,7 +421,7 @@ Default Value: 0
|
||||
Length before wrapping long names.
|
||||
* * *
|
||||
|
||||
#### shield-wrap-character `string`
|
||||
##### shield-wrap-character `string`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -430,7 +430,7 @@ Default Value:
|
||||
Use this character instead of a space to wrap long names.
|
||||
* * *
|
||||
|
||||
#### shield-halo-fill `color`
|
||||
##### shield-halo-fill `color`
|
||||
|
||||
|
||||
Default Value: #FFFFFF
|
||||
@ -439,7 +439,7 @@ _(white)_
|
||||
Specifies the color of the halo around the text.
|
||||
* * *
|
||||
|
||||
#### shield-halo-radius `float`
|
||||
##### shield-halo-radius `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -448,7 +448,7 @@ _(no halo)_
|
||||
Specify the radius of the halo in pixels
|
||||
* * *
|
||||
|
||||
#### shield-character-spacing `float`
|
||||
##### shield-character-spacing `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -457,7 +457,7 @@ Default Value: 0
|
||||
Horizontal spacing between characters (in pixels). Currently works for point placement only, not line placement.
|
||||
* * *
|
||||
|
||||
#### shield-line-spacing `float`
|
||||
##### shield-line-spacing `float`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -466,7 +466,7 @@ Default Value: undefined
|
||||
Vertical spacing between lines of multiline labels (in pixels)
|
||||
* * *
|
||||
|
||||
#### shield-file `uri`
|
||||
##### shield-file `uri`
|
||||
|
||||
|
||||
Default Value: none
|
||||
@ -475,7 +475,7 @@ Default Value: none
|
||||
Image file to render behind the shield text
|
||||
* * *
|
||||
|
||||
#### shield-text-dx `float`
|
||||
##### shield-text-dx `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -484,7 +484,7 @@ Default Value: 0
|
||||
Displace text within shield by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right
|
||||
* * *
|
||||
|
||||
#### shield-text-dy `float`
|
||||
##### shield-text-dy `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -493,7 +493,7 @@ Default Value: 0
|
||||
Displace text within shield by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down
|
||||
* * *
|
||||
|
||||
#### shield-dx `float`
|
||||
##### shield-dx `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -502,7 +502,7 @@ Default Value: 0
|
||||
Displace shield by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right
|
||||
* * *
|
||||
|
||||
#### shield-dy `float`
|
||||
##### shield-dy `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -511,7 +511,7 @@ Default Value: 0
|
||||
Displace shield by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down
|
||||
* * *
|
||||
|
||||
#### shield-opacity `float`
|
||||
##### shield-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -520,7 +520,7 @@ Default Value: 1
|
||||
(Default 1.0) - opacity of the image used for the shield
|
||||
* * *
|
||||
|
||||
#### shield-text-opacity `float`
|
||||
##### shield-text-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -529,7 +529,7 @@ Default Value: 1
|
||||
(Default 1.0) - opacity of the text placed on top of the shield
|
||||
* * *
|
||||
|
||||
#### shield-horizontal-alignment `keyword`
|
||||
##### shield-horizontal-alignment `keyword`
|
||||
`left``middle``right``auto`
|
||||
|
||||
Default Value: middle
|
||||
@ -538,7 +538,7 @@ Default Value: middle
|
||||
The shield's horizontal alignment from its centerpoint
|
||||
* * *
|
||||
|
||||
#### shield-text-transform `keyword`
|
||||
##### shield-text-transform `keyword`
|
||||
`none``uppercase``lowercase``capitalize`
|
||||
|
||||
Default Value: none
|
||||
@ -547,7 +547,7 @@ Default Value: none
|
||||
Transform the case of the characters
|
||||
* * *
|
||||
|
||||
#### shield-no-text `boolean`
|
||||
##### shield-no-text `boolean`
|
||||
|
||||
|
||||
Default Value: false
|
||||
@ -556,7 +556,7 @@ Default Value: false
|
||||
Whether the shield should make room for a text label.
|
||||
* * *
|
||||
|
||||
#### shield-justify-alignment `string`
|
||||
##### shield-justify-alignment `string`
|
||||
|
||||
|
||||
Default Value: middle
|
||||
@ -568,7 +568,7 @@ Define how text in a shield's label is justified
|
||||
|
||||
## line-pattern
|
||||
|
||||
#### line-pattern-file `uri`
|
||||
##### line-pattern-file `uri`
|
||||
|
||||
|
||||
Default Value: none
|
||||
@ -580,7 +580,7 @@ An image file to be repeated and warped along a line
|
||||
|
||||
## polygon-pattern
|
||||
|
||||
#### polygon-pattern-file `uri`
|
||||
##### polygon-pattern-file `uri`
|
||||
|
||||
|
||||
Default Value: none
|
||||
@ -589,7 +589,7 @@ Default Value: none
|
||||
Image to use as a repeated pattern fill within a polygon
|
||||
* * *
|
||||
|
||||
#### polygon-pattern-alignment `keyword`
|
||||
##### polygon-pattern-alignment `keyword`
|
||||
`local``global`
|
||||
|
||||
Default Value: local
|
||||
@ -598,7 +598,7 @@ Default Value: local
|
||||
Specify whether to align pattern fills to the layer or to the map.
|
||||
* * *
|
||||
|
||||
#### polygon-pattern-gamma `float`
|
||||
##### polygon-pattern-gamma `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -610,7 +610,7 @@ Level of antialiasing of polygon pattern edges
|
||||
|
||||
## raster
|
||||
|
||||
#### raster-opacity `float`
|
||||
##### raster-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -619,7 +619,7 @@ _(opaque)_
|
||||
The opacity of the raster symbolizer on top of other symbolizers.
|
||||
* * *
|
||||
|
||||
#### raster-mode `keyword`
|
||||
##### raster-mode `keyword`
|
||||
`normal``grain_merge``grain_merge2``multiply``multiply2``divide``divide2``screen``hard_light`
|
||||
|
||||
Default Value: normal
|
||||
@ -628,7 +628,7 @@ Default Value: normal
|
||||
The blending technique used to overlay this raster image on the layer below. Normal simply covers the layer. Grain merge adds the two layers together and subtracts 128 from the value, making the resulting area sometimes high-contrast. Screen often gives a lighter, washed-out appearance. Multiply multiplies the pixels, giving a high-contrast result. Divide divides the upper layer by the lower layer, making a lighter version.
|
||||
* * *
|
||||
|
||||
#### raster-filter-factor `float`
|
||||
##### raster-filter-factor `float`
|
||||
|
||||
|
||||
Default Value: -1
|
||||
@ -637,7 +637,7 @@ _(Allow the datasource to choose appropriate downscaling.)_
|
||||
This is used by the Raster or Gdal datasources to pre-downscale images using overviews. Higher numbers can sometimes cause much better scaled image output, at the cost of speed.
|
||||
* * *
|
||||
|
||||
#### raster-scaling `keyword`
|
||||
##### raster-scaling `keyword`
|
||||
`fast``bilinear``bilinear8``bicubic``spline16``gaussian``lanczos`
|
||||
|
||||
Default Value: fast
|
||||
@ -646,7 +646,7 @@ Default Value: fast
|
||||
The scaling algorithm used to making different resolution versions of this raster layer. Bilinear is a good compromise between speed and accuracy, while lanczos gives the highest quality.
|
||||
* * *
|
||||
|
||||
#### raster-mesh-size `integer`
|
||||
##### raster-mesh-size `integer`
|
||||
|
||||
|
||||
Default Value: 16
|
||||
@ -658,7 +658,7 @@ A reduced resolution mesh is used for raster reprojection, and the total image s
|
||||
|
||||
## point
|
||||
|
||||
#### point-file `uri`
|
||||
##### point-file `uri`
|
||||
|
||||
|
||||
Default Value: none
|
||||
@ -667,7 +667,7 @@ Default Value: none
|
||||
Image file to represent a point
|
||||
* * *
|
||||
|
||||
#### point-allow-overlap `boolean`
|
||||
##### point-allow-overlap `boolean`
|
||||
|
||||
|
||||
Default Value: false
|
||||
@ -676,7 +676,7 @@ _(Do not allow points to overlap with each other - overlapping markers will not
|
||||
Control whether overlapping points are shown or hidden.
|
||||
* * *
|
||||
|
||||
#### point-ignore-placement `boolean`
|
||||
##### point-ignore-placement `boolean`
|
||||
|
||||
|
||||
Default Value: false
|
||||
@ -685,7 +685,7 @@ _(do not store the bbox of this geometry in the collision detector cache)_
|
||||
value to control whether the placement of the feature will prevent the placement of other features
|
||||
* * *
|
||||
|
||||
#### point-opacity `float`
|
||||
##### point-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -694,7 +694,7 @@ _(Fully opaque)_
|
||||
A value from 0 to 1 to control the opacity of the point
|
||||
* * *
|
||||
|
||||
#### point-placement `keyword`
|
||||
##### point-placement `keyword`
|
||||
`centroid``interior`
|
||||
|
||||
Default Value: centroid
|
||||
@ -703,7 +703,7 @@ Default Value: centroid
|
||||
How this point should be placed. Centroid calculates the geometric center of a polygon, which can be outside of it, while interior always places inside of a polygon.
|
||||
* * *
|
||||
|
||||
#### point-transform `string`
|
||||
##### point-transform `string`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -715,7 +715,7 @@ SVG transformation definition
|
||||
|
||||
## text
|
||||
|
||||
#### text-name `string`
|
||||
##### text-name `string`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -724,7 +724,7 @@ Default Value:
|
||||
Value to use for a text label. Data columns are specified using brackets like [column_name]
|
||||
* * *
|
||||
|
||||
#### text-face-name `string`
|
||||
##### text-face-name `string`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -733,7 +733,7 @@ Default Value: undefined
|
||||
Font name and style to render a label in
|
||||
* * *
|
||||
|
||||
#### text-size `float`
|
||||
##### text-size `float`
|
||||
|
||||
|
||||
Default Value: 10
|
||||
@ -742,7 +742,7 @@ Default Value: 10
|
||||
Text size in pixels
|
||||
* * *
|
||||
|
||||
#### text-ratio `float`
|
||||
##### text-ratio `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -751,7 +751,7 @@ Default Value: 0
|
||||
Define the amount of text (of the total) present on successive lines when wrapping occurs
|
||||
* * *
|
||||
|
||||
#### text-wrap-width `float`
|
||||
##### text-wrap-width `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -760,7 +760,7 @@ Default Value: 0
|
||||
Length of a chunk of text in characters before wrapping text
|
||||
* * *
|
||||
|
||||
#### text-wrap-character `string`
|
||||
##### text-wrap-character `string`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -769,7 +769,7 @@ Default Value:
|
||||
Use this character instead of a space to wrap long text.
|
||||
* * *
|
||||
|
||||
#### text-spacing `float`
|
||||
##### text-spacing `float`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -778,7 +778,7 @@ Default Value: undefined
|
||||
Distance between repeated text labels on a line
|
||||
* * *
|
||||
|
||||
#### text-character-spacing `float`
|
||||
##### text-character-spacing `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -787,7 +787,7 @@ Default Value: 0
|
||||
Horizontal spacing adjustment between characters in pixels
|
||||
* * *
|
||||
|
||||
#### text-line-spacing `float`
|
||||
##### text-line-spacing `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -796,7 +796,7 @@ Default Value: 0
|
||||
Vertical spacing adjustment between lines in pixels
|
||||
* * *
|
||||
|
||||
#### text-label-position-tolerance `float`
|
||||
##### text-label-position-tolerance `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -805,7 +805,7 @@ Default Value: 0
|
||||
Allows the label to be displaced from its ideal position by a number of pixels
|
||||
* * *
|
||||
|
||||
#### text-max-char-angle-delta `float`
|
||||
##### text-max-char-angle-delta `float`
|
||||
|
||||
|
||||
Default Value: none
|
||||
@ -814,7 +814,7 @@ Default Value: none
|
||||
If present, the maximum angle change, in degrees, allowed between adjacent characters in a label. This will stop label placement around sharp corners.
|
||||
* * *
|
||||
|
||||
#### text-fill `color`
|
||||
##### text-fill `color`
|
||||
|
||||
|
||||
Default Value: #000000
|
||||
@ -823,7 +823,7 @@ Default Value: #000000
|
||||
Specifies the color for the text
|
||||
* * *
|
||||
|
||||
#### text-opacity `float`
|
||||
##### text-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -832,7 +832,7 @@ _(Fully opaque)_
|
||||
A number from 0 to 1 specifying the opacity for the text
|
||||
* * *
|
||||
|
||||
#### text-halo-fill `color`
|
||||
##### text-halo-fill `color`
|
||||
|
||||
|
||||
Default Value: #FFFFFF
|
||||
@ -841,7 +841,7 @@ _(white)_
|
||||
Specifies the color of the halo around the text.
|
||||
* * *
|
||||
|
||||
#### text-halo-radius `float`
|
||||
##### text-halo-radius `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -850,7 +850,7 @@ _(no halo)_
|
||||
Specify the radius of the halo in pixels
|
||||
* * *
|
||||
|
||||
#### text-dx `float`
|
||||
##### text-dx `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -859,7 +859,7 @@ Default Value: 0
|
||||
Displace text by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right
|
||||
* * *
|
||||
|
||||
#### text-dy `float`
|
||||
##### text-dy `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -868,7 +868,7 @@ Default Value: 0
|
||||
Displace text by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down
|
||||
* * *
|
||||
|
||||
#### text-vertical-alignment `keyword`
|
||||
##### text-vertical-alignment `keyword`
|
||||
`top``middle``bottom`
|
||||
|
||||
Default Value: middle
|
||||
@ -877,7 +877,7 @@ _(Default affected by value of dy; "bottom" for dy>0, "top&quo
|
||||
Position of label relative to point position.
|
||||
* * *
|
||||
|
||||
#### text-avoid-edges `boolean`
|
||||
##### text-avoid-edges `boolean`
|
||||
|
||||
|
||||
Default Value: false
|
||||
@ -886,7 +886,7 @@ Default Value: false
|
||||
Tell positioning algorithm to avoid labeling near intersection edges.
|
||||
* * *
|
||||
|
||||
#### text-min-distance `float`
|
||||
##### text-min-distance `float`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -895,7 +895,7 @@ Default Value: undefined
|
||||
Minimum permitted distance to the next text symbolizer.
|
||||
* * *
|
||||
|
||||
#### text-min-padding `float`
|
||||
##### text-min-padding `float`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -904,7 +904,7 @@ Default Value: undefined
|
||||
Determines the minimum amount of padding that a text symbolizer gets relative to other text
|
||||
* * *
|
||||
|
||||
#### text-min-path-length `float`
|
||||
##### text-min-path-length `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
@ -913,7 +913,7 @@ _(place labels on all paths)_
|
||||
Place labels only on paths longer than this value.
|
||||
* * *
|
||||
|
||||
#### text-allow-overlap `boolean`
|
||||
##### text-allow-overlap `boolean`
|
||||
|
||||
|
||||
Default Value: false
|
||||
@ -922,7 +922,7 @@ _(Do not allow text to overlap with other text - overlapping markers will not be
|
||||
Control whether overlapping text is shown or hidden.
|
||||
* * *
|
||||
|
||||
#### text-orientation `float`
|
||||
##### text-orientation `float`
|
||||
|
||||
|
||||
Default Value: undefined
|
||||
@ -931,7 +931,7 @@ Default Value: undefined
|
||||
Rotate the text.
|
||||
* * *
|
||||
|
||||
#### text-placement `keyword`
|
||||
##### text-placement `keyword`
|
||||
`point``line``vertex``interior`
|
||||
|
||||
Default Value: point
|
||||
@ -940,7 +940,7 @@ Default Value: point
|
||||
Control the style of placement of a point versus the geometry it is attached to.
|
||||
* * *
|
||||
|
||||
#### text-placement-type `keyword`
|
||||
##### text-placement-type `keyword`
|
||||
`dummy``simple`
|
||||
|
||||
Default Value: dummy
|
||||
@ -949,7 +949,7 @@ Default Value: dummy
|
||||
Re-position and/or re-size text to avoid overlaps. "simple" for basic algorithm (using text-placements string,) "dummy" to turn this feature off.
|
||||
* * *
|
||||
|
||||
#### text-placements `string`
|
||||
##### text-placements `string`
|
||||
|
||||
|
||||
Default Value:
|
||||
@ -958,7 +958,7 @@ Default Value:
|
||||
If "placement-type" is set to "simple", use this "POSITIONS,[SIZES]" string. See TextSymbolizer docs for format.
|
||||
* * *
|
||||
|
||||
#### text-transform `keyword`
|
||||
##### text-transform `keyword`
|
||||
`none``uppercase``lowercase``capitalize`
|
||||
|
||||
Default Value: none
|
||||
@ -967,7 +967,7 @@ Default Value: none
|
||||
Transform the case of the characters
|
||||
* * *
|
||||
|
||||
#### text-horizontal-alignment `keyword`
|
||||
##### text-horizontal-alignment `keyword`
|
||||
`left``middle``right``auto`
|
||||
|
||||
Default Value: middle
|
||||
@ -976,7 +976,7 @@ Default Value: middle
|
||||
The text's horizontal alignment from its centerpoint
|
||||
* * *
|
||||
|
||||
#### text-align `keyword`
|
||||
##### text-align `keyword`
|
||||
`left``right``center`
|
||||
|
||||
Default Value: center
|
||||
@ -988,7 +988,7 @@ Set the text alignment.
|
||||
|
||||
## building
|
||||
|
||||
#### building-fill `color`
|
||||
##### building-fill `color`
|
||||
|
||||
|
||||
Default Value: #FFFFFF
|
||||
@ -997,7 +997,7 @@ Default Value: #FFFFFF
|
||||
The color of the buildings walls.
|
||||
* * *
|
||||
|
||||
#### building-fill-opacity `float`
|
||||
##### building-fill-opacity `float`
|
||||
|
||||
|
||||
Default Value: 1
|
||||
@ -1006,7 +1006,7 @@ Default Value: 1
|
||||
The opacity of the building as a whole, including all walls.
|
||||
* * *
|
||||
|
||||
#### building-height `float`
|
||||
##### building-height `float`
|
||||
|
||||
|
||||
Default Value: 0
|
||||
|
290
docs/2.1.0.md
290
docs/2.1.0.md
File diff suppressed because it is too large
Load Diff
292
docs/2.1.1.md
292
docs/2.1.1.md
File diff suppressed because it is too large
Load Diff
334
docs/latest.md
334
docs/latest.md
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user