0.9.0 • Published 4 years ago

limapper v0.9.0

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

Leaflet Image Mapper

Image Hotspot Mapper with leaflet and pure javascript. BootstrapCss and Vuejs use in demo simplify template and styling.

You can use tools like Vuejs to render imagemap to the UI and/or ImageMapster to provide user friendly interaction.

Features

  • Render image on leaflet with zoom and pan capability.
  • Allow for rectangle image mapping.
  • Allow for getting mapped items with pixel coordinates.
  • Enable item lock.

To run

Reference image mapper js file.

import 'leaflet-contextmenu/dist/leaflet.contextmenu.css'
const limapper = new Limapper();
limapper.init({ 
    elid: 'map', 
    imageUrl: '319-various-call-center-women-pv.jpg', 
    imageWidth: 958, 
    imageHeight: 737
  });

debug locally with:

npm run dev

build with:

npm run build

MIT

0.9.0

4 years ago

0.8.1

4 years ago

0.8.0

4 years ago

0.7.9

4 years ago

0.7.8

4 years ago

0.7.7

4 years ago

0.7.6

4 years ago

0.7.5

4 years ago

0.7.3

4 years ago

0.7.2

4 years ago

0.7.1

4 years ago

0.7.0

4 years ago

0.5.0

4 years ago

0.3.0

4 years ago