Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

@types/leaflet.awesome-markers

Package Overview
Dependencies
1
Maintainers
1
Versions
21
Issues
File Explorer

Advanced tools

@types/leaflet.awesome-markers

TypeScript definitions for Leaflet.awesome-markers plugin

    2.0.25ts3.6ts3.7ts3.8ts3.9ts4.0ts4.1ts4.2ts4.3ts4.4ts4.5ts4.6ts4.7ts4.8ts4.9ts5.0ts5.1latest
    GitHub

Version published
Maintainers
1
Weekly downloads
455
decreased by-30.21%

Weekly downloads

Readme

Source

Installation

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

Summary

This package contains type definitions for Leaflet.awesome-markers plugin (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

// Type definitions for Leaflet.awesome-markers plugin 2.0 // Project: https://github.com/sigma-geosistemas/leaflet.awesome-markers // Definitions by: Marcel Sebek <https://github.com/sebek64> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 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: Thu, 08 Jul 2021 16:23:37 GMT
  • Dependencies: @types/leaflet
  • Global values: none

Credits

These definitions were written by Marcel Sebek.

FAQs

Last updated on 08 Jul 2021

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc