You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@types/leaflet.awesome-markers

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/leaflet.awesome-markers

TypeScript definitions for leaflet.awesome-markers

2.0.28
ts4.5
ts4.6
ts4.7
ts4.8
ts4.9
ts5.0
ts5.1
ts5.2
ts5.3
ts5.4
ts5.5
ts5.6
ts5.7
ts5.8
ts5.9
latest
Source
npmnpm
Version published
Weekly downloads
1.3K
-1.19%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install --save @types/leaflet.awesome-markers

Summary

This package contains type definitions for leaflet.awesome-markers (https://github.com/sigma-geosistemas/leaflet.awesome-markers).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/leaflet.awesome-markers.

index.d.ts

import * as Leaflet from "leaflet";

declare module "leaflet" {
    namespace AwesomeMarkers {
        const version: string;

        interface AwesomeMarkersIconOptions extends BaseIconOptions {
            /**
             * Name of the icon. See glyphicons or font-awesome.
             */
            icon?: string | undefined;

            /**
             * Select de icon library. 'fa' for font-awesome or 'glyphicon' for bootstrap 3.
             */
            prefix?: "fa" | "glyphicon" | undefined;

            /**
             * Color of the marker
             */
            markerColor?:
                | "red"
                | "darkred"
                | "orange"
                | "green"
                | "darkgreen"
                | "blue"
                | "purple"
                | "darkpurple"
                | "cadetblue"
                | undefined;

            /**
             * Color of the icon. 'white', 'black' or css code (hex, rgba etc).
             */
            iconColor?: "white" | "black" | string | undefined;

            /**
             * Make the icon spin. true or false. Font-awesome required
             */
            spin?: boolean | undefined;

            /**
             * Additional classes in the created tag
             */
            extraClasses?: string | undefined;
        }

        function icon(options: AwesomeMarkersIconOptions): Icon;

        class Icon extends Leaflet.Icon<AwesomeMarkersIconOptions> {
            constructor(options?: AwesomeMarkersIconOptions);
        }
    }
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 20:08:00 GMT
  • Dependencies: @types/leaflet

Credits

These definitions were written by Marcel Sebek.

FAQs

Package last updated on 07 Nov 2023

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