Created
December 5, 2013 17:24
-
-
Save ca0v/7809609 to your computer and use it in GitHub Desktop.
First attempt at creating a typescript interface for the GeoServer "grass" SLD. Notice "Grass" is in the definition!
This file contains hidden or 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
interface IGrassTestStyledLayerDescriptor { | |
version: string; | |
namedLayers: { | |
Grass: { | |
userStyles: Array<{ | |
defaultsPerSymbolizer: boolean; | |
rules: Array<{ | |
symbolizer: { | |
Polygon: { | |
fill: boolean; | |
stroke: boolean; | |
strokeColor: string; | |
strokeWidth: string; | |
}; | |
}; | |
id: string; | |
name: string; | |
description: string; | |
}>; | |
name: string; | |
title: string; | |
description: string; | |
propertyStyles: any; | |
defaultStyle: { | |
fillColor: string; | |
fillOpacity: number; | |
strokeColor: string; | |
strokeOpacity: number; | |
strokeWidth: number; | |
strokeDashstyle: string; | |
pointRadius: number; | |
graphicName: string; | |
}; | |
id: string; | |
layerName: string; | |
}>; | |
namedStyles: Array<any>; | |
name: string; | |
}; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment