tencentlbs / tencentmapminiprogramdemo Goto Github PK
View Code? Open in Web Editor NEW微信小程序-地图示例
微信小程序-地图示例
咋运行啊,HBuilderX显示不能运行这种文件
RT, 确认选点后的回调事件是什么,文档里没说明,示例代码里也找不到。
谢谢。
如题
bug:
绝大多数页面提示: has not been registered yet
推测原因:
“event”应该是与微信的保留字段冲突.
所以 pages/map/event/event 无法渲染.
而且在 app.json 内 pages/map/event/event 之下注册的所有页面都被这个页面卡住了.
解决方法:
在 app.json 中 把 “绝大多数页面提示: has not been registered yet” 拖到最后去
默认的弹出气泡只能放文字,不能满足复杂点的业务需求。希望能给出个定制气泡的例子。customCallout能解决这个的吗?
能否支持繁体,增加繁体展示或者英文,多语言版本切换
微信开发者工具:1.03
源代码commit号:7d169e96657dc156eae1d697421b64896b655cf7
所需插件已经安装
打开源代码编译即报错:
无效的 app.json
Error: key值不能为空
devtoolsconfig.js?t=wechat&s=1612223857716&v=7874b848990465bbcdadbee702a24d44:3 无效的 app.json ["servicemarket"]
(anonymous) @ devtoolsconfig.js?t=wechat&s=1612223857716&v=7874b848990465bbcdadbee702a24d44:3
VM91:210 页面【pages/map/event/event]错误:
Error: key值不能为空
at new QQMapWX (qqmap-wx-jssdk.min.js? [sm]:1)
at event.js? [sm]:6
at require (VM42 WAService.js:2)
at <anonymous>:207:9
at doWhenAllScriptLoaded (<anonymous>:470:21)
at Object.scriptLoaded (<anonymous>:490:5)
at Object.<anonymous> (<anonymous>:515:22)
(anonymous) @ VM91:210
doWhenAllScriptLoaded @ VM51:470
scriptLoaded @ VM51:490
(anonymous) @ VM51:515
Promise.then (async)
(anonymous) @ VM51:541
(anonymous) @ VM51:545
loadScripts @ assubloader.js:1
async function (async)
loadScripts @ assubloader.js:1
loadAppResourceScripts @ assubloader.js:1
(anonymous) @ instanceframe?s=1612223868936&autoload:7
VM42 WAService.js:2 MiniProgramError
key值不能为空
Error: key值不能为空
at new QQMapWX (http://127.0.0.1:36736/appservice/utils/qqmap-wx-jssdk.min.js:240:13)
at http://127.0.0.1:36736/appservice/pages/map/event/event.js:7:16
at require (http://127.0.0.1:36736/appservice/__dev__/WAService.js?t=wechat&s=1612223857716&v=2.14.0:2:3253998)
at <anonymous>:207:9
at doWhenAllScriptLoaded (<anonymous>:470:21)
at Object.scriptLoaded (<anonymous>:490:5)
at Object.<anonymous> (<anonymous>:515:22)
errorReport @ VM42 WAService.js:2
thirdErrorReport @ VM42 WAService.js:2
(anonymous) @ VM42 WAService.js:2
u @ VM42 WAService.js:2
n @ VM42 WAService.js:2
(anonymous) @ VM42 WAService.js:2
value @ VM42 WAService.js:2
(anonymous) @ VM42 WAService.js:2
doWhenAllScriptLoaded @ VM51:470
scriptLoaded @ VM51:490
(anonymous) @ VM51:515
error (async)
(anonymous) @ VM42 WAService.js:2
(anonymous) @ VM42 WAService.js:2
(anonymous) @ VM42 WAService.js:2
devtoolsconfig.js?t=wechat&s=1612223857716&v=7874b848990465bbcdadbee702a24d44:3 无效的 app.json ["servicemarket"]
插件版本更新了,示例demo不同步更新吗
类似百度地图,地图上能不能增加工具条/箱。
小程序怎么做到增加热力图层?能给个例子吗?
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.