Big News: Socket Selected for OpenAI's Cybersecurity Grant Program.Details
Socket
Book a DemoSign in
Socket

@basementuniverse/world-locations-map

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@basementuniverse/world-locations-map

Show a list of locations on a world map.

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

World Locations Map

Show a list of locations on a world map.

preview

Installation

npm install @basementuniverse/world-locations-map
yarn add @basementuniverse/world-locations-map

How to use

import { WorldLocationsMap } from '@basementuniverse/world-locations-map';
<WorldLocationsMap
  background="#333"
  foreground="#777"
  locations={[
    {
      lat: 51.4,
      long: -1,
      label: 'UK',
      colour: '#0f0',
      size: 0.05
    },
  ]}
/>

Props

{
  background?: string,
  foreground?: string,
  locations: {
    long: number,
    lat: number,
    label?: string,
    size?: number,
    colour?: string,
  }[],
}

Keywords

world

FAQs

Package last updated on 18 May 2021

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