diff --git a/test/rendering/issue_411.mml b/test/rendering/issue_411.mml new file mode 100644 index 000000000..af1be1769 --- /dev/null +++ b/test/rendering/issue_411.mml @@ -0,0 +1,14 @@ +{ + "srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over", + "Stylesheet": [ + "issue_411.mss" + ], + "Layer": [{ + "id": "test", + "srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over", + "Datasource": { + "file": "http://tilemill-data.s3.amazonaws.com/test_data/shape_demo.zip", + "type": "shape" + } + }] +} diff --git a/test/rendering/issue_411.mss b/test/rendering/issue_411.mss new file mode 100644 index 000000000..fdb606fbf --- /dev/null +++ b/test/rendering/issue_411.mss @@ -0,0 +1,7 @@ +#test { + [zoom >= 3][way_pixels > 0.00000010000][way_pixels < 0.00003600000] { + text-face-name: "Arial"; + text-name: "[name]"; + text-size: 10; + } +} diff --git a/test/rendering/issue_411.result b/test/rendering/issue_411.result new file mode 100644 index 000000000..e3cc4a61c --- /dev/null +++ b/test/rendering/issue_411.result @@ -0,0 +1,23 @@ + + + + + + + + test + + + + + + +