This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<style type="text/css"> | |
body{background-color: red;} | |
h1{color: white; font-style: italic;} | |
p{color: blue; font-size: small;} | |
</style> | |
</head> | |
<body style="width: 1200px; height: 125px;"> | |
<h1>Foo BAR baz</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Style for DMA | |
defaults: | |
line-color: &lclr '#FF0000' | |
case-color: &cclr '#000000' | |
breaks: | |
0: &zb0 | |
min: 6 | |
1: &zb1 | |
max: 6 | |
min: 8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<TextSymbolizer> | |
<Label> | |
<ogc:Function name="strReplace"> | |
<ogc:PropertyName>name</ogc:PropertyName> | |
<ogc:Literal>-</ogc:Literal> | |
<ogc:Literal>\n</ogc:Literal> | |
</ogc:Function> | |
</Label> | |
</TextSymbolizer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.... | |
label: | |
function: | |
name: 'strReplace' | |
property: 'label' | |
search: '-' | |
replace: '\n' | |
.... | |
line: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.... | |
label: | |
function: "strReplace(label, '-', '\n')" | |
.... | |
line: | |
stroke: | |
width: | |
function: "ceil(pHisp * 10 / 3)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"layer": { | |
"defaultStyle": { | |
"name": "pophatch" | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
[ | |
{ | |
"class": "label_control", | |
"color": [255, 255, 255], | |
"shadow_color": [24, 24, 24], | |
"shadow_offset": [0, -1] | |
}, | |
{ | |
"class": "button_control", | |
"content_margin": [6, 5, 6, 6], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
map2docu = function(evt, props){ | |
var oldName = props[0]; | |
var evtprops = props.slice(1,-1); | |
var desc = props.slice(-1)[0]; | |
console.log('| class="code" | %s \n| class="code" | %s \n| %s. Should be used in favor of %s', | |
evt, evtprops[0] ? evtprops.join(',') : '', desc, oldName); | |
} | |
makeDocu = function(evts) { | |
i=0; |
Copy & save the concatentated AMD modules to a javascript file and include that in your application.
USE AT YOUR OWN RISK