npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@licuido-ui/ui_map

v0.0.2

Published

Map - which is related to googlemap ,we can customize the routes, direction and places but google api key is must !

Readme

Map

Map - which is related to googlemap ,we can customize the routes, direction and places but google api key is must !

Author

Link

Story Book Link Map

PlayGround

Try it have a fun codeBox

Installation

npm i @licuido-ui/ui_map

Import component

import { Map } from '@licuido-ui/ui_map';

Usage

You can pass the location (Latitude and Longitude) for finding the places

<Map
  googleMapApiKey=''
  location={[
    {
      name: 'Adayar',
      location: {
        lat: 13.003387,
        lng: 80.255043,
      },
      address: 'Adyar is a large neighbourhood in south Chennai, Tamil Nadu, India',
      image: './assets/adayar.jpg',
      pinnedIcon: './assets/pinned.svg',
    },
  ]}
  locations={locations}
  center={{
    lat: 12.956786921292327,
    lng: 80.25718652012615,
  }}
 
/>

Image

alt text

Map width Route

googleMapApiKey - googleMapApiKey is must for Routes!

You can pass the origin (start) and destination (end) to find the Route Direction

<Map
   start={ lat: 13.003387, lng: 80.255043 }
   end= { lat: 12.95790649960084, lng: 80.26010930368109 }/>

Samplecode

<Map
   googleMapApiKey=''
  location={[
    {
      name: 'Adayar',
      location: {
        lat: 13.003387,
        lng: 80.255043,
      },
      address: 'Adyar is a large neighbourhood in sout Chennai, Tamil Nadu, India',
      image: './assets/adayar.jpg',
      pinnedIcon: './assets/pinned.svg',
    },
  ]}
  locations={locations}
  center={{
    lat: 12.956786921292327,
    lng: 80.25718652012615,
  }}
  start= { lat: 13.003387, lng: 80.255043 }
  end= { lat: 12.95790649960084, lng: 80.26010930368109 }
  mapStyles= {
      height: '100%',
      width: '100%',
    }
  RadiusStyle={{}}
  markerLabelStyle= {{}}
  calculatebtnStyle={{}}
  mapRadiusIcon=''
  radiusDistance={1200000000}
  zoom={13}
  isSearchRequired={false}
  setDefaultRoute={false}
  fullscreenControl
  mapTypeControl={false}
  onMarkerClick={()=>onMarkerClick()}
  onMarkerMouseOver={()=>onMarkerMouseOver()}
  onClearRoute={()=>onClearRoute()}
  onCalculateRoutes={()=>onCalculateRoutes()}
  onMarkerClustererClick={()=>onMarkerClustererClick()}
  onMarkerMouseOut= {()=>onMarkerMouseOut()}
/>

Props

| Name | Description | Default | Control | | ------------------------------ | -------------------------- | ----------------------------------- | ------------------------------------------------------------------ | | mapStyles | object | { height: '100%', width: '100%' } | mapStyles : {height : "100%"width : "100%"} | | RadiusStyle | object | { } | RadiusStyle : {} | | markerLabelStyle | object | { } | markerLabelStyle : {} | | calculatebtnStyle | SxProps<{}> | - | calculatebtnStyle : {} | | googleMapApiKey | string | "" | | zoom | number | 13 | | mapRadiusIcon | string | "./assets/mapCircle.png" | ./assets/mapCircle.png | | radiusDistance | number | 1200000000 | | isSearchRequired | boolean | true | FalseTrue | | deatilsCardCustomize | ReactNode | - | "Customize Card" | | locations | locationsData[] | [] | locations : [0 : {...} 5 keys] | | center | any | - | center : {lat : ""lng : ""} | | origin | latLAng | { lat: 0, lng: 0 } | origin : {lat : 13.003387lng : 80.255043} | | destination | latLAng | { lat: 0, lng: 0 } | destination : {lat : 12.95790649960084lng : 80.26010930368109} | | setDefaultRoute | boolean | true | FalseTrue | | fullscreenControl | boolean | true | FalseTrue | | searchBoxRootsx | SxProps<{}> | - | searchBoxRootsx : {} | | zoomControl | boolean | true | FalseTrue | | streetViewControl | boolean | true | FalseTrue | | mapTypeControl | boolean | true | FalseTrue | | onClearRoute | () => void | () => false | ()=>onClearRoute() | | onCalculateRoutes | (data: any) => void | () => false | ()=>onCalculateRoutes() | | onMarkerMouseOver | (marker: any) => void | () => false | ()=>onMarkerMouseOver() | | onMarkerClustererClick | (e: unknown) => void | () => false | ()=>onMarkerClustererClick() | | onMarkerClick | (data: any) => void | () => false | ()=>onMarkerClick() | | onMarkerMouseOut | () => void | () => false | ()=>onMarkerMouseOut() | | className | string | - | Set string | | sx | SxProps<Theme> | - | Set object | | responsiveDetailsCustomize | ReactNode | - | Set object | | deatilsCardCustomizes | boolean | - | Set boolean | | customCardLocation | any | - | Set object |