Commit Graph

1074 Commits

Author SHA1 Message Date
Yohan Boniface
6b51cd370b Fix empty name value resulting in non closed tag 2013-09-21 17:05:10 +02:00
Jérémy Lal
b63fe0a9af layer srs is inherited from map srs
Do not output srs attribute when srs is undefined,
since layer srs is inherited from map srs, it is optional.
2013-09-12 09:56:45 +02:00
Tom MacWright
5938ebb609 Correctly deal with invalid content in non-selfclosing tags. Fixes #297 2013-09-11 11:18:40 -04:00
Tom MacWright
2ead8dafa2 Backtrack on invalid zoom. Fixes #290 2013-08-09 19:58:52 -04:00
javi
d788fb8f07 fixes mapbox/carto#288 2013-08-05 18:12:42 +02:00
Dane Springmeyer
60396cbeef add support for direct-image-filters 2013-07-24 22:03:13 -04:00
Dane Springmeyer
f88711db72 add scale-hsla function to work with latest mapnik-reference: 66502bfde0 2013-07-24 21:59:05 -04:00
Tom MacWright
bbeff81a16 Fix byFilter regression 2013-07-09 15:00:13 -04:00
Tom MacWright
afac483b35 More comments
:
2013-07-09 14:38:27 -04:00
Young Hahn
45b5c107af Merge pull request #279 from mapbox/dataonly
Allow Layer-only rendering without corresponding styles
2013-06-24 08:58:48 -07:00
Young Hahn
15ab78a3a8 Allow custom map parameters. 2013-06-14 18:25:55 -04:00
Young Hahn
bb153521e2 Allow Layer-only rendering without corresponding styles. 2013-06-14 12:21:13 -04:00
Young Hahn
ff0fc2b1c8 Revert "Dimensions." Refs #258.
This reverts commit 0f65b869fd.
2013-06-14 10:47:43 -04:00
Dane Springmeyer
4203578093 fix #247 2013-05-31 17:17:36 -07:00
Tom MacWright
b113bfea99 Prevent image filter duplication. Fixes #270 2013-04-16 10:24:48 -04:00
Tom MacWright
0f65b869fd Dimensions. 2013-04-15 16:10:00 -04:00
Tom MacWright
c21a763dc7 Refactor physical unit support 2013-04-15 15:59:17 -04:00
Tom MacWright
207b120dee Fix dimension.js code style 2013-04-15 15:49:39 -04:00
Tom MacWright
49b2324ea1 Handle errant zoom-as-field better. Fixes #269. 2013-04-15 15:45:53 -04:00
Tom MacWright
04b1602310 Support variable-length arguments in functions with -1 2013-04-05 16:10:27 -04:00
Tom MacWright
2f76fec686 Do not unnecessarily escape < and chain replacements 2013-03-29 11:47:04 -04:00
Tom MacWright
435452ba50 Merge pull request #265 from strk/master-quote-amp
Quote ampersend chars in XML text. Closes #263.
2013-03-29 08:44:59 -07:00
Tom MacWright
5d626d3c10 Do not output references to empty styles. Fixes #244 2013-03-27 11:59:09 -04:00
Tom MacWright
49c81edd3a Tolerate single-stop colorizers. Fixes #251 2013-03-27 11:48:47 -04:00
Tom MacWright
05797dd711 Tolerate commas in values. Fixes #266 2013-03-27 11:30:51 -04:00
Tom MacWright
86abdcd700 Fix #262,
when selectors are exactly the same, still push them into the list.
2013-03-27 10:44:12 -04:00
Sandro Santilli
d6585d3691 Quote all needed XML chars. See #263.
Includes testcase.
2013-03-27 12:36:25 +01:00
Sandro Santilli
acf94e5fab Quote ampersend chars in XML text. Closes #263.
Includes testcase.
2013-03-22 11:11:16 +01:00
Tom MacWright
5e2ea67df9 Fix repeated comments in selectors. Fixes #260 2013-03-13 11:27:00 -04:00
Tom MacWright
3382bfa29f Merge branch 'missing-bracket' 2013-03-11 16:32:48 -04:00
root
7deb1b86e0 Merge branch 'layerzoom' 2013-02-26 11:40:58 -05:00
Tom MacWright
c5a67fa938 Missing bracket. Refs #254 2013-02-25 09:17:56 -05:00
Young Hahn
be78202e0b Allow layers to be rendered without datasources. 2013-02-21 15:29:33 -05:00
Tom MacWright
0e0bac0e5c Fix fadeout 2013-02-18 17:34:49 -05:00
root
47464fc18d Convert minzoom/maxzoom parameters on Layer properties. 2013-02-04 16:42:57 -05:00
Dane Springmeyer
74fa914c8c updated raster colorizer support 2013-02-01 15:57:29 -05:00
Tom MacWright
55fbafe0d0 Merge branch 'master' of github.com:mapbox/carto 2013-01-31 08:54:41 -05:00
Tom MacWright
5fa4478d40 Fix rgba handling, fixes #246 2013-01-31 08:54:27 -05:00
Dane Springmeyer
3f70b8a36c avoid unneeded whitespace in style XML output 2013-01-23 16:57:27 -08:00
Dane Springmeyer
8c51c59fe9 Merge pull request #240 from stefanklug/units
Add unit support to css
2013-01-23 12:47:30 -08:00
Stefan Klug
cf8c11f038 replace dpi by ppi 2013-01-23 10:20:04 +01:00
Stefan Klug
8f8c1ad39b remove debug output 2013-01-21 18:43:49 +01:00
Stefan Klug
494c07d383 don't overwrite maximum-extent when specified in mml 2013-01-21 18:28:10 +01:00
Stefan Klug
6a5309e22e fixed regression introduced in last commit 2013-01-21 16:40:16 +01:00
Stefan Klug
56ac678c0a add support for the units m, mm, cm, pt, pc
these are converted to pixels depending on env.dpi (defaulting to 90.714)

adding and subtracting percentages works also
2013-01-21 16:40:15 +01:00
Tom MacWright
1769cb4a59 Merge branch 'master' of github.com:mapbox/carto 2013-01-16 17:42:31 -05:00
AJ Ashton
9deb60cd08 Fix numeric check regex 2013-01-16 17:15:28 -05:00
Tom MacWright
6ce476d2a2 parseFloat sucks 2013-01-08 16:42:50 -05:00
Dane Springmeyer
0d686bb8d8 fixup code comments - amends 87d4f9627b 2013-01-06 11:58:14 -08:00
Tom MacWright
f3bde1fde3 No more in operator, checking for undefined is much much faster 2013-01-04 18:45:19 -05:00