🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@vtx/ol-map-mobile

Package Overview
Dependencies
Maintainers
6
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vtx/ol-map-mobile - npm Package Compare versions

Comparing version
2.0.0
to
2.0.1
+1
-1
components/ol-circle/ol-circle.vue

@@ -11,3 +11,3 @@ <template></template>

inject: ['getFeatureLayer', 'getMap'],
props: ['data', 'property', 'styles'],
props: ['data', 'property', 'styles', 'onClick', 'onDoubleClick'],
data() {

@@ -14,0 +14,0 @@ return {

@@ -14,3 +14,3 @@ <template>

name: 'ol-dom',
props: ['data', 'show', 'otherProps'],
props: ['data', 'show', 'otherProps', 'onClick', 'onDoubleClick'],
inject: ['getMap'],

@@ -17,0 +17,0 @@ data() {

@@ -24,2 +24,8 @@ <template></template>

},
onClick: {
type: Function,
},
onDoubleClick: {
type: Function,
},
lineStyle: Object,

@@ -26,0 +32,0 @@ dotStyle: Object,

@@ -28,2 +28,8 @@ <template></template>

},
onClick: {
type: Function,
},
onDoubleClick: {
type: Function,
},
afterGetData: Function,

@@ -30,0 +36,0 @@ show: {

@@ -15,2 +15,8 @@ <template></template>

},
onClick: {
type: Function,
},
onDoubleClick: {
type: Function,
},
},

@@ -17,0 +23,0 @@ data() {

@@ -30,2 +30,8 @@ <template></template>

},
onClick: {
type: Function,
},
onDoubleClick: {
type: Function,
},
group: Array,

@@ -32,0 +38,0 @@ legend: [Object, String, Function],

@@ -338,2 +338,3 @@ <template>

openTemplate(feature) {
let layer = this.mapRef.getLayerByFeature(feature);
if (!layer?.template) {

@@ -343,3 +344,2 @@ return;

this.clickFeature = feature;
let layer = this.mapRef.getLayerByFeature(feature);
const features = feature.get('features');

@@ -553,2 +553,5 @@ if (features && features.length >= 2) {

getLayerByFeature(feature) {
if (!feature) {
return {};
}
return this.mapRef.getAllLayers().find((layer) => {

@@ -555,0 +558,0 @@ let has = false;

@@ -12,3 +12,3 @@ <template></template>

inject: ['getFeatureLayer'],
props: ['data', 'property', 'styles'],
props: ['data', 'property', 'styles', 'onClick', 'onDoubleClick'],
data() {

@@ -15,0 +15,0 @@ return {

@@ -11,3 +11,3 @@ <template></template>

inject: ['getFeatureLayer'],
props: ['data', 'property', 'styles'],
props: ['data', 'property', 'styles', 'onClick', 'onDoubleClick'],
data() {

@@ -14,0 +14,0 @@ return {

@@ -11,3 +11,3 @@ <template></template>

inject: ['getFeatureLayer'],
props: ['data', 'property', 'styles'],
props: ['data', 'property', 'styles', 'onClick', 'onDoubleClick'],
data() {

@@ -14,0 +14,0 @@ return {

@@ -14,2 +14,8 @@ <template></template>

source: Object,
onClick: {
type: Function,
},
onDoubleClick: {
type: Function,
},
},

@@ -16,0 +22,0 @@ data() {

{
"name": "@vtx/ol-map-mobile",
"version": "2.0.0",
"version": "2.0.1",
"description": "uni-app组件库",

@@ -5,0 +5,0 @@ "scripts": {