Gathering detailed insights and metrics for google-map-ts-vue3
Gathering detailed insights and metrics for google-map-ts-vue3
Gathering detailed insights and metrics for google-map-ts-vue3
Gathering detailed insights and metrics for google-map-ts-vue3
npm install google-map-ts-vue3
Typescript
Module System
Node Version
NPM Version
Vue (73.92%)
TypeScript (16.28%)
HTML (7.24%)
JavaScript (2.56%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
6 Stars
50 Commits
2 Forks
2 Watchers
6 Branches
1 Contributors
Updated on Jun 20, 2024
Latest Version
1.2.1
Package Id
google-map-ts-vue3@1.2.1
Unpacked Size
46.04 kB
Size
10.62 kB
File Count
15
NPM Version
10.7.0
Node Version
20.14.0
Published on
Jun 13, 2024
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Google Maps component implemented in Vue3.
1<script setup lang="ts"> 2import { GoogleMap } from "google-map-ts-vue3"; 3</script> 4 5<template> 6 <GoogleMap 7 apiKey="your google maps api key" 8 :options="{ 9 center: { lat: 35.1, lng: 135.1 }, 10 zoom: 5, 11 mapId: 'DEMO_MAP_ID' // Map ID is required for advanced markers. 12 }" 13 :markers="[ 14 { 15 position: { lat: 35.1, lng: 135.1 }, 16 title: 'position1' 17 }, 18 { 19 position: { lat: 37.1, lng: 139.1 }, 20 title: 'position2' 21 }, 22 ]" 23 :polylines="[ 24 { 25 path: [ 26 { lat: 35.1, lng: 135.1 }, 27 { lat: 37.1, lng: 139.1 }, 28 ], 29 geodesic: true, 30 strokeColor: '#ff0000', 31 strokeOpacity: 1.0, 32 strokeWeight: 2, 33 }, 34 { 35 path: [ 36 { lat: 38.1, lng: 136.1 }, 37 { lat: 34.1, lng: 135.1 }, 38 { lat: 37.1, lng: 139.1 }, 39 ], 40 geodesic: true, 41 strokeColor: '#ffffff', 42 strokeOpacity: 1.0, 43 strokeWeight: 2, 44 }, 45 ]" 46 :polygons="[ 47 { 48 paths: [ 49 { lat: 30, lng: 140 }, 50 { lat: 31, lng: 141 }, 51 { lat: 30, lng: 145 }, 52 { lat: 33, lng: 140 }, 53 ], 54 strokeColor: '#ff0000', 55 strokeOpacity: 0.8, 56 strokeWeight: 3, 57 fillColor: '#ff0000', 58 fillOpacity: 0.35, 59 }, 60 ]" 61 :circles="[ 62 { 63 strokeColor: '#ff0000', 64 strokeOpacity: 0.8, 65 strokeWeight: 2, 66 fillColor: '#ff0000', 67 fillOpacity: 0.35, 68 center: { lat: 39.1, lng: 140.1 }, 69 radius: 100000, 70 }, 71 ]" 72 :rectangles="[ 73 { 74 strokeColor: '#ff0000', 75 strokeOpacity: 0.8, 76 strokeWeight: 2, 77 fillColor: '#ff0000', 78 fillOpacity: 0.35, 79 bounds: { 80 north: 30, 81 south: 33, 82 east: 133, 83 west: 130, 84 }, 85 }, 86 ]" 87 /> 88</template>
Props | Required | Param Type | Default value | Description |
---|---|---|---|---|
apiKey | TRUE | string | Google Maps API Key | |
scriptLoadingTimeout | FALSE | number | 5000 | Timeout for loading the Google Map script |
libraries | FALSE | string | "marker,geometry,drawing,places" | Libraries to load |
height | FALSE | string | "500px" | The height of Google Maps |
width | FALSE | string | "500px" | The width of Google Maps |
options | TRUE | google.maps.MapOptions | MapOptions object | |
markers | FALSE | google.maps.marker.AdvancedMarkerElementOptions[] | [] | AdvancedMarkerElementOptions object |
polylines | FALSE | google.maps.PolylineOptions[] | [] | PolylineOptions object |
polygons | FALSE | google.maps.PolygonOptions[] | [] | PolygonOptions object |
circles | FALSE | google.maps.CircleOptions[] | [] | CircleOptions object |
rectangles | FALSE | google.maps.RectangleOptions[] | [] | RectangleOptions object |
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
15 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More