GithubHelp home page GithubHelp logo

jacke121 / demo_openlayers Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zc3hd/proj_openlayers

0.0 1.0 0.0 1.31 MB

【openlayers】openlayers常用页面demo实例

Home Page: http://ol.armincc.com

JavaScript 84.13% HTML 6.14% CSS 9.73%

demo_openlayers's Introduction

openlayers

  • ol常用业务demo

  • demo目录在src_webapp/modules/

  • 【路径规划】可读本案例详解here

  • 【交通热力】可读本案例详解here

  • 【显示策略】思路

当前层级<设置的层级
zoom<zoom_set:数据由后台进行抽稀数据;

当前层级>设置的层级
zoom>zoom_set:由屏幕角点进行拿到数据,其他区域不显示数据;

页面分为三个定时器全部开启
1.宏观获取数据的定时器,一直在获取数据。设计到闭包;
2.宏观数据的渲染,数据的请求这层体验不会影响到渲染这里;
3.微观数据的实时请求,只有在层级达到时才开始拿数据进行渲染;
  • 【模型构建】思路
1.三生成第一个三角形模型;
2.下一个点,对应整个模型(所有的三角形),每个三角形模型都可以拿到三组新生成的数组;
3.比较所有数组重复的次数
4.拿到重复次数最好,狭长比例最小的三角形;

demo_openlayers's People

Contributors

zc3hd avatar

Watchers

 avatar

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.