Code Monkey home page Code Monkey logo

mapboxgl.internetmapcorrection's People

Contributors

changxin747 avatar gisarmory avatar taurz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mapboxgl.internetmapcorrection's Issues

safari或retina显示白边修正

    const viewport = new WebMercatorViewport({
        // width: gl.drawingBufferWidth*1.11,
        // height: gl.drawingBufferHeight*1.11,
        width: gl.drawingBufferWidth / window.devicePixelRatio,
        height: gl.drawingBufferHeight / window.devicePixelRatio,
        longitude: center.lng,
        latitude: center.lat,
        zoom: currentZoomLevel,
        pitch,
        bearing,
    });

Can it be published as an npm plugin?

Thank you for your open source spirit!
Can you publish it to npm? Until then, I recommend changing the package name.
The local release I packaged with vite is feasible, but it is quite different from yours and has many conflicts.

I can submit a PR anytime if you want.

关于屏幕缩放,window.devicePixelRatio的问题

windows系统下开启屏幕文字放大后(比如125%)在操作地图时,叠加图层(例如例子中的marker)和底图会错位,并且屏幕四周会有留白,未请求瓦片
应该是开发时未考虑window.devicePixelRatio的问题
image

同学,您这个项目引入了364个开源组件,存在2个漏洞,辛苦升级一下

检测到 gisarmory/mapboxgl.InternetMapCorrection 一共引入了364个开源组件,存在2个漏洞

漏洞标题:nodejs 资源管理错误漏洞
缺陷组件:[email protected]
漏洞编号:CVE-2020-28469
漏洞描述:nodejs是是一个基于ChromeV8引擎的JavaScript运行环境通过对Chromev8引擎进行了封装以及使用事件驱动和非阻塞IO的应用让Javascript开发高性能的后台应用成为了可能。
nodejs-glob-parent 存在安全漏洞,该漏洞源于正则表达式拒绝服务。
影响范围:(∞, 5.1.2)
最小修复版本:5.1.2
缺陷组件引入路径:[email protected]>[email protected]>[email protected]
[email protected]>[email protected]>[email protected]>[email protected]>[email protected]>[email protected]
[email protected]>[email protected]>[email protected]>[email protected]>[email protected]>[email protected]
[email protected]>[email protected]>[email protected]>[email protected]

另外还有2个漏洞,详细报告:https://mofeisec.com/jr?p=a56eac

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.