
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
react-easy-google-maps
Advanced tools
A component for react that provides integration with google maps. Install it, put the API key in the component and you're done.
React Easy Google Maps is a React component that facilitates integration with Google Maps. With this component, you can easily add a map to your React application by simply providing the coordinates (latitude and longitude) and a Google Maps API key, without more configuration.
To use the component in your project, install it via npm:
npm install react-easy-google-maps
Or, if you're using yarn:
yarn add react-easy-google-maps
import React from 'react';
import { EasyMap, MapProvider } from 'react-easy-google-maps';
const MyComponent = () => {
const apiKey = "SUA_GOOGLE_MAPS_API_KEY"; // Substitua pela sua chave de API
const lat = -23.55052; // Exemplo de latitude
const lon = -46.633308; // Exemplo de longitude
return (
<MapProvider api_key={apiKey}>
<EasyMap lat={lat} lon={lon} />
</MapProvider>
);
};
export default MyComponent;
I'm developer
FAQs
A component for react that provides integration with google maps. Install it, put the API key in the component and you're done.
The npm package react-easy-google-maps receives a total of 0 weekly downloads. As such, react-easy-google-maps popularity was classified as not popular.
We found that react-easy-google-maps demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.