Update index.html

This commit is contained in:
AcuGIS 2024-03-01 12:13:55 +00:00
parent 15bbd3d15b
commit 777d60cb96
1 changed files with 3 additions and 1 deletions

View File

@ -120,6 +120,7 @@ function downloadSLD() {
+ ' <Stroke>\n'
+ ' <CssParameter name="stroke">' + l['style']['polygon']['color'] + '</CssParameter>\n'
+ ' <CssParameter name="stroke-width">' + l['style']['polygon']['weight'] + '</CssParameter>\n'
+ ' <CssParameter name="stroke-dasharray">' + l['style']['polygon']['stroke_type'] + '</CssParameter>\n'
+ ' <CssParameter name="stroke-opacity">' + l['style']['polygon']['opacity'] + '</CssParameter>\n'
+ ' </Stroke>\n'
+ ' </LineSymbolizer>\n';
@ -135,6 +136,7 @@ function downloadSLD() {
+ ' <Stroke>\n'
+ ' <CssParameter name="stroke">' + l['style']['polygon']['color'] + '</CssParameter>\n'
+ ' <CssParameter name="stroke-width">' + l['style']['polygon']['weight'] + '</CssParameter>\n'
+ ' <CssParameter name="stroke-dasharray">' + l['style']['polygon']['stroke_type'] + '</CssParameter>\n'
+ ' <CssParameter name="stroke-opacity">' + l['style']['polygon']['opacity'] + '</CssParameter>\n'
+ ' </Stroke>\n'
+ ' </PolygonSymbolizer>\n';
@ -566,7 +568,7 @@ Header END -->
<div class="form-group">
<label class="control-label">Stroke Style</label>
<div class="controls">
<select class="form-control" name="stroke_type"><option value="solid">solid</option><option value="dashed">dashed</option></select> </div>
<select class="form-control" name="stroke_type"><option value="">solid</option><option value="2.0">dashed</option></select> </div>
</div>
</div>
<div id="fill-color-container" class="col-md-12">