Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'CRS' of undefined #25

Open
wxzgis opened this issue Mar 18, 2020 · 2 comments
Open

Cannot read property 'CRS' of undefined #25

wxzgis opened this issue Mar 18, 2020 · 2 comments

Comments

@wxzgis
Copy link

wxzgis commented Mar 18, 2020

Cannot read property 'CRS' of undefined

@tanggd
Copy link

tanggd commented Mar 20, 2020

我也是来说这个问题的,那就补充说明一下吧。

1584687475(1)

出现这个问题是因为更新了插件的版本到最新,最新版本支持百度地图,需要引入其他脚本:

<script src="https://cdn.bootcss.com/proj4js/2.4.3/proj4.js"></script>
<script src="https://cdn.bootcss.com/proj4leaflet/1.0.1/proj4leaflet.min.js"></script>

而事实上,有些人没有使用到百度地图

@htoooth
Copy link
Owner

htoooth commented Mar 24, 2020

ok, i fix it.

@htoooth htoooth closed this as completed Mar 24, 2020
@htoooth htoooth reopened this Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants