New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@skymapglobal/map-printer

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

@skymapglobal/map-printer

## Install

latest
npmnpm
Version
1.0.12
Version published
Maintainers
1
Created
Source

Skymap Map - Map Printer Control

Install

yarn add @skymapglobal/map-printer

Usage

NOTE: MUST set preserveDrawingBuffer = true for printing function

<template>
  <Map :init-options="initOptions">
    <BaseMapControl position="top-right" />

    <MapPrinterControl position="top-right" />
  </Map>
</template>

<script>
import { Map, BaseMapControl } from "@skymapglobal/map";
import { MapPrinterControl } from "@skymapglobal/map";

export default {
  components: {
    Map,
    BaseMapControl,
    MapPrinterControl
  },

  data: () => ({
    initOptions: {
      center: [75.02861351131037, 20.27995156503087],
      zoom: 2.0538984656017196,
      maxZoom: 22,
      attributionControl: false,
      zoomControl: false,
      preserveDrawingBuffer: true // MUST set to true for map printer
    }
  })
};
</script>

FAQs

Package last updated on 06 Oct 2021

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