Class MarkerManager
Marker manager is an interface between the map and the user, designed to manage adding and removing many points when the viewport changes. https://github.com/googlemaps/v3-utility-library/tree/master/markermanager
Inheritance
Inherited Members
Namespace:GoogleMaps.Markers
Assembly:GoogleMaps.dll
Syntax
public class MarkerManager : IScriptDescriptorData
Properties
BorderPadding
Specifies, in pixels, the extra padding outside the map's current viewport monitored by a manager. Markers that fall within this padding are added to the map, even if they are not fully visible.
Declaration
public int BorderPadding { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MaxZoom
Sets the maximum zoom level monitored by a marker manager.If not given, the manager assumes the maximum map zoom . This value is also used when markers are added to the manager without the optional { @link maxZoom} parameter.
Declaration
public int MaxZoom { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
TrackMarkers
Indicates whether or not a marker manager should track markers' movements. If you wish to move managed markers using the {@link setPoint}/{@link setLatLng} methods, this option should be set to {@link true}.
Declaration
public bool TrackMarkers { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
ToScriptData()
Declaration
public IDictionary<string, object> ToScriptData()
Returns
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> |