Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
  • 6 commits
  • 4 files changed
  • 0 commit comments
  • 1 contributor
View
10 2.1.0/reference.json
@@ -891,7 +891,15 @@
},
"transform": {
"css": "point-transform",
- "type": "string",
+ "type": "functions",
+ "functions": [
+ ["matrix", 6],
+ ["translate", 2],
+ ["scale", 2],
+ ["rotate", 3],
+ ["skewX", 1],
+ ["skewY", 1]
+ ],
"default-value": "",
"default-meaning": "No transformation",
"doc": "SVG transformation definition"
View
7 CHANGELOG.md
@@ -1,5 +1,12 @@
## CHANGELOG
+#### 3.0.0
+
+* Add `expression` type
+* Add `functions` type
+* Add transform function definitions for `point-transform` and,
+ eventually, other transforms
+
#### 2.2.2
* Fixed type definition of `font-directory` in reference targeting latest mapnik
View
16 latest/reference.json
@@ -889,9 +889,17 @@
"doc": "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.",
"default-value": "centroid"
},
- "transform": {
+ "image-transform": {
"css": "point-transform",
- "type": "string",
+ "type": "functions",
+ "functions": [
+ ["matrix", 6],
+ ["translate", 2],
+ ["scale", 2],
+ ["rotate", 3],
+ ["skewX", 1],
+ ["skewY", 1]
+ ],
"default-value": "",
"default-meaning": "No transformation",
"doc": "SVG transformation definition"
@@ -942,7 +950,7 @@
"text": {
"name": {
"css": "text-name",
- "type": "string",
+ "type": "expression",
"required": true,
"default-value": "",
"serialization": "content",
@@ -1211,7 +1219,7 @@
"height": {
"css": "building-height",
"doc": "The height of the building in pixels.",
- "type": "float",
+ "type": "expression",
"default-value": "0"
},
"comp-op": {
View
2  package.json
@@ -2,7 +2,7 @@
"author": "Mapnik Developers",
"name": "mapnik-reference",
"description": "Reference for Mapnik Styling Options",
- "version": "2.2.2",
+ "version": "3.0.0",
"repository": {
"type": "git",
"url": "git://github.com/mapnik/mapnik-reference.git"

No commit comments for this range

Something went wrong with that request. Please try again.