test comments without spaces
This commit is contained in:
parent
4ea6e22626
commit
903f6ffa92
15
test/rendering/weird_comments.mml
Normal file
15
test/rendering/weird_comments.mml
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs",
|
||||
"Stylesheet": [
|
||||
"weird_comments.mss"
|
||||
],
|
||||
"Layer": [{
|
||||
"id": "world",
|
||||
"name": "world",
|
||||
"srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs",
|
||||
"Datasource": {
|
||||
"file": "http://tilemill-data.s3.amazonaws.com/test_data/shape_demo.zip",
|
||||
"type": "shape"
|
||||
}
|
||||
}]
|
||||
}
|
12
test/rendering/weird_comments.mss
Normal file
12
test/rendering/weird_comments.mss
Normal file
@ -0,0 +1,12 @@
|
||||
#world { polygon-fill: #A22; }
|
||||
/* comment */
|
||||
/*
|
||||
#world { line-opacity:0.5; }
|
||||
#world { line-width:10; }
|
||||
#world { line-color:#0ff; }
|
||||
*/
|
||||
|
||||
/* *//* { *//* *//* *//* */#world { polygon-fill:#A33; }/* } */
|
||||
|
||||
|
||||
/* { *//* [ ] *//* *//* { } *//* #world { polygon-fill:#a00; } */
|
20
test/rendering/weird_comments.result
Normal file
20
test/rendering/weird_comments.result
Normal file
@ -0,0 +1,20 @@
|
||||
<!DOCTYPE Map[]>
|
||||
<Map srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs">
|
||||
|
||||
|
||||
<Style name="world-polygon/__default__">
|
||||
<Rule>
|
||||
<PolygonSymbolizer fill="#aa3333"/>
|
||||
</Rule>
|
||||
</Style>
|
||||
<Layer
|
||||
id="world"
|
||||
name="world"
|
||||
srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs">
|
||||
<StyleName>world-polygon/__default__</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="file">[absolute path]</Parameter>
|
||||
<Parameter name="type">shape</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
</Map>
|
Loading…
Reference in New Issue
Block a user