@hungpv97/vue-library-map
TypeScript icon, indicating that this package has built-in type declarations

0.0.10 • Public • Published

Vue library map

Vue library map

Install

npm i @hungpv97/vue-library-map
yarn add @hungpv97/vue-library-map

Usage

<template>
  <div id="app">
    <Map locale="vi">
      <BaseMapControl position="bottom-left" />
      <PrintControl />
      <GeoLocateControl />
      <HomeControl />
      <ZoomControl />

      <FullScreenControl />
      <MouseCoordinatesControl />
    </Map>
  </div>
</template>

<script>
/* eslint-disable no-unused-vars */
import {
  FullScreenControl,
  MouseCoordinatesControl,
  ZoomControl,
  HomeControl,
  GeoLocateControl,
  BaseMapControl,
  Map,
  PrintControl
} from "@hungpv97/vue-library-draggable";
import "@hungpv97/vue-library-map/map.css";

export default {
  name: "App",
  components: {
    FullScreenControl,
    MouseCoordinatesControl,
    ZoomControl,
    HomeControl,
    GeoLocateControl,
    BaseMapControl,
    Map,
    PrintControl
  }
};
</script>
<style>
* {
  padding: 0;
  margin: 0;
}

body,
html,
#app {
  height: 100%;
}
</style>

Components

Contributing

Any contribution to the code or any part of the documentation and any idea and/or suggestion are very welcome.

# serve with hot reload at localhost:8080
npm run serve

# distribution build
npm run build

License

MIT license

Readme

Keywords

none

Package Sidebar

Install

npm i @hungpv97/vue-library-map

Weekly Downloads

0

Version

0.0.10

License

MIT

Unpacked Size

5.59 MB

Total Files

176

Last publish

Collaborators

  • hung4564