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

请问展示世界范围地图时,百度坐标系的bounds #8

Open
lcfsgtc opened this issue Jun 16, 2022 · 1 comment
Open

请问展示世界范围地图时,百度坐标系的bounds #8

lcfsgtc opened this issue Jun 16, 2022 · 1 comment

Comments

@lcfsgtc
Copy link

lcfsgtc commented Jun 16, 2022

L.CRS.Baidu定义的范围如下
bounds: L.bounds([20037508.342789244, 0], [0, 20037508.342789244])
地图只能展示中国区域,我想展示世界范围地图,尝试修改参数为
bounds: L.bounds([-20037508.342789244, -20037508.342789244], [20037508.342789244, 20037508.342789244])
地图展示异常,请问bounds参数应该设置为多少呢?

@rnalee
Copy link

rnalee commented Aug 24, 2022

同求解

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

2 participants