You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@types/leaflet-mouse-position

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/leaflet-mouse-position

TypeScript definitions for leaflet-mouse-position


Version published
Weekly downloads
521
decreased by-21.06%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Installation

npm install --save @types/leaflet-mouse-position

Summary

This package contains type definitions for leaflet-mouse-position (https://github.com/danwild/Leaflet.MousePosition).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/leaflet-mouse-position.

index.d.ts

import { Control as LControl, ControlOptions } from "leaflet";

declare module "leaflet" {
    interface MapOptions {
        positionControl?: boolean | undefined;
    }

    namespace control {
        function mousePosition(options?: Control.MousePositionControlOptions): Control.MousePosition;
    }

    namespace Control {
        interface MousePositionControlOptions extends ControlOptions {
            separator?: string | undefined;
            emptyString?: string | undefined;
            lngFirst?: boolean | undefined;
            numDigits?: number | undefined;
            lngFormatter?: ((lng: number) => string) | undefined;
            latFormatter?: ((lat: number) => string) | undefined;
            formatter?: ((lng: number, lat: number) => string) | undefined;
            prefix?: string | undefined;
            wrapLng?: boolean | undefined;
        }

        class MousePosition extends LControl {
            options: MousePositionControlOptions;

            constructor(options?: MousePositionControlOptions);
        }
    }
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:38 GMT
  • Dependencies: @types/leaflet

Credits

These definitions were written by Hanyon, and Håkon.

FAQs

Package last updated on 07 Nov 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc