Leaflet, is used in VUE. In the case of using proj4,proj4leaflet, why can't you access Baidu Maps?

I am not involved in the whole project. Now that there is a problem, I need to investigate the use of proj4 and proj4leaflet in VUE. In native JS, there is no problem. In VUE, you can"t access Baidu Maps with leaflet,. After a rough look at it, the result is that proj4 and proj4leaflet don"t work, and then you can"t access Baidu Maps. Now you want to find a way to use these two plug-ins in VUE, and if you can"t use them at all, you may have to do something else.

Mar.21,2021

according to your description, suspicion is the reason why proj4 and projleaflet are not quoted correctly.
gives you a reference link https://www.cnblogs.com/eyed/., and replace the jQuery in it with the two plug-ins you want.

Menu