sample-sdk-11
v1.0.8-beta
Published
``` npm i sample-sdk-11 ```
Downloads
3
Readme
sample-sdk
Install with npm
npm i sample-sdk-11
Install with yarn
yarn add sample-sdk-11
Basic usage
<template>
<div id="app">
<div id="map" class="map"></div>
<form class="form-inline">
<label for="type">Geometry type: </label>
<select class="form-control mr-2 mb-2 mt-2" id="type">
<option value="Point">Point</option>
<option value="LineString">LineString</option>
<option value="Polygon">Polygon</option>
<option value="Circle">Circle</option>
<option value="None">None</option>
</select>
<input class="form-control mr-2 mb-2 mt-2" type="button" value="Undo" id="undo">
</form>
</div>
</template>
<script>
import { layerSDK } from 'sample-sdk-11'
export default {
name: 'App',
mounted() {
layerSDK();
},
}
</script>
<style>
.map {
width: 100%;
height: 400px;
}
</style>