@progress/kendo-angular-map
Version:
Kendo UI Map for Angular
30 lines (29 loc) • 930 B
JavaScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { PreventableEvent } from './preventable-event';
/**
* Arguments for the `markerCreated` event.
* Fires once the map has created a marker, and just before the map displays it.
*
* Cancelling the event prevents displaying the marker.
*/
export class MarkerCreatedEvent extends PreventableEvent {
/**
* The marker instance.
*/
marker;
/**
* The marker layer instance.
*/
layer;
/**
* @hidden
*/
constructor(e, sender) {
super(sender);
this.marker = e.marker;
this.layer = e.layer;
}
}