current position:Home>How to use the ecarts national map to the city? I CV changed other people's codes and key values. Now this is the case

How to use the ecarts national map to the city? I CV changed other people's codes and key values. Now this is the case

2022-02-02 11:37:51 CSDN Q & A

I want this effect :

img


problem
Copy other people's projects into my project

img

Report errors :1.vue.runtime.esm.js?430a:619 [Vue warn]: Error in mounted hook: "ReferenceError: AMapUI is not defined"
2.vue.runtime.esm.js?430a:1897 ReferenceError: AMapUI is not defined
at VueComponent.getGeoJson (sctterMap.vue?fe2b:38)

My solution ideas and tried methods

key I changed it to my own , Why not ,




Refer to the answer 1:

img




Refer to the answer 2:

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.primo.wiki/2022/02/202202021137485564.html

guess what you like

Random recommended