Socket
Book a DemoInstallSign in
Socket

@react-mapboxgl/hover

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-mapboxgl/hover

Hover component for @react-mapboxgl

2.1.6
latest
Source
npmnpm
Version published
Maintainers
2
Created
Source

@react-mapboxgl/hover

The Hover component binds listeners for the appropriate map and layer events, and tracks changes in the 'hovering' status of features in a layer. You can either handle hover changes with the onHoverOver and onHoverOut props or pass a function as the children who will be updated with {features, properties}, where features is an array of hovered features, and properties is an array containing the unique property values of the hovered layers (useful shortcut for filters).

Usage

For an example usage, see the storybook.

Developed by TerraEclipse

Terra Eclipse, Inc. is a nationally recognized political technology and strategy firm located in Santa Cruz, CA and Washington, D.C.

Keywords

react-component

FAQs

Package last updated on 22 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.