
Security News
Open Source Maintainers Feeling the Weight of the EU’s Cyber Resilience Act
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
@types/leaflet.awesome-markers
Advanced tools
TypeScript definitions for leaflet.awesome-markers
npm install --save @types/leaflet.awesome-markers
This package contains type definitions for leaflet.awesome-markers (https://github.com/sigma-geosistemas/leaflet.awesome-markers).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/leaflet.awesome-markers.
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
The npm package @types/leaflet.awesome-markers receives a total of 1,035 weekly downloads. As such, @types/leaflet.awesome-markers popularity was classified as 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 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.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.