Nine Pedestrians Mesmerized

    image-map-tiles

    1.0.0 • Public • Published

    ImageMapTiles

    Node Module to convert large Images into tiles for use with JS map rendering libraries.

    Installation

    npm i image-map-tiles -S

    Usage

    const imageMapTiles = require('image-map-tiles');
    
    var options = {
        'outputDir': 'path/to/output',
        'zoom': 5,
        'tileHeight': 256,
        'tileWidth': 256
    }
    
    imageMapTiles('path/to/image', options );
    

    Implementing Tiles

    https://developers.google.com/maps/documentation/javascript/examples/maptype-image

    Keywords

    none

    Install

    npm i image-map-tiles

    DownloadsWeekly Downloads

    4

    Version

    1.0.0

    License

    ISC

    Last publish

    Collaborators

    • mcooke88