Files
zhibo/node_modules/ele-admin/es/ele-map-picker/components/props.js
T
xiaoyu 5488f5f0a2 init
2023-05-22 14:07:59 +08:00

65 lines
1.0 KiB
JavaScript

const props = {
height: {
type: String,
default: "450px"
},
center: Array,
zoom: {
type: Number,
default: 11
},
chooseZoom: {
type: Number,
default: 17
},
poiSize: {
type: Number,
default: 30
},
poiType: {
type: String,
default: ""
},
poiKeywords: {
type: String,
default: ""
},
poiRadius: {
type: Number,
default: 1e3
},
needCity: Boolean,
forceChoose: {
type: Boolean,
default: true
},
suggestionCity: {
type: String,
default: "\u5168\u56FD"
},
searchType: {
type: Number,
default: 0,
validator: (value) => {
return [0, 1].includes(value);
}
},
searchPlaceholder: String,
markerSrc: {
type: String,
default: "https://3gimg.qq.com/lightmap/components/locationPicker2/image/marker.png"
},
mapKey: String,
mapVersion: {
type: String,
default: "2.0"
},
mapStyle: String,
darkMode: Boolean,
okText: String,
tipMessage: String
};
export {
props as default
};