add testcase for issue #239

master-undefined-tagcontent
Dane Springmeyer 12 years ago
parent 3f70b8a36c
commit 633754306e

@ -0,0 +1,38 @@
{
"bounds": [
-180,
-85.05112877980659,
180,
85.05112877980659
],
"center": [
0,
0,
2
],
"format": "png",
"interactivity": false,
"minzoom": 0,
"maxzoom": 22,
"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_239_a.mss",
"issue_239_b.mss"
],
"Layer": [
{
"id": "countries",
"name": "countries",
"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",
"geometry": "polygon",
"Datasource": {
"file": "http://mapbox-geodata.s3.amazonaws.com/natural-earth-1.4.0/cultural/10m-admin-0-countries.zip",
"type": "shape"
}
}
],
"scale": 1,
"metatile": 2,
"name": "",
"description": ""
}

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<!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.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over" maximum-extent="-20037508.34,-20037508.34,20037508.34,20037508.34">
<Parameters>
<Parameter name="bounds">-180,-85.05112877980659,180,85.05112877980659</Parameter>
<Parameter name="center">0,0,2</Parameter>
<Parameter name="format">png</Parameter>
<Parameter name="minzoom">0</Parameter>
<Parameter name="maxzoom">22</Parameter>
</Parameters>
<Style name="countries-outline" filter-mode="first" >
<Rule>
<LineSymbolizer stroke="#002244" stroke-width="2" stroke-linejoin="round" />
</Rule>
</Style>
<Style name="countries-fill" filter-mode="first" >
<Rule>
<PolygonSymbolizer fill="#aaccee" gamma="0.3" />
</Rule>
</Style>
<Layer name="countries"
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">
<StyleName>countries-outline</StyleName>
<StyleName>countries-fill</StyleName>
<Datasource>
<Parameter name="file"><![CDATA[http://mapbox-geodata.s3.amazonaws.com/natural-earth-1.4.0/cultural/10m-admin-0-countries.zip]]></Parameter>
<Parameter name="type"><![CDATA[shape]]></Parameter>
</Datasource>
</Layer>
</Map>

@ -0,0 +1,7 @@
// Only the coastlines should be visible,
// not land boundaries.
#countries::outline {
line-color: #024;
line-width: 2;
line-join: round;
}

@ -0,0 +1,5 @@
// This attachment should cover most of the outlines
#countries::fill {
polygon-fill: #ace;
polygon-gamma: 0.3;
}
Loading…
Cancel
Save