Skip to content

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

Open

Description

@zhang6685979

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

381b1d30

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

Activity

  1. songyumeng commented on Mar 16, 2018

    @songyumeng
    Member

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

  2. zhang6685979 commented on Mar 19, 2018

    @zhang6685979
    ContributorAuthor

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

  3. songyumeng commented on Apr 12, 2018

    @songyumeng
    Member

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

  4. stale commented on Oct 14, 2020

    @stale

    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.

  5. lbjzz-hash commented on Nov 11, 2020

    @lbjzz-hash

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions