From 1e5b663f3159a43d4a40b70b93164b486c464ffe Mon Sep 17 00:00:00 2001 From: googlemaps-bot Date: Mon, 28 Oct 2024 07:23:06 +0000 Subject: [PATCH] chore(deps-dev): bump @types/google.maps from 3.58.0 to 3.58.1 (#860) Bumps [@types/google.maps](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/google.maps) from 3.58.0 to 3.58.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/google.maps) --- updated-dependencies: - dependency-name: "@types/google.maps" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 7e44d286db255fcbc7e55623f9f091f9a405223f --- classes/MarkerManager.html | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/classes/MarkerManager.html b/classes/MarkerManager.html index fbb8dad0..a3498314 100644 --- a/classes/MarkerManager.html +++ b/classes/MarkerManager.html @@ -1,5 +1,5 @@ MarkerManager | @googlemaps/markermanager

Creates a new MarkerManager that will show/hide markers on a map.

-

Constructors

Constructors

Properties

Methods

addMarker @@ -16,43 +16,43 @@ toggle visible

Constructors

Properties

shown: boolean
shownMarkers: number

Methods

  • Add a single marker to the map.

    +
  • options: Options

Returns MarkerManager

Properties

shown: boolean
shownMarkers: number

Methods

  • Add a single marker to the map.

    Parameters

    • marker: Marker

      The marker to add.

    • minZoom: number

      The minimum zoom level to display the marker.

    • maxZoom: number

      The maximum zoom level to display the marker.

      -

    Returns void

  • Add many markers at once. +

Returns void

  • Add many markers at once. Does not actually update the map, just the internal grid.

    Parameters

    • markers: Marker[]

      The markers to add.

    • minZoom: number

      The minimum zoom level to display the markers.

    • maxZoom: number

      The maximum zoom level to display the markers.

      -

    Returns void

  • Removes all markers in the manager, and +

Returns void

  • Removes all markers in the manager, and removes any visible markers from the map.

    -

    Returns void

  • Returns a marker given latitude, longitude and zoom. If the marker does not +

    Returns void

  • Returns a marker given latitude, longitude and zoom. If the marker does not exist, the method will return a new marker. If a new marker is created, it will NOT be added to the manager.

    Parameters

    • lat: number

      the latitude of a marker.

    • lng: number

      the longitude of a marker.

    • zoom: number

      the zoom level

    Returns Marker

    marker - the marker found at lat and lng

    -
  • Calculates the total number of markers potentially visible at a given +

  • Calculates the total number of markers potentially visible at a given zoom level.

    Parameters

    • zoom: number

      The zoom level to check.

      -

    Returns number

  • Hides the manager if it's currently visible

    -

    Returns void

  • Returns true if the manager is hidden. +

Returns number

  • Hides the manager if it's currently visible

    +

    Returns void

  • Returns true if the manager is hidden. Otherwise returns false.

    Returns boolean

    Hidden

    -
  • Refresh forces the marker-manager into a good state.

    +
  • Refresh forces the marker-manager into a good state.

    1. If never before initialized, shows all the markers.
    2. If previously initialized, removes and re-adds all markers.
    3. -

    Returns void

  • Removes marker from the manager and from the map +

    Returns void

  • Removes marker from the manager and from the map (if it's currently visible).

    Parameters

    • marker: Marker

      The marker to delete.

      -

    Returns void

  • Initializes MarkerManager arrays for all zoom levels +

Returns void

  • Initializes MarkerManager arrays for all zoom levels Called by constructor and by clearAllMarkers

    -

    Returns void

  • Shows the manager if it's currently hidden.

    -

    Returns void

  • Shows the manager if it's currently hidden.

    +

    Returns void

  • Is this layer visible?

    Returns visibility setting

    Returns boolean

    Visible

    -
+