当前位置:网站首页>Wechat applet map displays the current position with annotation
Wechat applet map displays the current position with annotation
2022-06-27 18:23:00 【When you're lonely, the dog stays with you】
wxml page
<view style="width: 100%;height:100%;background-color: blueviolet;" >
<map latitude='30.87108503391971' markers="{
{markers}}" longitude="121.6955975169598" covers="{
{covers}}"
show-location style="width: 100%;height:1440rpx;">
</map>
</view>
js page
// pages/map/map.js
Page({
/**
* Initial data of the page
*/
data: {
markers: [{
id: 1,
latitude: '30.87108503391971',
longitude:'121.6955975169598',
}],
},
})
边栏推荐
- (POJ - 1847) tram (shortest circuit)
- Leetcode 5. Longest Palindromic Substring
- d3dx9_ How to repair 32.dll? d3dx9_ Solution to 32.dll missing
- Oracle的NUMBER长度超过19之后,实体使用Long映射,导致出现问题是为什么?
- 【多线程】线程通信调度、等待集 wait() 、notify()
- d3dx9_ What if 27.dll is lost? d3dx9_ How to repair 27.dll?
- Detailed explanation of various GPIO input and output modes (push-pull, open drain, quasi bidirectional port)
- Ping An technology's practice of migrating from Oracle to ubisql
- Unity 阴影——阴影平坠(Shadow pancaking)
- 写在eclipse里面,与数据库连接查询之后的问题
猜你喜欢
建立自己的网站(10)
Wanzhou gold industry: what knowledge points do you need to master to invest in precious metals?
LeetCode 124. Binary tree maximum path sum - binary tree series question 8
当发布/订阅模式遇上.NET
d3dx9_ How to repair 33.dll? d3dx9_ What if 33.dll is lost?
2022 Liaoning latest fire facility operator simulation test question bank and answers
leetcode 19. Delete the penultimate node of the linked list
Anfulai embedded weekly report (issue 252): February 7, 2022 to February 13, 2022
Simulated process scheduling
Bit.Store:熊市漫漫,稳定Staking产品或成主旋律
随机推荐
JXL export Excel
Kubernetes基础自学系列 | Ingress API讲解
[multithreading] thread communication scheduling, waiting set wait(), notify()
After the number length of Oracle exceeds 19, the entity uses long mapping. Why does this cause problems?
[qt learning notes]qt uses MFC compilation to generate DLL libraries. The problem that DLL cannot be loaded occurs on computers without programming environment
Oracle concept 3
2022 Liaoning's latest eight members (Safety Officer) simulated test question bank and answers
Simulated process scheduling
当发布/订阅模式遇上.NET
Oracle concept II
GAC Mitsubishi's new outlander made its first domestic debut in the year, and its product strength was fully renewed
电子智慧套装教程
leetcode 70. climb stairs
Jeesite 4.0 replaces the default view style and customizes the theme
DOM object in JS
How much room does Migu video have for development without relying on sports events?
[UVM foundation] UVM_ Is in agent_ Active variable definition
[UVM basics] UVM tree organizational structure
New products, new personnel and new services, Infiniti will continue to plough into China's future!
Under the influence of external factors, how to manage internal resources and reduce costs is the key