Socket
Socket
Sign inDemoInstall

@types/leaflet.awesome-markers

Package Overview
Dependencies
2
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.24 to 2.0.25

12

leaflet.awesome-markers/index.d.ts

@@ -17,3 +17,3 @@ // Type definitions for Leaflet.awesome-markers plugin 2.0

*/
icon?: string;
icon?: string | undefined;

@@ -23,3 +23,3 @@ /**

*/
prefix?: 'fa' | 'glyphicon';
prefix?: 'fa' | 'glyphicon' | undefined;

@@ -29,3 +29,3 @@ /**

*/
markerColor?: 'red' | 'darkred' | 'orange' | 'green' | 'darkgreen' | 'blue' | 'purple' | 'darkpurple' | 'cadetblue';
markerColor?: 'red' | 'darkred' | 'orange' | 'green' | 'darkgreen' | 'blue' | 'purple' | 'darkpurple' | 'cadetblue' | undefined;

@@ -35,3 +35,3 @@ /**

*/
iconColor?: 'white' | 'black' | string;
iconColor?: 'white' | 'black' | string | undefined;

@@ -41,3 +41,3 @@ /**

*/
spin?: boolean;
spin?: boolean | undefined;

@@ -47,3 +47,3 @@ /**

*/
extraClasses?: string;
extraClasses?: string | undefined;
}

@@ -50,0 +50,0 @@

{
"name": "@types/leaflet.awesome-markers",
"version": "2.0.24",
"version": "2.0.25",
"description": "TypeScript definitions for Leaflet.awesome-markers plugin",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/leaflet.awesome-markers",
"license": "MIT",

@@ -14,6 +15,7 @@ "contributors": [

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/leaflet.awesome-markers"
},

@@ -24,4 +26,4 @@ "scripts": {},

},
"typesPublisherContentHash": "cf982c47c4fbdb86c3ea3ac78cd66628595f2f59fc8f2d03dfa9f879037c0dba",
"typeScriptVersion": "2.3"
"typesPublisherContentHash": "4de2bf13a39b3b092e5ad926b51cb905b8c1adbaff497f85eb40cfb3877408fe",
"typeScriptVersion": "3.6"
}

@@ -5,13 +5,68 @@ # Installation

# Summary
This package contains type definitions for Leaflet.awesome-markers plugin ( https://github.com/sigma-geosistemas/leaflet.awesome-markers ).
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
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/leaflet.awesome-markers.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/leaflet.awesome-markers/index.d.ts)
````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
Additional Details
* Last updated: Wed, 13 Feb 2019 18:42:18 GMT
* Dependencies: @types/leaflet
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](https://npmjs.com/package/@types/leaflet)
* Global values: none
# Credits
These definitions were written by Marcel Sebek <https://github.com/sebek64>.
These definitions were written by [Marcel Sebek](https://github.com/sebek64).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • 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