MarkerLayerComponent
Represents the Kendo UI MarkerLayer component for Angular. Displays data as markers on vector shape layers for marker maps.
@Component({
selector: 'my-app',
template: `
<kendo-map>
<kendo-map-marker-layer
[data]="markerData"
locationField="location"
titleField="title"
shape="pin">
</kendo-map-marker-layer>
</kendo-map>
`
})
export class AppComponent {
public markerData = [
{ location: [40.7128, -74.0060], title: "New York" }
];
}
Selector
kendo-map-marker-layer
Inputs
Name | Type | Default | Description |
---|---|---|---|
data? |
|
Sets the array of data items for this layer. | |
locationField? |
|
Sets the data item field which contains the marker location. The field should be an array with two numbers — latitude and longitude in decimal degrees. | |
shape? |
|
Sets the default marker shape for data-bound markers. Supported marker shapes are | |
titleField? |
|
Sets the data item field which contains the marker title. |
Methods
notifyChanges | ||||||
---|---|---|---|---|---|---|
Updates the component fields with the specified values and refreshes the Chart. Use this method when the configuration values cannot be set through the template. ts
| ||||||
|