@types/leaflet.awesome-markers
Advanced tools
Comparing version 2.0.22 to 2.0.23
@@ -1,51 +0,51 @@ | ||
// Type definitions for Leaflet.awesome-markers plugin v2.0 | ||
// Type definitions for Leaflet.awesome-markers plugin 2.0 | ||
// Project: https://github.com/sigma-geosistemas/Leaflet.awesome-markers#properties | ||
// Definitions by: Marcel Sebek <https://github.com/sebek64> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.3 | ||
import * as Leaflet from "leaflet"; | ||
declare global { namespace L { | ||
module AwesomeMarkers { | ||
var version: string; | ||
declare module 'leaflet' { | ||
namespace AwesomeMarkers { | ||
const version: string; | ||
function icon(options: AwesomeMarkers.IconOptions): AwesomeMarkers.Icon; | ||
class Icon extends Leaflet.BaseIcon { | ||
constructor(options?: AwesomeMarkers.IconOptions); | ||
options: AwesomeMarkers.IconOptions; | ||
} | ||
interface IconOptions extends Leaflet.BaseIconOptions { | ||
interface AwesomeMarkersIconOptions extends BaseIconOptions { | ||
/** | ||
* Name of the icon. See glyphicons or font-awesome. | ||
*/ | ||
* Name of the icon. See glyphicons or font-awesome. | ||
*/ | ||
icon?: string; | ||
/** | ||
* Select de icon library. 'fa' for font-awesome or 'glyphicon' for bootstrap 3. | ||
*/ | ||
* Select de icon library. 'fa' for font-awesome or 'glyphicon' for bootstrap 3. | ||
*/ | ||
prefix?: 'fa' | 'glyphicon'; | ||
/** | ||
* Color of the marker | ||
*/ | ||
* Color of the marker | ||
*/ | ||
markerColor?: 'red' | 'darkred' | 'orange' | 'green' | 'darkgreen' | 'blue' | 'purple' | 'darkpurple' | 'cadetblue'; | ||
/** | ||
* Color of the icon. 'white', 'black' or css code (hex, rgba etc). | ||
*/ | ||
* Color of the icon. 'white', 'black' or css code (hex, rgba etc). | ||
*/ | ||
iconColor?: 'white' | 'black' | string; | ||
/** | ||
* Make the icon spin. true or false. Font-awesome required | ||
*/ | ||
* Make the icon spin. true or false. Font-awesome required | ||
*/ | ||
spin?: boolean; | ||
/** | ||
* Additional classes in the created tag | ||
*/ | ||
* Additional classes in the created tag | ||
*/ | ||
extraClasses?: string; | ||
} | ||
function icon(options: AwesomeMarkersIconOptions): Icon; | ||
class Icon extends Leaflet.Icon<AwesomeMarkersIconOptions> { | ||
constructor(options?: AwesomeMarkersIconOptions); | ||
} | ||
} | ||
} } | ||
} |
{ | ||
"name": "@types/leaflet.awesome-markers", | ||
"version": "2.0.22", | ||
"version": "2.0.23", | ||
"description": "TypeScript definitions for Leaflet.awesome-markers plugin", | ||
@@ -9,3 +9,4 @@ "license": "MIT", | ||
"name": "Marcel Sebek", | ||
"url": "https://github.com/sebek64" | ||
"url": "https://github.com/sebek64", | ||
"githubUsername": "sebek64" | ||
} | ||
@@ -22,5 +23,4 @@ ], | ||
}, | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "4cc6945d84740cccde4a8eb8db597eebc89bf238747f258d821a62bc36cadef0", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "5c42ef9c3dad61b736be9bf4c776948102c68269e97abc01bdd215e412d5e4c8", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 02 Jun 2017 17:03:32 GMT | ||
* Last updated: Tue, 29 Aug 2017 21:31:37 GMT | ||
* Dependencies: leaflet | ||
@@ -14,0 +14,0 @@ * Global values: none |
Sorry, the diff of this file is not supported yet
4074