用奉献精神和爱
I'm a Frontend Developer from China.
Top projects:
- JueJin Helper 稀土掘金助手:签到、抽奖、沾喜气、消除Bug、海底掘金游戏、自动化工作流。
- JueJin Numpuzz 一款稀土掘金 "数字谜题" 游戏快速解题运算助手.
- Stocks Browser Extension 股票浏览器扩展: 轻松地跟踪您的股票和市场.
- AMapJS 高德地图加载模块.
Languages and Tools:
基于AMap高德地图构建的API加载器。
Home Page: https://iderekli.github.io/amap-js
License: MIT License
用奉献精神和爱
I'm a Frontend Developer from China.
Top projects:
Languages and Tools:
ERROR Failed to compile with 8 errors friendly-errors 14:07:52
These dependencies were not found: friendly-errors 14:07:52
friendly-errors 14:07:52
* @babel/runtime-corejs2/core-js/promise in ./node_modules/amap-js/es/load.js, ./node_modules/amap-js/es/loaders/amap-jsapi-loader.js
* @babel/runtime-corejs2/core-js/reflect/construct in ./node_modules/amap-js/es/loaders/amap-jsapi-loader.js
* @babel/runtime-corejs2/core-js/symbol in ./node_modules/amap-js/es/loaders/amap-jsapi-loader.js
* @babel/runtime-corejs2/helpers/esm/extends in ./node_modules/amap-js/es/loaders/amap-jsapi-loader.js
* @babel/runtime-corejs2/helpers/esm/getPrototypeOf in ./node_modules/amap-js/es/loaders/amap-jsapi-loader.js
* @babel/runtime-corejs2/helpers/esm/inheritsLoose in ./node_modules/amap-js/es/loaders/amap-jsapi-loader.js
* @babel/runtime-corejs2/helpers/esm/possibleConstructorReturn in ./node_modules/amap-js/es/loaders/amap-jsapi-loader.js
相关依赖没有打包?
../package 不能被所有客户环境解析,建议补全../package.json
import AMapJS from "amap-js";
// or
// import { AMapLoader, AMapUILoader, LocaLoader, ... } from 'amap-js';
// 创建AMapLoader
const loader = new AMapJS.AMapLoader({
key: "您申请的高德Key值",
version: "2.0",
plugins: []
});
// 调用 load 方法完成加载并调用执行回调。
loader
.load()
.then(() => {
// 加载完成
console.log(AMap);
})
.catch(e => {
// 加载失败
});
console.log(Amap)
的Amap
从哪里来Walking
的路线清空浏览器所有缓存后,或者用chrome开一个无痕窗口,无法成功加载
there's loca-loader.js in lib directory, but how to use it? When i use it the same like AMapLoader, errors would appear as follow:
TypeError: amap_js__WEBPACK_IMPORTED_MODULE_10__.default.LocaLoader is not a constructor
import AMapJS from "amap-js";
多个页面引入的话就会加载多次 js 文件,怎么才能只加载一次呢
大佬 能不能整一个 地图搜索的功能
https://jimnox.gitee.io/amap-vue/examples/coord-picker.html
类似酱紫
子组件中使用 const { AMap, AMapUI } = AMapJS.store.getAll()
加载AMap,当子组件页面强制刷新时,main.js重新加载amap api,子组件中如何控制在api加载完成后再初始化地图对象?
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.