Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
react-hotels-on-map
Advanced tools
Presents a set of hotels as clustered markers on Google Map, each with an info window displaying the hotel name
Presents a set of hotels as clustered markers on Google Map, each with an info window displaying the
hotel name. That's a very simple, narrowly specialized component, tailored for hotels. If you need
something more general, take a look at
react-google-maps. Yet another difference from
react-google-maps
is the React 0.13 support: react-google-maps
v4+, which is capable of
clustering map markers, requires React 0.14.
import React from 'react';
import HotelsOnMap from 'hotels-on-map';
const props = {hotels: [{
name: 'Four Seasons Hotel Des Bergues',
geolocation: {latitude: 46.206997, longitude: 6.146922}
}, {
name: 'Hotel Eden',
geolocation: {latitude: 46.22216, longitude: 6.149029}
}/* ... */]};
React.render(
<HotelsOnMap {...props}/>,
global.document.body
);
See that simple example code running live here.
FAQs
Presents a set of hotels as clustered markers on Google Map, each with an info window displaying the hotel summary
The npm package react-hotels-on-map receives a total of 0 weekly downloads. As such, react-hotels-on-map popularity was classified as not popular.
We found that react-hotels-on-map demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.