Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backgroundColor 设置无效 如何设置地图主题呢? #119

Closed
gedaaxiba opened this issue Dec 19, 2024 · 0 comments
Closed

backgroundColor 设置无效 如何设置地图主题呢? #119

gedaaxiba opened this issue Dec 19, 2024 · 0 comments

Comments

@gedaaxiba
Copy link

`

普通地图 卫星地图 地球模式 定位中..
<script lang="ts" setup> import { ref } from 'vue' import { BMap, BZoom, BScale, BCityList, BNavigation3d, BControl, BCircle, BMarker, useBrowserLocation, type MapType } from 'vue3-baidu-map-gl' import LocationIcon from './LocationIcon.vue' const map = ref() const { get, location, isLoading, isError, status } = useBrowserLocation(null, () => { map.value.resetCenter() }) const mapType = ref('BMAP_NORMAL_MAP') </script> <style> body { margin: 0; } .location-btn { border: none; font-size: 12px; } .custom-control { border-radius: 4px; display: flex; color: #666666; background-color: #fff; padding: 6px; cursor: pointer; box-shadow: rgb(0 0 0 / 15%) 1px 2px 1px; } .select { font-size: 12px; color: #666666; outline: none; border-radius: 6px; padding: 1px 10px; border: none; } </style>

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant