MapMarker
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.2.0.0)
An observable marker owned by one MapMarkerCollection at a time.
- C#
- VB.NET
public class MapMarker : INotifyPropertyChanged
Public Class MapMarker
Inherits INotifyPropertyChanged
Removing a marker releases ownership. Tag never travels to the browser.
Example:
map.Markers.Add(new MapMarker { Location = new GeoPoint(50.11, 8.68), Text = "Frankfurt", Badge = "41", Tone = ChipTone.Primary });
Constructors
MapMarker()
Initializes a new instance of MapMarker.
Properties
Badge
String: Gets or sets: Optional literal badge beside the label. (Default: "")
Location
GeoPoint: Gets or sets: Geographic marker position in degrees. (Default: 0, 0)
Pulse
Boolean: Gets or sets: Whether the marker pulses, respecting reduced motion. (Default: False)
Tag
Object: Gets or sets: Application data retained only on the server. (Default: null)
Text
String: Gets or sets: Literal marker label. (Default: "")
Tone
ChipTone: Gets or sets: Semantic color of the marker dot. (Default: Primary)
Events
PropertyChanged
PropertyChangedEventHandler Occurs when a marker property changes.