Giter VIP home page Giter VIP logo

arcgis-basedynamiclayer's Introduction

ARCGIS FOR JAVASCRIPT 地图叠加图片

实现地图旋转图片不变形,不位移

预览地址 : https://yun73r.github.io/Arcgis-BaseDynamicLayer/

第一次加载请耐心等待图片加载完成

运行

  npm i
  npm run dev

http://localhost:3456

或者本机装了liver-server、serve等工具,直接项目下运行即可

主要解决了图片位置和大小的算法,地图旋转后图片位置不对和图片变形的问题。网上一大堆叠加的方法,一看全是搬运的,没一个能打的。

更新

第一次图片未加载完成就导出canvas,所以第一次不显示,改为异步导出canvas

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.