Gaode map reports Uncaught TypeError: AMap.Geocoder is not a constructor

I originally wrote it like this, but I reported an error in Google or other browsers, and Google and other browsers, the PC side can only locate nearby base stations

 

If this error occurs, you can add AMap.plugin("AMap.Geocoder", function(){})

Guess you like

Origin blog.csdn.net/ZHUzhuzhu08/article/details/126289486