From ce5f8007ea64dd1df1df7b6792da1da4eeea3cf6 Mon Sep 17 00:00:00 2001 From: googlemaps-bot Date: Mon, 6 Dec 2021 07:18:03 +0000 Subject: [PATCH] chore(deps-dev): bump prettier from 2.5.0 to 2.5.1 (#206) Bumps [prettier](https://github.com/prettier/prettier) from 2.5.0 to 2.5.1. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/2.5.0...2.5.1) --- updated-dependencies: - dependency-name: prettier 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> 8152ca6c0c14e99f7106943d25b7bc8e11ab4822 --- classes/MarkerManager.html | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/classes/MarkerManager.html b/classes/MarkerManager.html index fbbdcc17..33b21ca4 100644 --- a/classes/MarkerManager.html +++ b/classes/MarkerManager.html @@ -10,10 +10,10 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

-

Hierarchy

  • MarkerManager

Index

Constructors

constructor

Hierarchy

  • MarkerManager

Index

Constructors

constructor

Properties

shown

shown: boolean

shownMarkers

shownMarkers: number

Methods

addMarker

  • addMarker(marker: Marker, minZoom: number, maxZoom: number): void

Returns MarkerManager

Properties

shown

shown: boolean

shownMarkers

shownMarkers: number

Methods

addMarker

  • addMarker(marker: Marker, minZoom: number, maxZoom: number): void
  • Add a single marker to the map.

    Parameters

    • marker: Marker

      The marker to add.

      @@ -21,7 +21,7 @@

      The minimum zoom level to display the marker.

    • maxZoom: number

      The maximum zoom level to display the marker.

      -

    Returns void

addMarkers

  • addMarkers(markers: Marker[], minZoom: number, maxZoom: number): void

Returns void

addMarkers

  • addMarkers(markers: Marker[], minZoom: number, maxZoom: number): void
  • Add many markers at once. Does not actually update the map, just the internal grid.

    Parameters

    • markers: Marker[]
      @@ -30,10 +30,10 @@

      The minimum zoom level to display the markers.

    • maxZoom: number

      The maximum zoom level to display the markers.

      -

    Returns void

clearMarkers

  • clearMarkers(): void

Returns void

clearMarkers

  • clearMarkers(): void
  • Removes all markers in the manager, and removes any visible markers from the map.

    -

    Returns void

getMarker

  • getMarker(lat: number, lng: number, zoom: number): Marker

getMarker

  • getMarker(lat: number, lng: number, zoom: number): Marker
  • 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.

    @@ -44,35 +44,35 @@
  • zoom: number

    the zoom level

Returns Marker

marker - the marker found at lat and lng

-

getMarkerCount

  • getMarkerCount(zoom: number): number

getMarkerCount

  • getMarkerCount(zoom: number): number
  • Calculates the total number of markers potentially visible at a given zoom level.

    Parameters

    • zoom: number

      The zoom level to check.

      -

    Returns number

hide

  • hide(): void

Returns number

hide

  • hide(): void

isHidden

  • isHidden(): boolean

isHidden

  • isHidden(): boolean
  • Returns true if the manager is hidden. Otherwise returns false.

    Returns boolean

    Hidden

    -

refresh

  • refresh(): void

refresh

  • refresh(): void
  • 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

removeMarker

  • removeMarker(marker: Marker): void

removeMarker

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

    Parameters

    • marker: Marker

      The marker to delete.

      -

    Returns void

resetManager

  • resetManager(): void

Returns void

resetManager

  • resetManager(): void
  • Initializes MarkerManager arrays for all zoom levels Called by constructor and by clearAllMarkers

    -

    Returns void

show

  • show(): void

show

  • show(): void

toggle

  • toggle(): void

toggle

  • toggle(): void

visible

  • visible(): boolean

visible

  • visible(): boolean
  • Is this layer visible?

    Returns visibility setting

    Returns boolean

    Visible