Angular v19
This commit is contained in:
@@ -3,8 +3,9 @@ import { Circle, Fill, Stroke } from 'ol/style';
|
||||
import { StyleComponent } from './style.component';
|
||||
|
||||
@Component({
|
||||
selector: 'aol-style-circle',
|
||||
template: ` <ng-content></ng-content> `,
|
||||
selector: 'aol-style-circle',
|
||||
template: ` <ng-content></ng-content> `,
|
||||
standalone: false
|
||||
})
|
||||
export class StyleCircleComponent implements AfterContentInit, OnChanges, OnDestroy {
|
||||
@Input()
|
||||
|
||||
@@ -7,8 +7,9 @@ import { Color } from 'ol/color';
|
||||
import { ColorLike } from 'ol/colorlike';
|
||||
|
||||
@Component({
|
||||
selector: 'aol-style-fill',
|
||||
template: ` <div class="aol-style-fill"></div> `,
|
||||
selector: 'aol-style-fill',
|
||||
template: ` <div class="aol-style-fill"></div> `,
|
||||
standalone: false
|
||||
})
|
||||
export class StyleFillComponent implements OnInit, OnChanges {
|
||||
@Input()
|
||||
|
||||
@@ -8,8 +8,9 @@ import { StyleComponent } from './style.component';
|
||||
import { IconAnchorUnits, IconOrigin } from 'ol/style/Icon';
|
||||
|
||||
@Component({
|
||||
selector: 'aol-style-icon',
|
||||
template: ` <div class="aol-style-icon"></div> `,
|
||||
selector: 'aol-style-icon',
|
||||
template: ` <div class="aol-style-icon"></div> `,
|
||||
standalone: false
|
||||
})
|
||||
export class StyleIconComponent implements OnInit, OnChanges {
|
||||
@Input()
|
||||
|
||||
@@ -7,8 +7,9 @@ import { Color } from 'ol/color';
|
||||
import { ColorLike } from 'ol/colorlike';
|
||||
|
||||
@Component({
|
||||
selector: 'aol-style-stroke',
|
||||
template: ` <div class="aol-style-stroke"></div> `,
|
||||
selector: 'aol-style-stroke',
|
||||
template: ` <div class="aol-style-stroke"></div> `,
|
||||
standalone: false
|
||||
})
|
||||
export class StyleStrokeComponent implements OnInit, OnChanges {
|
||||
@Input()
|
||||
|
||||
@@ -6,8 +6,9 @@ import { LayerVectorComponent } from '../layers/layervector.component';
|
||||
import { GeometryFunction } from 'ol/style/Style';
|
||||
|
||||
@Component({
|
||||
selector: 'aol-style',
|
||||
template: ` <ng-content></ng-content> `,
|
||||
selector: 'aol-style',
|
||||
template: ` <ng-content></ng-content> `,
|
||||
standalone: false
|
||||
})
|
||||
export class StyleComponent implements OnInit {
|
||||
@Input()
|
||||
|
||||
@@ -3,8 +3,9 @@ import { Text } from 'ol/style';
|
||||
import { StyleComponent } from './style.component';
|
||||
|
||||
@Component({
|
||||
selector: 'aol-style-text',
|
||||
template: ` <div class="aol-style-text"></div> `,
|
||||
selector: 'aol-style-text',
|
||||
template: ` <div class="aol-style-text"></div> `,
|
||||
standalone: false
|
||||
})
|
||||
export class StyleTextComponent implements OnInit, OnChanges {
|
||||
@Input()
|
||||
|
||||
Reference in New Issue
Block a user