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

使用classic添加覆盖物画圆时报错 #6

Open
zhang6685979 opened this issue Mar 16, 2018 · 5 comments
Open

使用classic添加覆盖物画圆时报错 #6

zhang6685979 opened this issue Mar 16, 2018 · 5 comments
Labels

Comments

@zhang6685979
Copy link
Contributor

因为项目中需要同时使用classic和for mapboxgl,引入iclient9-mapboxgl.min.js之后,原有的SuperMap对象被覆盖,就会导致某些类的方法不存在

381b1d30

另外 new SuperMap.Geometry.Point().transform方法也不存在

@songyumeng
Copy link
Member

songyumeng commented Mar 16, 2018

可以简述下使用场景吗?在设计时我们并没有考虑这种场景。推荐使用iClient8+iclient-classic.js 或者全新的 iclient-mapboxgl.js。

@zhang6685979
Copy link
Contributor Author

因为我们的项目是单页面应用,其中有一个页面用到了mapboxgl所以就需要引入iclient-mapboxgl.js,但是另外一个页面需要用classic画圆,在画的时候就提示LinearRing的rotate方法不存在,也就是引入iclient-mapboxgl.js之后基础包的SuperMap对象就没有这个方法了

@songyumeng songyumeng mentioned this issue Apr 12, 2018
@songyumeng
Copy link
Member

确实是个缺陷我们会安排修复。就目前而言,能否避免在同一个页面里同时引用8C(7C)+9D for mapboxgl。

@stale
Copy link

stale bot commented Oct 14, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Oct 14, 2020
@songyumeng songyumeng added bug and removed stale labels Oct 14, 2020
@lbjzz-hash
Copy link

请问怎么添加一个点的服务?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants