Skip to content

Commit

Permalink
Merge pull request #96 from KaiVolland/offset-basepointsymbolizer
Browse files Browse the repository at this point in the history
Moves offset property to BasePointSymbolizer
  • Loading branch information
KaiVolland authored Feb 1, 2019
2 parents bde2269 + 9bb34a2 commit 8bfd67f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,13 @@ interface BaseSymbolizer {
export interface BasePointSymbolizer extends BaseSymbolizer {
avoidEdges?: boolean;
spacing?: number;
offset?: [number, number];
}

/**
* Supported WellKnownNames
*/
export type WellKnownName = 'Circle' | 'Square' | 'Triangle' | 'Star' | 'Cross' | 'X'
export type WellKnownName = 'Circle' | 'Square' | 'Triangle' | 'Star' | 'Cross' | 'X'
| 'shape://vertline' | 'shape://horline' | 'shape://slash'
| 'shape://backslash' | 'shape://dot' | 'shape://plus'
| 'shape://times' | 'shape://oarrow' | 'shape://carrow' ;
Expand Down Expand Up @@ -154,7 +155,6 @@ export interface TextSymbolizer extends BasePointSymbolizer {
lineHeight?: number;
maxAngle?: number;
maxWidth?: number;
offset?: [number, number];
optional?: boolean;
padding?: number;
pitchAlignment?: 'map' | 'viewport' | 'auto';
Expand All @@ -178,7 +178,6 @@ export interface IconSymbolizer extends BasePointSymbolizer {
ignorePlacement?: boolean;
image?: string;
keepUpright?: boolean;
offset?: [number, number];
optional?: boolean;
padding?: number;
pitchAlignment?: 'map' | 'viewport' | 'auto';
Expand Down

0 comments on commit 8bfd67f

Please sign in to comment.