lunnlew / baidu-map Goto Github PK
View Code? Open in Web Editor NEWBaiduMap Vue3 GL Map Component
Home Page: https://lunnlew.github.io/baidu-map/
License: MIT License
BaiduMap Vue3 GL Map Component
Home Page: https://lunnlew.github.io/baidu-map/
License: MIT License
有全景功能吗,没找到相应的组件
bm-ground-overlay
this._config.label.setPoint is not a function
如何在Vite中使用
缺少监听事件
在局部导入的情况下,地图标注失败
<template>
<baidu-map
class="map"
ref="map"
:apiKey="'z7ngXdkrDCY1oFfaFLxyvL6UtiXu0f88'"
:center="point"
:enableMapClick="true"
:enableWheelZoom="true"
:mapType="BMapGLConstant.MapTypeId.BMAP_NORMAL_MAP"
>
<bm-marker :point="point" :show="isShowMaker">
<bm-marker-icon :size="[23, 25]" :anchor="[10, 15]" :imageOffset="[0, 0]"></bm-marker-icon>
</bm-marker>
</baidu-map>
</template>
<script setup>
import { BaiduMap, BMapGLConstant } from "baidu-map-vue3";
import { ref } from "vue";
const point = ref({
lng: 116.403963,
lat: 39.915119,
});
const isShowMaker = ref(true);
const isShowLabel = ref(true);
</script>
<style>
.map {
width: 100%;
height: 500px;
}
</style>
大佬,热力图有考虑加进来吗?
您好 跨域怎么配置呢
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.