Religion: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 35: | Zeile 35: | ||
} | } | ||
</maplink> | </maplink> | ||
// COLOR RULES | |||
// Colors can be in short form: | |||
// "#ace" | |||
// or long form | |||
// "#aaccee" | |||
// with or without the # prefix. | |||
// Colors are interpreted the same as in CSS, | |||
// in #RRGGBB and #RGB order. | |||
// But other color formats or named colors | |||
// are not supported | |||
{ | |||
"type": "FeatureCollection", | |||
"features": [{ "type": "Feature", | |||
"geometry": { | |||
"type": "Point", | |||
"coordinates": [0, 0] | |||
}, | |||
"properties": { | |||
// OPTIONAL: default "" | |||
// A title to show when this item is clicked or | |||
// hovered over | |||
"title": "A title", | |||
// OPTIONAL: default "" | |||
// A description to show when this item is clicked or | |||
// hovered over | |||
"description": "A description", | |||
// OPTIONAL: default "medium" | |||
// specify the size of the marker. sizes | |||
// can be different pixel sizes in different | |||
// implementations | |||
// Value must be one of | |||
// "small" | |||
// "medium" | |||
// "large" | |||
"marker-size": "medium", | |||
// OPTIONAL: default "" | |||
// a symbol to position in the center of this icon | |||
// if not provided or "", no symbol is overlaid | |||
// and only the marker is shown | |||
// Allowed values include | |||
// - Icon ID | |||
// - An integer 0 through 9 | |||
// - A lowercase character "a" through "z" | |||
"marker-symbol": "bus", | |||
// OPTIONAL: default "7e7e7e" | |||
// the marker's color | |||
// | |||
// value must follow COLOR RULES | |||
"marker-color": "#fff", | |||
// OPTIONAL: default "555555" | |||
// the color of a line as part of a polygon, polyline, or | |||
// multigeometry | |||
// | |||
// value must follow COLOR RULES | |||
"stroke": "#555555", | |||
// OPTIONAL: default 1.0 | |||
// the opacity of the line component of a polygon, polyline, or | |||
// multigeometry | |||
// | |||
// value must be a floating point number greater than or equal to | |||
// zero and less or equal to than one | |||
"stroke-opacity": 1.0, | |||
// OPTIONAL: default 2 | |||
// the width of the line component of a polygon, polyline, or | |||
// multigeometry | |||
// | |||
// value must be a floating point number greater than or equal to 0 | |||
"stroke-width": 2, | |||
// OPTIONAL: default "555555" | |||
// the color of the interior of a polygon | |||
// | |||
// value must follow COLOR RULES | |||
"fill": "#555555", | |||
// OPTIONAL: default 0.6 | |||
// the opacity of the interior of a polygon. Implementations | |||
// may choose to set this to 0 for line features. | |||
// | |||
// value must be a floating point number greater than or equal to | |||
// zero and less or equal to than one | |||
"fill-opacity": 0.5 | |||
} | |||
}] | |||
} | |||
Version vom 8. April 2023, 21:35 Uhr
Hans sei mit Dir
Colorado State Capitol with marker icon
// COLOR RULES
// Colors can be in short form:
// "#ace"
// or long form
// "#aaccee"
// with or without the # prefix.
// Colors are interpreted the same as in CSS,
// in #RRGGBB and #RGB order.
// But other color formats or named colors
// are not supported
{
"type": "FeatureCollection",
"features": [{ "type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [0, 0]
},
"properties": {
// OPTIONAL: default ""
// A title to show when this item is clicked or
// hovered over
"title": "A title",
// OPTIONAL: default ""
// A description to show when this item is clicked or
// hovered over
"description": "A description",
// OPTIONAL: default "medium"
// specify the size of the marker. sizes
// can be different pixel sizes in different
// implementations
// Value must be one of
// "small"
// "medium"
// "large"
"marker-size": "medium",
// OPTIONAL: default ""
// a symbol to position in the center of this icon
// if not provided or "", no symbol is overlaid
// and only the marker is shown
// Allowed values include
// - Icon ID
// - An integer 0 through 9
// - A lowercase character "a" through "z"
"marker-symbol": "bus",
// OPTIONAL: default "7e7e7e"
// the marker's color
//
// value must follow COLOR RULES
"marker-color": "#fff",
// OPTIONAL: default "555555"
// the color of a line as part of a polygon, polyline, or
// multigeometry
//
// value must follow COLOR RULES
"stroke": "#555555",
// OPTIONAL: default 1.0
// the opacity of the line component of a polygon, polyline, or
// multigeometry
//
// value must be a floating point number greater than or equal to
// zero and less or equal to than one
"stroke-opacity": 1.0,
// OPTIONAL: default 2
// the width of the line component of a polygon, polyline, or
// multigeometry
//
// value must be a floating point number greater than or equal to 0
"stroke-width": 2,
// OPTIONAL: default "555555"
// the color of the interior of a polygon
//
// value must follow COLOR RULES
"fill": "#555555",
// OPTIONAL: default 0.6
// the opacity of the interior of a polygon. Implementations
// may choose to set this to 0 for line features.
//
// value must be a floating point number greater than or equal to
// zero and less or equal to than one
"fill-opacity": 0.5
}
}]
}
Schuh unser
Steuerfrei
