🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

manhattan-maps

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

manhattan-maps

Display maps and map fields using Leaflet.

latest
Source
npmnpm
Version
1.0.11
Version published
Weekly downloads
8
-46.67%
Maintainers
1
Weekly downloads
 
Created
Source

Manhattan Maps

Display maps and map fields using Leaflet.

npm version Build Status Coverage Status dependencies status

Installation

npm install manhattan-maps --save-dev

Usage

<div
    data-mh-map-view
    data-mh-map-view--dragging
    data-mh-map-view--scroll-wheel-zoom
    data-mh-map-view--home="fit-markers"
    data-mh-map-view--group-padding="100,100"
    data-mh-map-view--popup="content"
    class="map-view"
    ></div>
<datalist>
    <option
        data-mh-map-marker
        data-mh-map-marker--coords="52.056398,-2.715974"
        value="Hereford"
        >
        Hereford
    </option>
    <option
        data-mh-map-marker
        data-mh-map-marker--coords="52.193636,-2.221575"
        value="Worcester"
        >
        Worcester
    </option>
</datalist>
import * as $ from 'manhattan-essentials'
import {mapView} from 'manhattan-maps'

const m = new mapView.MapView($.one('[data-mh-map-view]'))
m.init()

Keywords

manhattan

FAQs

Package last updated on 19 Aug 2022

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