GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 使用classic添加覆盖物画圆时报错 · Issue #6 · SuperMap/iClient-JavaScript

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

New issue
Copy link
New issue
Copy link
Open
Open
使用classic添加覆盖物画圆时报错#6
Copy link
Labels
bug

Description

@zhang6685979
zhang6685979
opened on Mar 16, 2018
Issue body actions

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

381b1d30

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

Activity

  1. songyumeng commented on Mar 16, 2018

    @songyumeng
    songyumeng
    on Mar 16, 2018
    Member
    More actions

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

  2. zhang6685979 commented on Mar 19, 2018

    @zhang6685979
    zhang6685979
    on Mar 19, 2018
    ContributorAuthor
    More actions

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

  3. songyumeng commented on Apr 12, 2018

    @songyumeng
    songyumeng
    on Apr 12, 2018
    Member
    More actions

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

  4. stale commented on Oct 14, 2020

    @stale
    staleBot
    on Oct 14, 2020
    More actions

    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. stale
    added
    stale
    on Oct 14, 2020
  6. songyumeng
    added
    bug
    and removed
    stale
    on Oct 14, 2020
  7. lbjzz-hash commented on Nov 11, 2020

    @lbjzz-hash
    lbjzz-hash
    on Nov 11, 2020
    More actions

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

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.