
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@skymapglobal/geometry-input
Advanced tools
Geometry Input component using Vuetify framework.
Drawer
Geocoding
Upload
Edit
Download
Tools
Settings
Translation using vue-i18n
vue add vuetify
vue add i18n
yarn add @skymapglobal/map-drawer @skymapglobal/geometry-input
<template>
<v-app>
<v-main>
<Map>
<BaseMapControl position="top-right" default-base-map="Dark" />
<MouseCoordinatesControl position="bottom-right" />
<DrawControl>
<!-- Needed this GeometryDrawerMapModule for drawing on Map -->
<GeometryDrawerMapModule />
</DrawControl>
</Map>
<div style="position: absolute; top: 10px; left: 10px; padding: 10px 15px;">
<GeometryInput
v-model="myAOI"
:drawer="geometryInputConfigs.drawer"
:geocoder="geometryInputConfigs.geocoder"
:uploader="geometryInputConfigs.uploader"
:downloader="geometryInputConfigs.downloader"
:transformer="geometryInputConfigs.transformer"
:settings="geometryInputConfigs.settings"
clearable
filled
persistent-tool-box
hide-details
>
<template v-slot:tools>
<v-btn title="Set Sample AOI" icon @click="setSampleAoi">
<v-icon>{{ icons.mdiShapeRectanglePlus }}</v-icon>
</v-btn>
</template>
</GeometryInput>
</div>
</v-main>
</v-app>
</template>
<script>
import {
Map,
BaseMapControl,
MouseCoordinatesControl
} from "@skymapglobal/map";
import { DrawControl } from "@skymapglobal/map-drawer";
import { GeometryInput, GeometryDrawerMapModule } from "@skymapglobal/geometry-input/GeometryInput.vue";
import { mdiShapeRectanglePlus } from "@mdi/js"
export default {
name: "App",
components: {
Map,
BaseMapControl,
GeometryDrawerMapModule,
DrawControl,
MouseCoordinatesControl,
GeometryInput
},
data: () => ({
geometryInputConfigs: {
drawer: {
rectangle: true,
polygon: true,
line: true,
point: true
},
geocoder: {
esri: {},
openStreetMap: {
polygon_geojson: 1 // Get Polygon GeoJson
}
},
uploader: {
accept:
".geojson, .json, .shp, .shx, .dbf, .prj, .cpg, .kml, .kmz, .gpx, .csv, .gml, .wkt"
},
downloader: {
saveTypes: ["geojson", "gpx", "kml", "shapefile", "csv", "gml", "wkt"]
},
transformer: {
simplify: true,
convex: true,
grid: true,
bbox: true
},
settings: {
reverseGeocoder: {
email: "my_email@gmail.com"
}
}
},
icons: {
mdiShapeRectanglePlus
}
})
};
</script>
<template>
<GeometryGeocoderInput :config="geocoderConfig" @change="(geojson) => {}" />
</template>
<script>
import { GeometryGeocoderInput } from "@skymapglobal/geometry-input"
export default {
components: {
GeometryGeocoderInput
}
}
</script>
<template>
<GeometryUploaderDialog
:config="uploaderConfig"
:visible.sync="dialogVisible"
@submit="(geojson) => {}"
/>
</template>
<script>
import { GeometryUploaderDialog } from "@skymapglobal/geometry-input"
export default {
components: {
GeometryUploaderDialog
}
}
</script>
<template>
<GeometryDownloaderDialog
:geojson="geojson"
:config="downloaderConfig"
:visible.sync="dialogVisible"
@submit="() => {}"
/>
</template>
<script>
import { GeometryDownloaderDialog } from "@skymapglobal/geometry-input"
export default {
components: {
GeometryDownloaderDialog
}
}
</script>
NOTE: MUST import GeometryDrawerMapModule and register into the map that want to draw geometry on
More detail configs: https://smeijer.github.io/leaflet-geosearch/#providers
FAQs
Geometry Input component using Vuetify framework.
We found that @skymapglobal/geometry-input demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.