@types/leaflet.awesome-markers
Advanced tools
Weekly downloads
Readme
npm install --save @types/leaflet.awesome-markers
This package contains type definitions for Leaflet.awesome-markers plugin (https://github.com/sigma-geosistemas/leaflet.awesome-markers).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/leaflet.awesome-markers.
// 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);
}
}
}
These definitions were written by Marcel Sebek.
FAQs
TypeScript definitions for Leaflet.awesome-markers plugin
The npm package @types/leaflet.awesome-markers receives a total of 391 weekly downloads. As such, @types/leaflet.awesome-markers popularity was classified as not popular.
We found that @types/leaflet.awesome-markers demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.