-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #623 from KaiVolland/unsupported-properties-feedback
Adds unsupportedProperties feedback to WriteStyleResult
- Loading branch information
Showing
6 changed files
with
146 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<StyledLayerDescriptor version="1.0.0" xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd" xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<NamedLayer> | ||
<Name>OL Style</Name> | ||
<UserStyle> | ||
<Name>OL Style</Name> | ||
<Title>OL Style</Title> | ||
<FeatureTypeStyle> | ||
<Rule> | ||
<Name>OL Style Rule 0</Name> | ||
<PolygonSymbolizer> | ||
<Fill> | ||
<CssParameter name="fill">#F1337F</CssParameter> | ||
</Fill> | ||
</PolygonSymbolizer> | ||
</Rule> | ||
</FeatureTypeStyle> | ||
</UserStyle> | ||
</NamedLayer> | ||
</StyledLayerDescriptor> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<StyledLayerDescriptor version="1.1.0" xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd" xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:se="http://www.opengis.net/se"> | ||
<NamedLayer> | ||
<se:Name>OL Style</se:Name> | ||
<UserStyle> | ||
<se:Name>OL Style</se:Name> | ||
<se:FeatureTypeStyle> | ||
<se:Rule> | ||
<se:Name>OL Style Rule 0</se:Name> | ||
<se:PolygonSymbolizer uom="http://www.opengeospatial.org/se/units/pixel"> | ||
<se:Fill> | ||
<se:SvgParameter name="fill">#F1337F</se:SvgParameter> | ||
</se:Fill> | ||
</se:PolygonSymbolizer> | ||
</se:Rule> | ||
</se:FeatureTypeStyle> | ||
</UserStyle> | ||
</NamedLayer> | ||
</StyledLayerDescriptor> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { Style } from 'geostyler-style'; | ||
|
||
const unsupportedProperties: Style = { | ||
name: 'OL Style', | ||
rules: [ | ||
{ | ||
name: 'OL Style Rule 0', | ||
symbolizers: [{ | ||
kind: 'Fill', | ||
color: '#F1337F', | ||
opacity: 0.5 | ||
}] | ||
} | ||
] | ||
}; | ||
|
||
export default unsupportedProperties; |
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
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
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