├── road3d ├── src │ ├── data │ │ ├── format.js │ │ ├── hot2.json │ │ └── node.js │ ├── engine.back │ │ ├── readme.md │ │ ├── sys.js │ │ ├── source.js │ │ ├── shaders │ │ │ ├── default.back.js │ │ │ ├── defaul2.back.js │ │ │ └── default3.back.js │ │ └── obj │ │ │ ├── path.js │ │ │ ├── plane.js │ │ │ └── wall.js │ ├── images │ │ ├── d00.png │ │ ├── d01.png │ │ ├── d02.png │ │ ├── d03.png │ │ ├── d04.png │ │ ├── d06.png │ │ ├── d07.png │ │ ├── d08.png │ │ ├── d09.png │ │ ├── d10.png │ │ ├── d14.png │ │ ├── d15.png │ │ ├── d16.png │ │ ├── d19.png │ │ ├── d21.png │ │ ├── d22.png │ │ ├── d23.png │ │ ├── d301.png │ │ ├── d55.png │ │ ├── n00.png │ │ ├── n01.png │ │ ├── n02.png │ │ ├── n03.png │ │ ├── n04.png │ │ ├── n06.png │ │ ├── n07.png │ │ ├── n08.png │ │ ├── n09.png │ │ ├── n10.png │ │ ├── n14.png │ │ ├── n15.png │ │ ├── n16.png │ │ ├── n19.png │ │ ├── n21.png │ │ ├── n22.png │ │ ├── n23.png │ │ ├── n301.png │ │ ├── n55.png │ │ ├── 下载.png │ │ ├── cover.gif │ │ ├── cover.png │ │ ├── cover2.png │ │ ├── 下载 (1).png │ │ ├── 下载 (2).png │ │ ├── n23 (1).png │ │ ├── 日历工具_files │ │ │ ├── d00.png │ │ │ ├── d01.png │ │ │ ├── d02.png │ │ │ ├── d03.png │ │ │ ├── d04.png │ │ │ ├── d06.png │ │ │ ├── d07.png │ │ │ ├── d15.png │ │ │ ├── d19.png │ │ │ ├── d21.png │ │ │ ├── d22.png │ │ │ ├── d55.png │ │ │ └── weathermap.js │ │ └── circle-graph_files │ │ │ ├── index.css │ │ │ └── app.js │ ├── app.js │ ├── engine │ │ ├── shaders │ │ │ └── default.js │ │ └── object │ │ │ └── object-path.js │ └── engine.link │ │ ├── shaders │ │ └── default.js │ │ └── object │ │ └── object-path.js ├── .babelrc ├── .gitignore ├── readme.md ├── gulpfile.js ├── webpack.config.js ├── package.json └── page │ └── app-heatmap.html ├── thumbnail ├── readme.md ├── images │ └── cover.png └── data │ ├── 朱各庄路-双向-万寿庄路至万寿路_131_morning.json │ ├── 万丰路-南向北-莲宝路至莲花池西路辅路_131_morning.json │ ├── 望京街-西向东-望京东路至酒仙桥北路_131_morning.json │ ├── 朝阳北路-东向西-青年路至石佛营路_131_morning.json │ ├── 二环-西向东-安定门内大街至东直门北小街_131_morning.json │ ├── 北清路-东向西-朱辛庄西路至二拨子工业园区东路_131_morning.json │ ├── 建国门外大街-东向西-东三环中路至东大桥路_131_morning.json │ ├── 北四环中路-东向西-安定路至北辰西路_131_morning.json │ ├── 阜石路-西向东-玉泉路至阜成路_131_morning.json │ ├── data.js │ ├── 京藏高速-北向南-银泉路至清华东路_131_morning.json │ ├── 二环-南向北-菜户营南路至广安门内大街_131_morning.json │ ├── 东四环南路-南向北-垡头路至化工路_131_morning.json │ ├── 东三环南路-南向北-弘燕路至八棵杨中街_131_morning.json │ ├── 二环-北向南-积水潭桥至阜成门外大街_131_morning.json │ ├── 西三环中路-南向北-复兴路至车公庄西路_131_morning.json │ ├── 二环-南向北-莲花池东路至复兴门内大街_131_morning.json │ ├── 西三环南路-南向北-丽源路至莲花池西路_131_morning.json │ ├── 北五环路-西向东-厢红旗路至万泉河路_131_morning.json │ ├── 京通快速路-东向西-东五环路至东四环中路_131_morning.json │ ├── 东五环路-南向北-广渠路至朝阳北路_131_morning.json │ └── 西四环中路-南向北-小井西路至复兴路_131_morning.json ├── geojson └── style.css ├── gis-drawing ├── app │ ├── maputil.js │ ├── module.jsx │ ├── map │ │ ├── DraggingLabel.js │ │ └── DraggingTip.js │ ├── app.jsx │ └── colorlist.jsx ├── .babelrc ├── static │ └── images │ │ ├── drag.png │ │ ├── label.png │ │ ├── view.png │ │ ├── direction.png │ │ ├── direction.psd │ │ ├── jiuduanxian.png │ │ └── jiuduanxian_dark.png ├── README.md ├── package.json ├── index.html └── webpack.config.js ├── timeheat ├── cover.png ├── data │ ├── data.xlsx │ ├── data.json │ └── data.js └── index.html ├── coord └── direction.png ├── index ├── img │ ├── favicon.ico │ ├── login │ │ ├── icon.png │ │ ├── imac.png │ │ └── imac-2x.png │ ├── tile │ │ ├── ribbon.png │ │ └── ribbon-2x.png │ └── icons │ │ ├── png │ │ ├── Book.png │ │ ├── Chat.png │ │ ├── Mail.png │ │ ├── Map.png │ │ ├── Compas.png │ │ ├── Pensils.png │ │ ├── Pocket.png │ │ ├── Watches.png │ │ ├── Calendar.png │ │ ├── Clipboard.png │ │ ├── Gift-Box.png │ │ ├── Retina-Ready.png │ │ ├── Toilet-Paper.png │ │ └── Infinity-Loop.png │ │ └── svg │ │ ├── loop.svg │ │ ├── paper-bag.svg │ │ ├── clocks.svg │ │ ├── mail.svg │ │ ├── chat.svg │ │ ├── toilet-paper.svg │ │ ├── book.svg │ │ ├── map.svg │ │ ├── retina.svg │ │ ├── clipboard.svg │ │ └── pencils.svg ├── picture │ ├── 1.png │ ├── 4.png │ ├── 5.png │ ├── 6.png │ ├── 7.png │ ├── 8.png │ └── 9.png ├── dist │ ├── img │ │ ├── favicon.ico │ │ ├── login │ │ │ ├── icon.png │ │ │ ├── imac.png │ │ │ └── imac-2x.png │ │ ├── tile │ │ │ ├── ribbon.png │ │ │ └── ribbon-2x.png │ │ └── icons │ │ │ ├── png │ │ │ ├── Book.png │ │ │ ├── Chat.png │ │ │ ├── Mail.png │ │ │ ├── Map.png │ │ │ ├── Compas.png │ │ │ ├── Pensils.png │ │ │ ├── Pocket.png │ │ │ ├── Watches.png │ │ │ ├── Calendar.png │ │ │ ├── Clipboard.png │ │ │ ├── Gift-Box.png │ │ │ ├── Retina-Ready.png │ │ │ ├── Toilet-Paper.png │ │ │ └── Infinity-Loop.png │ │ │ └── svg │ │ │ ├── loop.svg │ │ │ ├── paper-bag.svg │ │ │ ├── clocks.svg │ │ │ ├── mail.svg │ │ │ ├── chat.svg │ │ │ ├── toilet-paper.svg │ │ │ ├── book.svg │ │ │ ├── map.svg │ │ │ ├── retina.svg │ │ │ ├── clipboard.svg │ │ │ └── pencils.svg │ ├── js │ │ └── vendor │ │ │ └── video-js.swf │ ├── fonts │ │ ├── lato │ │ │ ├── lato-black.eot │ │ │ ├── lato-black.ttf │ │ │ ├── lato-bold.eot │ │ │ ├── lato-bold.ttf │ │ │ ├── lato-bold.woff │ │ │ ├── lato-light.eot │ │ │ ├── lato-light.ttf │ │ │ ├── lato-black.woff │ │ │ ├── lato-italic.eot │ │ │ ├── lato-italic.ttf │ │ │ ├── lato-italic.woff │ │ │ ├── lato-light.woff │ │ │ ├── lato-regular.eot │ │ │ ├── lato-regular.ttf │ │ │ ├── lato-bolditalic.eot │ │ │ ├── lato-bolditalic.ttf │ │ │ ├── lato-regular.woff │ │ │ └── lato-bolditalic.woff │ │ └── glyphicons │ │ │ ├── flat-ui-icons-regular.eot │ │ │ ├── flat-ui-icons-regular.ttf │ │ │ └── flat-ui-icons-regular.woff │ └── index.html ├── fonts │ ├── lato │ │ ├── lato-black.eot │ │ ├── lato-black.ttf │ │ ├── lato-bold.eot │ │ ├── lato-bold.ttf │ │ ├── lato-bold.woff │ │ ├── lato-light.eot │ │ ├── lato-light.ttf │ │ ├── lato-black.woff │ │ ├── lato-italic.eot │ │ ├── lato-italic.ttf │ │ ├── lato-italic.woff │ │ ├── lato-light.woff │ │ ├── lato-regular.eot │ │ ├── lato-regular.ttf │ │ ├── lato-bolditalic.eot │ │ ├── lato-bolditalic.ttf │ │ ├── lato-regular.woff │ │ └── lato-bolditalic.woff │ └── glyphicons │ │ ├── flat-ui-icons-regular.eot │ │ ├── flat-ui-icons-regular.ttf │ │ └── flat-ui-icons-regular.woff ├── docs │ ├── assets │ │ ├── img │ │ │ ├── demo │ │ │ │ ├── video.jpg │ │ │ │ ├── browser.png │ │ │ │ ├── browser-2x.png │ │ │ │ ├── html-icon.png │ │ │ │ ├── logo-mask.png │ │ │ │ ├── logo-mask-2x.png │ │ │ │ ├── browser-author.jpg │ │ │ │ ├── browser-pic-1.jpg │ │ │ │ ├── browser-pic-2.jpg │ │ │ │ ├── browser-pic-3.jpg │ │ │ │ ├── browser-pic-4.jpg │ │ │ │ ├── browser-pic-5.jpg │ │ │ │ └── browser-pic-6.jpg │ │ │ ├── footer │ │ │ │ └── logo.png │ │ │ ├── video │ │ │ │ └── poster.jpg │ │ │ ├── example-image.jpg │ │ │ └── getting-started │ │ │ │ └── icomoon_import.jpg │ │ └── css │ │ │ └── src │ │ │ └── prettyprint.less │ ├── template.html │ └── examples │ │ └── vertical-slider.html └── tool.csv ├── road3d-map ├── build │ ├── robots.txt │ ├── favicon.ico │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ ├── precache-manifest.1257504ac6660927cd09849d05bb9d59.js │ ├── asset-manifest.json │ ├── service-worker.js │ └── static │ │ ├── js │ │ └── runtime-main.3657d775.js │ │ └── css │ │ └── main.f449dfbc.chunk.css ├── public │ ├── robots.txt │ ├── favicon.ico │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── index.html ├── .gitignore ├── src │ ├── index.css │ ├── index.js │ ├── components │ │ └── TitleHeader │ │ │ ├── index.less │ │ │ └── index.js │ └── App.less ├── config-overrides.js └── package.json ├── category-color ├── view.png └── jiuduanxian.png ├── circle-graph ├── cover.png ├── images │ ├── d00.png │ ├── d01.png │ ├── d02.png │ ├── d03.png │ ├── d04.png │ ├── d06.png │ ├── d07.png │ ├── d08.png │ ├── d09.png │ ├── d10.png │ ├── d14.png │ ├── d15.png │ ├── d16.png │ ├── d19.png │ ├── d21.png │ ├── d22.png │ ├── d23.png │ ├── d301.png │ ├── d55.png │ ├── moon.png │ ├── n00.png │ ├── n01.png │ ├── n02.png │ ├── n03.png │ ├── n04.png │ ├── n06.png │ ├── n07.png │ ├── n08.png │ ├── n09.png │ ├── n10.png │ ├── n14.png │ ├── n15.png │ ├── n16.png │ ├── n19.png │ ├── n21.png │ ├── n22.png │ ├── n23.png │ ├── n301.png │ ├── n55.png │ ├── sun.png │ ├── n23 (1).png │ ├── weather.png │ └── weather2.png ├── css │ └── index.css ├── package.json └── index.html ├── calendar ├── images │ └── cover.png ├── data │ ├── data.json │ ├── convert.js │ └── weathermap.js └── index.html ├── hot-time-value └── cover.png ├── road-condition ├── cover.png └── index.html ├── vertical-curve ├── cover.png ├── data │ └── format.js └── index.html ├── navigation ├── static │ ├── .DS_Store │ ├── images │ │ ├── drag.png │ │ ├── label.png │ │ ├── markers.png │ │ ├── preview.jpg │ │ └── direction.png │ └── script │ │ ├── app.js │ │ ├── map.js │ │ └── utils.js ├── .gitignore ├── package.json └── README.md ├── hxbank └── demo │ ├── icon-accident.png │ ├── icon-location.png │ ├── css │ └── style.min.css │ └── editor.html ├── polygon-selected └── examples.csv ├── traffictools ├── static │ ├── images │ │ ├── drag.png │ │ ├── label.png │ │ ├── markers.png │ │ ├── preview.jpg │ │ └── direction.png │ └── script │ │ ├── app.js │ │ ├── map.js │ │ └── components.js ├── .gitignore ├── package.json └── README.md ├── .gitignore ├── README.md ├── cross_coord ├── index.html └── test.js └── convertor └── index.html /road3d/src/data/format.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /thumbnail/readme.md: -------------------------------------------------------------------------------- 1 | # 路段缩略图 -------------------------------------------------------------------------------- /road3d/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["env"] 3 | } -------------------------------------------------------------------------------- /road3d/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .vscode/ 3 | -------------------------------------------------------------------------------- /geojson/style.css: -------------------------------------------------------------------------------- 1 | 2 | body { 3 | padding: 10px; 4 | } 5 | -------------------------------------------------------------------------------- /gis-drawing/app/maputil.js: -------------------------------------------------------------------------------- 1 | export default { 2 | 3 | }; 4 | -------------------------------------------------------------------------------- /gis-drawing/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015", "react"] 3 | } 4 | -------------------------------------------------------------------------------- /road3d/src/engine.back/readme.md: -------------------------------------------------------------------------------- 1 | # Engine 2 | 3 | this part is the engine of webgl -------------------------------------------------------------------------------- /timeheat/cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/timeheat/cover.png -------------------------------------------------------------------------------- /coord/direction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/coord/direction.png -------------------------------------------------------------------------------- /index/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/img/favicon.ico -------------------------------------------------------------------------------- /index/picture/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/picture/1.png -------------------------------------------------------------------------------- /index/picture/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/picture/4.png -------------------------------------------------------------------------------- /index/picture/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/picture/5.png -------------------------------------------------------------------------------- /index/picture/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/picture/6.png -------------------------------------------------------------------------------- /index/picture/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/picture/7.png -------------------------------------------------------------------------------- /index/picture/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/picture/8.png -------------------------------------------------------------------------------- /index/picture/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/picture/9.png -------------------------------------------------------------------------------- /road3d-map/build/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | -------------------------------------------------------------------------------- /road3d-map/public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | -------------------------------------------------------------------------------- /category-color/view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/category-color/view.png -------------------------------------------------------------------------------- /circle-graph/cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/cover.png -------------------------------------------------------------------------------- /timeheat/data/data.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/timeheat/data/data.xlsx -------------------------------------------------------------------------------- /calendar/images/cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/calendar/images/cover.png -------------------------------------------------------------------------------- /hot-time-value/cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/hot-time-value/cover.png -------------------------------------------------------------------------------- /index/dist/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/img/favicon.ico -------------------------------------------------------------------------------- /index/img/login/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/img/login/icon.png -------------------------------------------------------------------------------- /index/img/login/imac.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/img/login/imac.png -------------------------------------------------------------------------------- /index/img/tile/ribbon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/img/tile/ribbon.png -------------------------------------------------------------------------------- /road-condition/cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road-condition/cover.png -------------------------------------------------------------------------------- /road3d/readme.md: -------------------------------------------------------------------------------- 1 | ## build this project 2 | 3 | ```javascirpt 4 | npm install 5 | npm run build 6 | ``` -------------------------------------------------------------------------------- /road3d/src/images/d00.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/d00.png -------------------------------------------------------------------------------- /road3d/src/images/d01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/d01.png -------------------------------------------------------------------------------- /road3d/src/images/d02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/d02.png -------------------------------------------------------------------------------- /road3d/src/images/d03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/d03.png -------------------------------------------------------------------------------- /road3d/src/images/d04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/d04.png -------------------------------------------------------------------------------- /road3d/src/images/d06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/d06.png -------------------------------------------------------------------------------- /road3d/src/images/d07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/d07.png -------------------------------------------------------------------------------- /road3d/src/images/d08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/d08.png -------------------------------------------------------------------------------- /road3d/src/images/d09.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/d09.png -------------------------------------------------------------------------------- /road3d/src/images/d10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/d10.png -------------------------------------------------------------------------------- /road3d/src/images/d14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/d14.png -------------------------------------------------------------------------------- /road3d/src/images/d15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/d15.png -------------------------------------------------------------------------------- /road3d/src/images/d16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/d16.png -------------------------------------------------------------------------------- /road3d/src/images/d19.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/d19.png -------------------------------------------------------------------------------- /road3d/src/images/d21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/d21.png -------------------------------------------------------------------------------- /road3d/src/images/d22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/d22.png -------------------------------------------------------------------------------- /road3d/src/images/d23.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/d23.png -------------------------------------------------------------------------------- /road3d/src/images/d301.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/d301.png -------------------------------------------------------------------------------- /road3d/src/images/d55.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/d55.png -------------------------------------------------------------------------------- /road3d/src/images/n00.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/n00.png -------------------------------------------------------------------------------- /road3d/src/images/n01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/n01.png -------------------------------------------------------------------------------- /road3d/src/images/n02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/n02.png -------------------------------------------------------------------------------- /road3d/src/images/n03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/n03.png -------------------------------------------------------------------------------- /road3d/src/images/n04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/n04.png -------------------------------------------------------------------------------- /road3d/src/images/n06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/n06.png -------------------------------------------------------------------------------- /road3d/src/images/n07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/n07.png -------------------------------------------------------------------------------- /road3d/src/images/n08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/n08.png -------------------------------------------------------------------------------- /road3d/src/images/n09.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/n09.png -------------------------------------------------------------------------------- /road3d/src/images/n10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/n10.png -------------------------------------------------------------------------------- /road3d/src/images/n14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/n14.png -------------------------------------------------------------------------------- /road3d/src/images/n15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/n15.png -------------------------------------------------------------------------------- /road3d/src/images/n16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/n16.png -------------------------------------------------------------------------------- /road3d/src/images/n19.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/n19.png -------------------------------------------------------------------------------- /road3d/src/images/n21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/n21.png -------------------------------------------------------------------------------- /road3d/src/images/n22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/n22.png -------------------------------------------------------------------------------- /road3d/src/images/n23.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/n23.png -------------------------------------------------------------------------------- /road3d/src/images/n301.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/n301.png -------------------------------------------------------------------------------- /road3d/src/images/n55.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/n55.png -------------------------------------------------------------------------------- /road3d/src/images/下载.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/下载.png -------------------------------------------------------------------------------- /thumbnail/images/cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/thumbnail/images/cover.png -------------------------------------------------------------------------------- /vertical-curve/cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/vertical-curve/cover.png -------------------------------------------------------------------------------- /circle-graph/images/d00.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/d00.png -------------------------------------------------------------------------------- /circle-graph/images/d01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/d01.png -------------------------------------------------------------------------------- /circle-graph/images/d02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/d02.png -------------------------------------------------------------------------------- /circle-graph/images/d03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/d03.png -------------------------------------------------------------------------------- /circle-graph/images/d04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/d04.png -------------------------------------------------------------------------------- /circle-graph/images/d06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/d06.png -------------------------------------------------------------------------------- /circle-graph/images/d07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/d07.png -------------------------------------------------------------------------------- /circle-graph/images/d08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/d08.png -------------------------------------------------------------------------------- /circle-graph/images/d09.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/d09.png -------------------------------------------------------------------------------- /circle-graph/images/d10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/d10.png -------------------------------------------------------------------------------- /circle-graph/images/d14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/d14.png -------------------------------------------------------------------------------- /circle-graph/images/d15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/d15.png -------------------------------------------------------------------------------- /circle-graph/images/d16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/d16.png -------------------------------------------------------------------------------- /circle-graph/images/d19.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/d19.png -------------------------------------------------------------------------------- /circle-graph/images/d21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/d21.png -------------------------------------------------------------------------------- /circle-graph/images/d22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/d22.png -------------------------------------------------------------------------------- /circle-graph/images/d23.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/d23.png -------------------------------------------------------------------------------- /circle-graph/images/d301.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/d301.png -------------------------------------------------------------------------------- /circle-graph/images/d55.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/d55.png -------------------------------------------------------------------------------- /circle-graph/images/moon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/moon.png -------------------------------------------------------------------------------- /circle-graph/images/n00.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/n00.png -------------------------------------------------------------------------------- /circle-graph/images/n01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/n01.png -------------------------------------------------------------------------------- /circle-graph/images/n02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/n02.png -------------------------------------------------------------------------------- /circle-graph/images/n03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/n03.png -------------------------------------------------------------------------------- /circle-graph/images/n04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/n04.png -------------------------------------------------------------------------------- /circle-graph/images/n06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/n06.png -------------------------------------------------------------------------------- /circle-graph/images/n07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/n07.png -------------------------------------------------------------------------------- /circle-graph/images/n08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/n08.png -------------------------------------------------------------------------------- /circle-graph/images/n09.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/n09.png -------------------------------------------------------------------------------- /circle-graph/images/n10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/n10.png -------------------------------------------------------------------------------- /circle-graph/images/n14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/n14.png -------------------------------------------------------------------------------- /circle-graph/images/n15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/n15.png -------------------------------------------------------------------------------- /circle-graph/images/n16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/n16.png -------------------------------------------------------------------------------- /circle-graph/images/n19.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/n19.png -------------------------------------------------------------------------------- /circle-graph/images/n21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/n21.png -------------------------------------------------------------------------------- /circle-graph/images/n22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/n22.png -------------------------------------------------------------------------------- /circle-graph/images/n23.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/n23.png -------------------------------------------------------------------------------- /circle-graph/images/n301.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/n301.png -------------------------------------------------------------------------------- /circle-graph/images/n55.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/n55.png -------------------------------------------------------------------------------- /circle-graph/images/sun.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/sun.png -------------------------------------------------------------------------------- /index/img/icons/png/Book.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/img/icons/png/Book.png -------------------------------------------------------------------------------- /index/img/icons/png/Chat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/img/icons/png/Chat.png -------------------------------------------------------------------------------- /index/img/icons/png/Mail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/img/icons/png/Mail.png -------------------------------------------------------------------------------- /index/img/icons/png/Map.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/img/icons/png/Map.png -------------------------------------------------------------------------------- /index/img/login/imac-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/img/login/imac-2x.png -------------------------------------------------------------------------------- /index/img/tile/ribbon-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/img/tile/ribbon-2x.png -------------------------------------------------------------------------------- /navigation/static/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/navigation/static/.DS_Store -------------------------------------------------------------------------------- /road3d-map/build/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d-map/build/favicon.ico -------------------------------------------------------------------------------- /road3d-map/build/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d-map/build/logo192.png -------------------------------------------------------------------------------- /road3d-map/build/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d-map/build/logo512.png -------------------------------------------------------------------------------- /road3d/src/images/cover.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/cover.gif -------------------------------------------------------------------------------- /road3d/src/images/cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/cover.png -------------------------------------------------------------------------------- /road3d/src/images/cover2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/cover2.png -------------------------------------------------------------------------------- /road3d/src/images/下载 (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/下载 (1).png -------------------------------------------------------------------------------- /road3d/src/images/下载 (2).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/下载 (2).png -------------------------------------------------------------------------------- /category-color/jiuduanxian.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/category-color/jiuduanxian.png -------------------------------------------------------------------------------- /circle-graph/images/n23 (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/n23 (1).png -------------------------------------------------------------------------------- /circle-graph/images/weather.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/weather.png -------------------------------------------------------------------------------- /hxbank/demo/icon-accident.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/hxbank/demo/icon-accident.png -------------------------------------------------------------------------------- /hxbank/demo/icon-location.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/hxbank/demo/icon-location.png -------------------------------------------------------------------------------- /index/dist/img/login/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/img/login/icon.png -------------------------------------------------------------------------------- /index/dist/img/login/imac.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/img/login/imac.png -------------------------------------------------------------------------------- /index/dist/img/tile/ribbon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/img/tile/ribbon.png -------------------------------------------------------------------------------- /index/fonts/lato/lato-black.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/fonts/lato/lato-black.eot -------------------------------------------------------------------------------- /index/fonts/lato/lato-black.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/fonts/lato/lato-black.ttf -------------------------------------------------------------------------------- /index/fonts/lato/lato-bold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/fonts/lato/lato-bold.eot -------------------------------------------------------------------------------- /index/fonts/lato/lato-bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/fonts/lato/lato-bold.ttf -------------------------------------------------------------------------------- /index/fonts/lato/lato-bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/fonts/lato/lato-bold.woff -------------------------------------------------------------------------------- /index/fonts/lato/lato-light.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/fonts/lato/lato-light.eot -------------------------------------------------------------------------------- /index/fonts/lato/lato-light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/fonts/lato/lato-light.ttf -------------------------------------------------------------------------------- /index/img/icons/png/Compas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/img/icons/png/Compas.png -------------------------------------------------------------------------------- /index/img/icons/png/Pensils.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/img/icons/png/Pensils.png -------------------------------------------------------------------------------- /index/img/icons/png/Pocket.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/img/icons/png/Pocket.png -------------------------------------------------------------------------------- /index/img/icons/png/Watches.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/img/icons/png/Watches.png -------------------------------------------------------------------------------- /polygon-selected/examples.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/polygon-selected/examples.csv -------------------------------------------------------------------------------- /road3d-map/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d-map/public/favicon.ico -------------------------------------------------------------------------------- /road3d-map/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d-map/public/logo192.png -------------------------------------------------------------------------------- /road3d-map/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d-map/public/logo512.png -------------------------------------------------------------------------------- /road3d/src/images/n23 (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/n23 (1).png -------------------------------------------------------------------------------- /circle-graph/images/weather2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/circle-graph/images/weather2.png -------------------------------------------------------------------------------- /index/dist/img/icons/png/Book.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/img/icons/png/Book.png -------------------------------------------------------------------------------- /index/dist/img/icons/png/Chat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/img/icons/png/Chat.png -------------------------------------------------------------------------------- /index/dist/img/icons/png/Mail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/img/icons/png/Mail.png -------------------------------------------------------------------------------- /index/dist/img/icons/png/Map.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/img/icons/png/Map.png -------------------------------------------------------------------------------- /index/dist/img/login/imac-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/img/login/imac-2x.png -------------------------------------------------------------------------------- /index/dist/img/tile/ribbon-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/img/tile/ribbon-2x.png -------------------------------------------------------------------------------- /index/dist/js/vendor/video-js.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/js/vendor/video-js.swf -------------------------------------------------------------------------------- /index/fonts/lato/lato-black.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/fonts/lato/lato-black.woff -------------------------------------------------------------------------------- /index/fonts/lato/lato-italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/fonts/lato/lato-italic.eot -------------------------------------------------------------------------------- /index/fonts/lato/lato-italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/fonts/lato/lato-italic.ttf -------------------------------------------------------------------------------- /index/fonts/lato/lato-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/fonts/lato/lato-italic.woff -------------------------------------------------------------------------------- /index/fonts/lato/lato-light.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/fonts/lato/lato-light.woff -------------------------------------------------------------------------------- /index/fonts/lato/lato-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/fonts/lato/lato-regular.eot -------------------------------------------------------------------------------- /index/fonts/lato/lato-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/fonts/lato/lato-regular.ttf -------------------------------------------------------------------------------- /index/img/icons/png/Calendar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/img/icons/png/Calendar.png -------------------------------------------------------------------------------- /index/img/icons/png/Clipboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/img/icons/png/Clipboard.png -------------------------------------------------------------------------------- /index/img/icons/png/Gift-Box.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/img/icons/png/Gift-Box.png -------------------------------------------------------------------------------- /navigation/static/images/drag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/navigation/static/images/drag.png -------------------------------------------------------------------------------- /road3d/src/engine.back/sys.js: -------------------------------------------------------------------------------- 1 | const conf = { 2 | longitudeLatitudeScale: 100 3 | } 4 | 5 | export default conf; -------------------------------------------------------------------------------- /gis-drawing/static/images/drag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/gis-drawing/static/images/drag.png -------------------------------------------------------------------------------- /gis-drawing/static/images/label.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/gis-drawing/static/images/label.png -------------------------------------------------------------------------------- /gis-drawing/static/images/view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/gis-drawing/static/images/view.png -------------------------------------------------------------------------------- /index/dist/fonts/lato/lato-black.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/fonts/lato/lato-black.eot -------------------------------------------------------------------------------- /index/dist/fonts/lato/lato-black.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/fonts/lato/lato-black.ttf -------------------------------------------------------------------------------- /index/dist/fonts/lato/lato-bold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/fonts/lato/lato-bold.eot -------------------------------------------------------------------------------- /index/dist/fonts/lato/lato-bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/fonts/lato/lato-bold.ttf -------------------------------------------------------------------------------- /index/dist/fonts/lato/lato-bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/fonts/lato/lato-bold.woff -------------------------------------------------------------------------------- /index/dist/fonts/lato/lato-light.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/fonts/lato/lato-light.eot -------------------------------------------------------------------------------- /index/dist/fonts/lato/lato-light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/fonts/lato/lato-light.ttf -------------------------------------------------------------------------------- /index/dist/img/icons/png/Compas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/img/icons/png/Compas.png -------------------------------------------------------------------------------- /index/dist/img/icons/png/Pensils.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/img/icons/png/Pensils.png -------------------------------------------------------------------------------- /index/dist/img/icons/png/Pocket.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/img/icons/png/Pocket.png -------------------------------------------------------------------------------- /index/dist/img/icons/png/Watches.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/img/icons/png/Watches.png -------------------------------------------------------------------------------- /index/docs/assets/img/demo/video.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/docs/assets/img/demo/video.jpg -------------------------------------------------------------------------------- /index/fonts/lato/lato-bolditalic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/fonts/lato/lato-bolditalic.eot -------------------------------------------------------------------------------- /index/fonts/lato/lato-bolditalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/fonts/lato/lato-bolditalic.ttf -------------------------------------------------------------------------------- /index/fonts/lato/lato-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/fonts/lato/lato-regular.woff -------------------------------------------------------------------------------- /index/img/icons/png/Retina-Ready.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/img/icons/png/Retina-Ready.png -------------------------------------------------------------------------------- /index/img/icons/png/Toilet-Paper.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/img/icons/png/Toilet-Paper.png -------------------------------------------------------------------------------- /navigation/static/images/label.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/navigation/static/images/label.png -------------------------------------------------------------------------------- /navigation/static/images/markers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/navigation/static/images/markers.png -------------------------------------------------------------------------------- /navigation/static/images/preview.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/navigation/static/images/preview.jpg -------------------------------------------------------------------------------- /road3d/src/images/日历工具_files/d00.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/日历工具_files/d00.png -------------------------------------------------------------------------------- /road3d/src/images/日历工具_files/d01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/日历工具_files/d01.png -------------------------------------------------------------------------------- /road3d/src/images/日历工具_files/d02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/日历工具_files/d02.png -------------------------------------------------------------------------------- /road3d/src/images/日历工具_files/d03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/日历工具_files/d03.png -------------------------------------------------------------------------------- /road3d/src/images/日历工具_files/d04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/日历工具_files/d04.png -------------------------------------------------------------------------------- /road3d/src/images/日历工具_files/d06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/日历工具_files/d06.png -------------------------------------------------------------------------------- /road3d/src/images/日历工具_files/d07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/日历工具_files/d07.png -------------------------------------------------------------------------------- /road3d/src/images/日历工具_files/d15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/日历工具_files/d15.png -------------------------------------------------------------------------------- /road3d/src/images/日历工具_files/d19.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/日历工具_files/d19.png -------------------------------------------------------------------------------- /road3d/src/images/日历工具_files/d21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/日历工具_files/d21.png -------------------------------------------------------------------------------- /road3d/src/images/日历工具_files/d22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/日历工具_files/d22.png -------------------------------------------------------------------------------- /road3d/src/images/日历工具_files/d55.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/road3d/src/images/日历工具_files/d55.png -------------------------------------------------------------------------------- /traffictools/static/images/drag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/traffictools/static/images/drag.png -------------------------------------------------------------------------------- /traffictools/static/images/label.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/traffictools/static/images/label.png -------------------------------------------------------------------------------- /index/dist/fonts/lato/lato-black.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/fonts/lato/lato-black.woff -------------------------------------------------------------------------------- /index/dist/fonts/lato/lato-italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/fonts/lato/lato-italic.eot -------------------------------------------------------------------------------- /index/dist/fonts/lato/lato-italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/fonts/lato/lato-italic.ttf -------------------------------------------------------------------------------- /index/dist/fonts/lato/lato-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/fonts/lato/lato-italic.woff -------------------------------------------------------------------------------- /index/dist/fonts/lato/lato-light.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/fonts/lato/lato-light.woff -------------------------------------------------------------------------------- /index/dist/fonts/lato/lato-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/fonts/lato/lato-regular.eot -------------------------------------------------------------------------------- /index/dist/fonts/lato/lato-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/fonts/lato/lato-regular.ttf -------------------------------------------------------------------------------- /index/dist/img/icons/png/Calendar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/img/icons/png/Calendar.png -------------------------------------------------------------------------------- /index/dist/img/icons/png/Clipboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/img/icons/png/Clipboard.png -------------------------------------------------------------------------------- /index/dist/img/icons/png/Gift-Box.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/img/icons/png/Gift-Box.png -------------------------------------------------------------------------------- /index/docs/assets/img/demo/browser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/docs/assets/img/demo/browser.png -------------------------------------------------------------------------------- /index/docs/assets/img/footer/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/docs/assets/img/footer/logo.png -------------------------------------------------------------------------------- /index/docs/assets/img/video/poster.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/docs/assets/img/video/poster.jpg -------------------------------------------------------------------------------- /index/fonts/lato/lato-bolditalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/fonts/lato/lato-bolditalic.woff -------------------------------------------------------------------------------- /index/img/icons/png/Infinity-Loop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/img/icons/png/Infinity-Loop.png -------------------------------------------------------------------------------- /navigation/static/images/direction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/navigation/static/images/direction.png -------------------------------------------------------------------------------- /traffictools/static/images/markers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/traffictools/static/images/markers.png -------------------------------------------------------------------------------- /traffictools/static/images/preview.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/traffictools/static/images/preview.jpg -------------------------------------------------------------------------------- /gis-drawing/static/images/direction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/gis-drawing/static/images/direction.png -------------------------------------------------------------------------------- /gis-drawing/static/images/direction.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/gis-drawing/static/images/direction.psd -------------------------------------------------------------------------------- /gis-drawing/static/images/jiuduanxian.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/gis-drawing/static/images/jiuduanxian.png -------------------------------------------------------------------------------- /index/dist/fonts/lato/lato-bolditalic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/fonts/lato/lato-bolditalic.eot -------------------------------------------------------------------------------- /index/dist/fonts/lato/lato-bolditalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/fonts/lato/lato-bolditalic.ttf -------------------------------------------------------------------------------- /index/dist/fonts/lato/lato-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/fonts/lato/lato-regular.woff -------------------------------------------------------------------------------- /index/dist/img/icons/png/Retina-Ready.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/img/icons/png/Retina-Ready.png -------------------------------------------------------------------------------- /index/dist/img/icons/png/Toilet-Paper.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/img/icons/png/Toilet-Paper.png -------------------------------------------------------------------------------- /index/docs/assets/img/demo/browser-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/docs/assets/img/demo/browser-2x.png -------------------------------------------------------------------------------- /index/docs/assets/img/demo/html-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/docs/assets/img/demo/html-icon.png -------------------------------------------------------------------------------- /index/docs/assets/img/demo/logo-mask.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/docs/assets/img/demo/logo-mask.png -------------------------------------------------------------------------------- /index/docs/assets/img/example-image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/docs/assets/img/example-image.jpg -------------------------------------------------------------------------------- /traffictools/static/images/direction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/traffictools/static/images/direction.png -------------------------------------------------------------------------------- /index/dist/fonts/lato/lato-bolditalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/fonts/lato/lato-bolditalic.woff -------------------------------------------------------------------------------- /index/dist/img/icons/png/Infinity-Loop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/img/icons/png/Infinity-Loop.png -------------------------------------------------------------------------------- /index/docs/assets/img/demo/logo-mask-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/docs/assets/img/demo/logo-mask-2x.png -------------------------------------------------------------------------------- /circle-graph/css/index.css: -------------------------------------------------------------------------------- 1 | .content { 2 | position: absolute; 3 | left: 0; 4 | top: 0; 5 | bottom: 0; 6 | right: 0; 7 | } -------------------------------------------------------------------------------- /gis-drawing/static/images/jiuduanxian_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/gis-drawing/static/images/jiuduanxian_dark.png -------------------------------------------------------------------------------- /index/docs/assets/img/demo/browser-author.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/docs/assets/img/demo/browser-author.jpg -------------------------------------------------------------------------------- /index/docs/assets/img/demo/browser-pic-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/docs/assets/img/demo/browser-pic-1.jpg -------------------------------------------------------------------------------- /index/docs/assets/img/demo/browser-pic-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/docs/assets/img/demo/browser-pic-2.jpg -------------------------------------------------------------------------------- /index/docs/assets/img/demo/browser-pic-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/docs/assets/img/demo/browser-pic-3.jpg -------------------------------------------------------------------------------- /index/docs/assets/img/demo/browser-pic-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/docs/assets/img/demo/browser-pic-4.jpg -------------------------------------------------------------------------------- /index/docs/assets/img/demo/browser-pic-5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/docs/assets/img/demo/browser-pic-5.jpg -------------------------------------------------------------------------------- /index/docs/assets/img/demo/browser-pic-6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/docs/assets/img/demo/browser-pic-6.jpg -------------------------------------------------------------------------------- /traffictools/static/script/app.js: -------------------------------------------------------------------------------- 1 | var map = require('./map'); 2 | require('./components'); 3 | 4 | new Vue({ 5 | el: '#app' 6 | }) 7 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | upload.py 2 | issue.info 3 | node_modules 4 | work 5 | .svn 6 | .DS_STORE 7 | .DS_Store 8 | src/tags 9 | *.*~ 10 | build.sh 11 | -------------------------------------------------------------------------------- /index/fonts/glyphicons/flat-ui-icons-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/fonts/glyphicons/flat-ui-icons-regular.eot -------------------------------------------------------------------------------- /index/fonts/glyphicons/flat-ui-icons-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/fonts/glyphicons/flat-ui-icons-regular.ttf -------------------------------------------------------------------------------- /index/fonts/glyphicons/flat-ui-icons-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/fonts/glyphicons/flat-ui-icons-regular.woff -------------------------------------------------------------------------------- /index/dist/fonts/glyphicons/flat-ui-icons-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/fonts/glyphicons/flat-ui-icons-regular.eot -------------------------------------------------------------------------------- /index/dist/fonts/glyphicons/flat-ui-icons-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/fonts/glyphicons/flat-ui-icons-regular.ttf -------------------------------------------------------------------------------- /index/dist/fonts/glyphicons/flat-ui-icons-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/dist/fonts/glyphicons/flat-ui-icons-regular.woff -------------------------------------------------------------------------------- /index/docs/assets/img/getting-started/icomoon_import.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huiyan-fe/tools/HEAD/index/docs/assets/img/getting-started/icomoon_import.jpg -------------------------------------------------------------------------------- /road3d/src/images/circle-graph_files/index.css: -------------------------------------------------------------------------------- 1 | .content { 2 | position: absolute; 3 | left: 0; 4 | top: 0; 5 | bottom: 0; 6 | right: 0; 7 | } -------------------------------------------------------------------------------- /road3d/src/app.js: -------------------------------------------------------------------------------- 1 | export { default as Belt } from './app-belt.js'; 2 | export { default as BeltLink } from './app-belt-link.js'; 3 | 4 | global.Engin = module.exports; -------------------------------------------------------------------------------- /navigation/.gitignore: -------------------------------------------------------------------------------- 1 | upload.py 2 | issue.info 3 | node_modules 4 | npm-debug.log 5 | work 6 | .svn 7 | .swp 8 | .DS_STORE 9 | .DS_Store 10 | src/tags 11 | *.*~ 12 | build.sh 13 | .vscode 14 | -------------------------------------------------------------------------------- /traffictools/.gitignore: -------------------------------------------------------------------------------- 1 | upload.py 2 | issue.info 3 | node_modules 4 | npm-debug.log 5 | work 6 | .svn 7 | .swp 8 | .DS_STORE 9 | .DS_Store 10 | src/tags 11 | *.*~ 12 | build.sh 13 | .vscode 14 | -------------------------------------------------------------------------------- /navigation/static/script/app.js: -------------------------------------------------------------------------------- 1 | var map = require('./map'); 2 | var Vue = require('vue'); 3 | require('./components'); 4 | 5 | new Vue({ 6 | el: '#app', 7 | data: { 8 | } 9 | }) 10 | 11 | -------------------------------------------------------------------------------- /calendar/data/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "5": 1, 4 | "10": 2, 5 | "12": 3, 6 | "18": 4, 7 | "19": 5 8 | }, 9 | "2": { 10 | "1": 1, 11 | "5": 1 12 | } 13 | } -------------------------------------------------------------------------------- /gis-drawing/README.md: -------------------------------------------------------------------------------- 1 | # 路况绘制工具 2 | 3 | [工具地址](http://huiyan-fe.github.io/tools/gis-drawing/) 4 | 5 | ## 开发调试 6 | 7 | npm install 8 | npm run build 9 | 10 | ## 功能 11 | * 添加线路 12 | * 添加线路名称 13 | * 添加线路起终点地名 14 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 一些地图工具 2 | 3 | ## [坐标拾取工具](http://huiyan-fe.github.io/tools/coord/) 4 | 5 | ## [边界坐标拾取工具](http://huiyan-fe.github.io/tools/boundary/) 6 | 7 | ## [导航绘制工具](http://huiyan-fe.github.io/tools/navigation/) 8 | [文档地址](https://github.com/huiyan-fe/tools/tree/gh-pages/navigation) 9 | -------------------------------------------------------------------------------- /circle-graph/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "circle-graph", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC" 11 | } 12 | -------------------------------------------------------------------------------- /road3d/gulpfile.js: -------------------------------------------------------------------------------- 1 | var gulp = require("gulp"); 2 | var babel = require("gulp-babel"); 3 | var webpack = require('webpack-stream'); 4 | 5 | gulp.task("default", function () { 6 | return gulp.src("./src/app.js") 7 | .pipe(webpack(require('./webpack.config.js'))) 8 | .pipe(gulp.dest("dist")); 9 | }); -------------------------------------------------------------------------------- /road3d/src/data/hot2.json: -------------------------------------------------------------------------------- 1 | [ 2 | { "x": 20, "y": 18 }, 3 | { "x": 20, "y": 18 }, 4 | { "x": 20, "y": 18 }, 5 | { "x": 20, "y": 18 }, 6 | { "x": 20, "y": 18 }, 7 | { "x": 20, "y": 18 }, 8 | { "x": 20, "y": 18 }, 9 | { "x": 20, "y": 18 }, 10 | { "x": 20, "y": 18 }, 11 | { "x": 20, "y": 18 } 12 | ] -------------------------------------------------------------------------------- /gis-drawing/app/module.jsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | class App extends React.Component { 4 | constructor(args) { 5 | super(args); 6 | this.state = {} 7 | } 8 | 9 | componentDidMount() { 10 | } 11 | 12 | render() { 13 | return ( 14 |
module
15 | ) 16 | } 17 | } 18 | 19 | export default App; 20 | -------------------------------------------------------------------------------- /traffictools/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "navigation", 3 | "version": "1.0.0", 4 | "description": "[工具地址](http://huiyan-fe.github.io/tools/navigation/)", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "webpack static/script/app.js build/index.js --watch" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "devDependencies": { 12 | "webpack": "^1.13.3" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /thumbnail/data/朱各庄路-双向-万寿庄路至万寿路_131_morning.json: -------------------------------------------------------------------------------- 1 | {"title":"朱各庄路-双向-万寿庄路至万寿路_131_morning","length":0.669,"index":"2.68424464","speed":"24.29351752","speeds":["9.921988645","5.734962679","22.8353528","24.18321848"],"locations":["116.294427,39.925864,116.295636,39.925817","116.30044,39.92518,116.302139,39.924787","116.30044,39.92518,116.298178,39.925617","116.298178,39.925617,116.297391,39.925744,116.295636,39.925817"]} -------------------------------------------------------------------------------- /navigation/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "navigation", 3 | "version": "1.0.0", 4 | "description": "[工具地址](http://huiyan-fe.github.io/tools/navigation/)", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "webpack static/script/app.js build/index.js --watch" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "dependencies": { 12 | "vue": "^1.0.26", 13 | "webpack": "^1.13.2" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /traffictools/static/script/map.js: -------------------------------------------------------------------------------- 1 | var map = new BMap.Map("map", { 2 | enableMapClick: false, 3 | }); // 创建Map实例 4 | map.setDefaultCursor('default'); 5 | map.centerAndZoom(new BMap.Point(116.404, 39.915), 11); // 初始化地图,设置中心点坐标和地图级别 6 | map.enableScrollWheelZoom(true); //开启鼠标滚轮缩放 7 | map.panBy(180, 0); 8 | 9 | var style = 'grayscale'; 10 | 11 | map.setMapStyle({style:style}); 12 | 13 | module.exports = map; 14 | -------------------------------------------------------------------------------- /road3d-map/.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | /.pnp 6 | .pnp.js 7 | 8 | # testing 9 | /coverage 10 | 11 | # production 12 | # /build 13 | 14 | # misc 15 | .DS_Store 16 | .env.local 17 | .env.development.local 18 | .env.test.local 19 | .env.production.local 20 | 21 | npm-debug.log* 22 | yarn-debug.log* 23 | yarn-error.log* 24 | -------------------------------------------------------------------------------- /thumbnail/data/万丰路-南向北-莲宝路至莲花池西路辅路_131_morning.json: -------------------------------------------------------------------------------- 1 | {"title":"万丰路-南向北-莲宝路至莲花池西路辅路_131_morning","length":0.597,"index":"3.821649072","speed":"21.7355087","speeds":["6.334921158","5.772431947","6.334921158","5.292845798"],"locations":["116.301532,39.895817,116.301533,39.895907","116.301503,39.902545,116.301473,39.903108","116.301533,39.895907,116.301523,39.897397","116.301523,39.897397,116.301522,39.897478,116.30151,39.899241,116.301527,39.900615"]} -------------------------------------------------------------------------------- /road3d-map/src/index.css: -------------------------------------------------------------------------------- 1 | html, body { 2 | margin: 0; 3 | overflow: hidden; 4 | width: 100%; 5 | height: 100%; 6 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", 7 | "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", 8 | sans-serif; 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | } 12 | 13 | code { 14 | font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", 15 | monospace; 16 | } 17 | -------------------------------------------------------------------------------- /road3d-map/src/index.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | import './index.css'; 4 | import App from './App'; 5 | import * as serviceWorker from './serviceWorker'; 6 | 7 | ReactDOM.render(, document.getElementById('root')); 8 | 9 | // If you want your app to work offline and load faster, you can change 10 | // unregister() to register() below. Note this comes with some pitfalls. 11 | // Learn more about service workers: https://bit.ly/CRA-PWA 12 | serviceWorker.unregister(); 13 | -------------------------------------------------------------------------------- /thumbnail/data/望京街-西向东-望京东路至酒仙桥北路_131_morning.json: -------------------------------------------------------------------------------- 1 | {"title":"望京街-西向东-望京东路至酒仙桥北路_131_morning","length":0.357,"index":"3.519792157","speed":"14.9087811","speeds":["13.74011224","13.74011224","13.74011224","3.844266338","3.844266338"],"locations":["116.494339,39.995016,116.494481,39.994934","116.494651,39.994827,116.49501,39.994608,116.495221,39.994479,116.4957,39.994175,116.496031,39.993937","116.494481,39.994934,116.494651,39.994827","116.492984,39.995932,116.493786,39.995416,116.494339,39.995016","116.492879,39.995983,116.492984,39.995932"]} -------------------------------------------------------------------------------- /road3d/src/engine.back/source.js: -------------------------------------------------------------------------------- 1 | import {GL} from './gl'; 2 | 3 | var gl = new GL('webgl'); 4 | 5 | var plane = gl.Plane({width: 100, height: 100, color:'#eee'}) 6 | 7 | var plane2 = gl.Plane({width: 5, height: 5, color: '#ddd'}) 8 | .translate(0,0,-2) 9 | .scale(2,2,2) 10 | 11 | var plane3 = gl.Plane({width: 2, height: 2, color: '#f00'}) 12 | .translate(0,0,-4) 13 | .rotate(45*Math.PI/180,[1,1,0]) 14 | 15 | var wall = gl.Wall({ 16 | path:[[-4,0],[4,0]], 17 | color: '#ccc' 18 | }) 19 | -------------------------------------------------------------------------------- /road3d/src/images/circle-graph_files/app.js: -------------------------------------------------------------------------------- 1 | let meter = new FPSMeter({ 2 | graph: 1, 3 | heat: 1 4 | }); 5 | 6 | // 7 | console.log(data.data.curve[201705]); 8 | // 9 | new circleGraph(document.getElementById('content'), { 10 | title: '二环', 11 | data: [ 12 | data.data.curve[201705].map(item => item.congestLength), 13 | data.data.curve[201705].map(item => item.speed), 14 | data.data.curve[201705].map(item => item.congestIndex), 15 | ] 16 | }); 17 | 18 | (function fps() { 19 | meter.tick(); 20 | requestAnimationFrame(fps); 21 | })(); -------------------------------------------------------------------------------- /road3d-map/build/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "React App", 3 | "name": "Create React App Sample", 4 | "icons": [ 5 | { 6 | "src": "favicon.ico", 7 | "sizes": "64x64 32x32 24x24 16x16", 8 | "type": "image/x-icon" 9 | }, 10 | { 11 | "src": "logo192.png", 12 | "type": "image/png", 13 | "sizes": "192x192" 14 | }, 15 | { 16 | "src": "logo512.png", 17 | "type": "image/png", 18 | "sizes": "512x512" 19 | } 20 | ], 21 | "start_url": ".", 22 | "display": "standalone", 23 | "theme_color": "#000000", 24 | "background_color": "#ffffff" 25 | } 26 | -------------------------------------------------------------------------------- /road3d-map/public/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "React App", 3 | "name": "Create React App Sample", 4 | "icons": [ 5 | { 6 | "src": "favicon.ico", 7 | "sizes": "64x64 32x32 24x24 16x16", 8 | "type": "image/x-icon" 9 | }, 10 | { 11 | "src": "logo192.png", 12 | "type": "image/png", 13 | "sizes": "192x192" 14 | }, 15 | { 16 | "src": "logo512.png", 17 | "type": "image/png", 18 | "sizes": "512x512" 19 | } 20 | ], 21 | "start_url": ".", 22 | "display": "standalone", 23 | "theme_color": "#000000", 24 | "background_color": "#ffffff" 25 | } 26 | -------------------------------------------------------------------------------- /thumbnail/data/朝阳北路-东向西-青年路至石佛营路_131_morning.json: -------------------------------------------------------------------------------- 1 | {"title":"朝阳北路-东向西-青年路至石佛营路_131_morning","length":0.9590000000000001,"index":"3.346628199","speed":"30.38686442","speeds":["6.16666145","6.16666145","9.552889321","9.552889321","9.552889321","5.399565328","5.781182958","5.781182958"],"locations":["116.509622,39.92935,116.508428,39.92933","116.511418,39.929384,116.510937,39.929379,116.509622,39.92935","116.519828,39.929513,116.519584,39.929506","116.519953,39.929516,116.519828,39.929513","116.519272,39.929502,116.516613,39.929468","116.516613,39.929468,116.515747,39.929456,116.514379,39.929443","116.512124,39.929401,116.511418,39.929384","116.514379,39.929443,116.512124,39.929401"]} -------------------------------------------------------------------------------- /road3d/src/engine.back/shaders/default.back.js: -------------------------------------------------------------------------------- 1 | const VSHADER_SOURCE = 2 | 'attribute vec4 aPosition;\n' + 3 | 'attribute vec4 aColor;\n' + 4 | 'uniform mat4 uMVMatrix;\n' + 5 | 'uniform mat4 uPMatrix;\n' + 6 | 'varying vec4 vColor;\n' + 7 | 'void main() {\n' + 8 | ' gl_Position = uPMatrix * uMVMatrix * aPosition;\n' + 9 | ' vColor = aColor;\n' + 10 | '}\n'; 11 | 12 | const FSHADER_SOURCE = 13 | '#ifdef GL_ES\n' + 14 | 'precision highp float;\n' + 15 | '#endif\n' + 16 | 'varying vec4 vColor;\n' + 17 | 'void main() {\n' + 18 | ' gl_FragColor = vColor;\n' + 19 | '}\n'; 20 | 21 | export {VSHADER_SOURCE, FSHADER_SOURCE} 22 | -------------------------------------------------------------------------------- /index/img/icons/svg/loop.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /index/dist/img/icons/svg/loop.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /navigation/README.md: -------------------------------------------------------------------------------- 1 | # 导航路径绘制工具 2 | 3 | [工具地址](http://huiyan-fe.github.io/tools/navigation/) 4 | 5 | preview 6 | 7 | ## 开发调试 8 | 9 | npm install 10 | npm test 11 | 12 | ## 功能 13 | * 路径规划 14 | * 添加文本标注 15 | * 个性化样式配置 16 | 17 | ### 路径规划 18 | 可以添加多个起点、多个终点进行路径规划导航,可选择驾车、步行、公交、骑行,同时也可以选择不同策略,包括最短路径、最短时间、不走高速。这时的搜索结果只是临时的,每次搜索都会清空临时的搜索结果,也可以点清空搜索结果进行清空搜索结果。然后要想对想要的路径保留在地图上,可以点保留此方案,再去重新检索其它想要的路径。同时各路径的颜色点左侧面板对应颜色即可修改。点击详细可展示这个路径具体导航的每个步骤。 19 | 20 | ### 添加标注 21 | 可通过右上角鼠标绘制工具进行文本标签标注,同时标签的名称可在左侧面板进行修改,还可以通过左侧面板的显示隐藏拖拽按钮,对标注的位置可实时进行移动。 22 | 23 | ### 个性化配置 24 | * 可自定义个性化底图颜色 25 | * 自定义路径颜色 26 | * 自定义标注颜色 27 | -------------------------------------------------------------------------------- /road3d/webpack.config.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | module.exports = { 4 | entry: { 5 | app: './src/app.js', 6 | 'app-heatmap': './src/app-heatmap.js', 7 | }, 8 | output: { 9 | path: path.resolve(__dirname, "dist"), 10 | filename: '[name].bundle.js' 11 | }, 12 | module: { 13 | rules: [{ 14 | test: /\.js$/, 15 | exclude: /(node_modules|bower_components)/, 16 | use: [{ 17 | loader: 'babel-loader', 18 | options: { 19 | presets: ['env'] 20 | } 21 | }] 22 | }] 23 | }, 24 | watch: true 25 | }; -------------------------------------------------------------------------------- /traffictools/README.md: -------------------------------------------------------------------------------- 1 | # 导航路径绘制工具 2 | 3 | [工具地址](http://huiyan-fe.github.io/tools/navigation/) 4 | 5 | preview 6 | 7 | ## 开发调试 8 | 9 | npm install 10 | npm test 11 | 12 | ## 功能 13 | * 路径规划 14 | * 添加文本标注 15 | * 个性化样式配置 16 | 17 | ### 路径规划 18 | 可以添加多个起点、多个终点进行路径规划导航,可选择驾车、步行、公交、骑行,同时也可以选择不同策略,包括最短路径、最短时间、不走高速。这时的搜索结果只是临时的,每次搜索都会清空临时的搜索结果,也可以点清空搜索结果进行清空搜索结果。然后要想对想要的路径保留在地图上,可以点保留此方案,再去重新检索其它想要的路径。同时各路径的颜色点左侧面板对应颜色即可修改。点击详细可展示这个路径具体导航的每个步骤。 19 | 20 | ### 添加标注 21 | 可通过右上角鼠标绘制工具进行文本标签标注,同时标签的名称可在左侧面板进行修改,还可以通过左侧面板的显示隐藏拖拽按钮,对标注的位置可实时进行移动。 22 | 23 | ### 个性化配置 24 | * 可自定义个性化底图颜色 25 | * 自定义路径颜色 26 | * 自定义标注颜色 27 | -------------------------------------------------------------------------------- /index/img/icons/svg/paper-bag.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /index/dist/img/icons/svg/paper-bag.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /gis-drawing/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "gis-drawing", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "build": "webpack --watch", 8 | "dev": "webpack-dev-server --hot", 9 | "test": "echo \"Error: no test specified\" && exit 1" 10 | }, 11 | "author": "", 12 | "license": "ISC", 13 | "dependencies": { 14 | "react": "^15.4.1", 15 | "react-dom": "^15.4.1" 16 | }, 17 | "devDependencies": { 18 | "babel-core": "^6.21.0", 19 | "babel-loader": "^6.2.10", 20 | "babel-preset-es2015": "^6.18.0", 21 | "babel-preset-react": "^6.16.0", 22 | "webpack": "^1.14.0", 23 | "webpack-dev-server": "^1.16.2" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /circle-graph/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 圆形图 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 |
数据格式
14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /road-condition/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 道路绘制 7 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 |
数据格式Demo
24 | 25 | 26 | -------------------------------------------------------------------------------- /road3d-map/src/components/TitleHeader/index.less: -------------------------------------------------------------------------------- 1 | .title-header { 2 | position: absolute; 3 | top: 10px; 4 | left: 50%; 5 | transform: translateX(-50%); 6 | z-index: 10; 7 | // width: 200px; 8 | text-align: center; 9 | 10 | h1 { 11 | display: inline-block; 12 | color: #3290ff; 13 | vertical-align: middle; 14 | margin: 0 20px 0 0; 15 | } 16 | 17 | .title-input { 18 | position: absolute; 19 | top: 4px; 20 | left: -20px; 21 | } 22 | 23 | .title-btn { 24 | display: none; 25 | vertical-align: middle; 26 | } 27 | 28 | &:hover { 29 | .title-btn { 30 | display: inline-block; 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /thumbnail/data/二环-西向东-安定门内大街至东直门北小街_131_morning.json: -------------------------------------------------------------------------------- 1 | {"title":"二环-西向东-安定门内大街至东直门北小街_131_morning","length":1.312,"index":"2.73985219","speed":"35.98658012","speeds":["15.6307622","19.19588945","15.16242883","14.4922258","21.3271899","29.4263041"],"locations":["116.417794,39.955387,116.418973,39.955415","116.418973,39.955415,116.42143,39.955452,116.422187,39.955462,116.42234,39.955466,116.422831,39.955471,116.422987,39.955475,116.424059,39.955501,116.424326,39.955507,116.424587,39.955512","116.417032,39.955372,116.417794,39.955387","116.414771,39.955364,116.415063,39.955363,116.416448,39.95536,116.417032,39.955372","116.424587,39.955512,116.426464,39.95555,116.426485,39.95555,116.42668,39.955554","116.427838,39.955568,116.430725,39.955608,116.431348,39.955616"]} -------------------------------------------------------------------------------- /vertical-curve/data/format.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs'); 2 | fs.readFile('data.csv', (err, data) => { 3 | let datas = data.toString().split('\r'); 4 | let retData = []; 5 | // console.log(datas) 6 | datas.forEach((item, index) => { 7 | // console.log(index) 8 | 9 | let items = item.split(','); 10 | items.forEach((d, i) => { 11 | retData[i] = retData[i] || {}; 12 | if (index === 0) { 13 | retData[i].title = d; 14 | } else { 15 | retData[i].data = retData[i].data || []; 16 | retData[i].data.push(d); 17 | } 18 | }); 19 | 20 | }); 21 | 22 | fs.writeFile('./data.json', JSON.stringify(retData)); 23 | }) -------------------------------------------------------------------------------- /calendar/data/convert.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs'); 2 | let filename = [__dirname + '/201701', __dirname + '/201702', __dirname + '/201703', __dirname + '/201704', __dirname + '/201705', __dirname + '/201706']; 3 | let weathers = {} 4 | filename.forEach(file => { 5 | fs.readFile(file, (err, data) => { 6 | let datas = data.toString().split('\n').map(data => data.split('\t')); 7 | 8 | datas.forEach(item => { 9 | let city = item[0]; 10 | let date = item[1]; 11 | let weather = item[2]; 12 | weathers[city] = weathers[city] || {}; 13 | weathers[city][date] = weather; 14 | }); 15 | fs.writeFile('./data/weather.js', 'var weather = ' + JSON.stringify(weathers)); 16 | }) 17 | }) -------------------------------------------------------------------------------- /hxbank/demo/css/style.min.css: -------------------------------------------------------------------------------- 1 | html,body{ 2 | margin:0; 3 | width:100%; 4 | height:100%; 5 | background:#333; 6 | font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; 7 | } 8 | 9 | #map{ 10 | width:100%; 11 | height:100%; 12 | } 13 | 14 | .BMap_cpyCtrl{ 15 | display:none; 16 | } 17 | 18 | #panel{ 19 | list-style:none; 20 | position:absolute; 21 | left:10px; 22 | top:10px; 23 | padding:0; 24 | margin:0; 25 | } 26 | 27 | #panel li{ 28 | padding:0; 29 | margin:0; 30 | cursor:pointer; 31 | margin:1px 0; 32 | color:#fff; 33 | padding:5px; 34 | background:rgba(0, 0, 0, 0.5); 35 | } 36 | 37 | #panel li.current{ 38 | background:rgba(0, 0, 255, 0.5); 39 | } 40 | 41 | -------------------------------------------------------------------------------- /thumbnail/data/北清路-东向西-朱辛庄西路至二拨子工业园区东路_131_morning.json: -------------------------------------------------------------------------------- 1 | {"title":"北清路-东向西-朱辛庄西路至二拨子工业园区东路_131_morning","length":1.379,"index":"3.036263434","speed":"25.87324754","speeds":["5.616217217","23.54838388","4.792612765","23.54838388","4.937911247","8.821590428","4.937911247","4.937911247"],"locations":["116.310671,40.102291,116.310583,40.102276","116.305117,40.10128,116.304656,40.101215,116.304477,40.101184,116.303967,40.101128","116.310583,40.102276,116.308901,40.101917","116.303126,40.101002,116.30215,40.100867","116.308901,40.101917,116.306877,40.101492,116.305679,40.101345","116.30215,40.100867,116.30047,40.100657,116.299283,40.100421,116.297725,40.099846","116.308901,40.101917,116.306877,40.101492,116.305679,40.101345,116.305308,40.101308,116.305117,40.10128","116.305679,40.101345,116.305308,40.101308"]} -------------------------------------------------------------------------------- /thumbnail/data/建国门外大街-东向西-东三环中路至东大桥路_131_morning.json: -------------------------------------------------------------------------------- 1 | {"title":"建国门外大街-东向西-东三环中路至东大桥路_131_morning","length":0.713,"index":"4.788699925","speed":"30.64992437","speeds":["13.39177179","16.61170031","7.487490107","7.43014058","7.601410736","13.18612715","13.40335056"],"locations":["116.457004,39.914221,116.456882,39.914225","116.468357,39.914091,116.46825,39.91409,116.467973,39.914095,116.46738,39.914107,116.467304,39.914108","116.464138,39.91412,116.464032,39.91412,116.462537,39.914133","116.462537,39.914133,116.461274,39.914154,116.461069,39.914156,116.46025,39.914165","116.466029,39.914112,116.464138,39.91412","116.467304,39.914108,116.467186,39.914108,116.467055,39.914108,116.466985,39.914109,116.466834,39.914109,116.466562,39.91411,116.466122,39.914112,116.466029,39.914112","116.457136,39.91422,116.457004,39.914221"]} -------------------------------------------------------------------------------- /gis-drawing/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 22 | -------------------------------------------------------------------------------- /road3d/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "road3d", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "start": "npm run build", 8 | "test": "echo \"Error: no test specified\" && exit 1", 9 | "build": "webpack;" 10 | }, 11 | "repository": { 12 | "type": "git", 13 | "url": "ssh://zhuwenlong@icode.baidu.com:8235/baidu/jiaotongyun-fe-tools/road3d" 14 | }, 15 | "author": "", 16 | "license": "ISC", 17 | "devDependencies": { 18 | "babel-cli": "^6.24.1", 19 | "babel-core": "^6.24.1", 20 | "babel-loader": "^7.0.0", 21 | "babel-preset-env": "^1.5.1", 22 | "gulp": "^3.9.1", 23 | "gulp-babel": "^6.1.2", 24 | "webpack": "^2.6.1", 25 | "webpack-stream": "^3.2.0" 26 | }, 27 | "dependencies": { 28 | "eslint": "^3.19.0" 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /road3d-map/config-overrides.js: -------------------------------------------------------------------------------- 1 | const { 2 | override, 3 | fixBabelImports, 4 | addLessLoader, 5 | addWebpackAlias, 6 | addWebpackPlugin, 7 | watchAll, 8 | setWebpackPublicPath 9 | } = require('customize-cra'); 10 | const AntdDayjsWebpackPlugin = require('antd-dayjs-webpack-plugin'); 11 | const path = require('path'); 12 | 13 | const env = process.env.NODE_ENV; 14 | 15 | module.exports = override( 16 | env === 'production' && setWebpackPublicPath('/tools/road3d-map/build/'), 17 | watchAll(), 18 | fixBabelImports('import', { 19 | libraryName: 'antd', 20 | libraryDirectory: 'es', 21 | style: true 22 | }), 23 | addLessLoader({ 24 | javascriptEnabled: true 25 | }), 26 | addWebpackPlugin(new AntdDayjsWebpackPlugin()), 27 | addWebpackAlias({ 28 | ['@']: path.resolve(__dirname, 'src') 29 | }) 30 | ); -------------------------------------------------------------------------------- /timeheat/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 时间热力图 7 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 |
24 |
25 | 数据格式 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /gis-drawing/webpack.config.js: -------------------------------------------------------------------------------- 1 | var path = require('path'); 2 | var webpack = require('webpack'); 3 | var ROOT_PATH = path.resolve(__dirname); 4 | var BUILD_PATH = path.resolve(ROOT_PATH, 'build'); 5 | var APP_PATH = path.resolve(ROOT_PATH, 'app'); 6 | module.exports= { 7 | entry: { 8 | app: path.resolve(APP_PATH, 'app.jsx') 9 | }, 10 | output: { 11 | path: BUILD_PATH, 12 | filename: 'bundle.js' 13 | }, 14 | 15 | //enable dev source map 16 | // devtool: 'eval-source-map', 17 | //enable dev server 18 | devServer: { 19 | historyApiFallback: true, 20 | hot: true, 21 | inline: true, 22 | progress: true 23 | }, 24 | resolve: { 25 | extensions: ['', '.js', '.jsx'], 26 | root: APP_PATH 27 | }, 28 | module: { 29 | loaders: [ 30 | { 31 | test: /\.jsx?$/, 32 | loaders: ['babel'], 33 | include: APP_PATH 34 | } ] 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /road3d-map/build/precache-manifest.1257504ac6660927cd09849d05bb9d59.js: -------------------------------------------------------------------------------- 1 | self.__precacheManifest = (self.__precacheManifest || []).concat([ 2 | { 3 | "revision": "f68d04b7b32d66e0997f8ab808ad191a", 4 | "url": "/tools/road3d-map/build/index.html" 5 | }, 6 | { 7 | "revision": "b6b66af9c0548156ada0", 8 | "url": "/tools/road3d-map/build/static/css/2.245eb8db.chunk.css" 9 | }, 10 | { 11 | "revision": "7f9fc2f51017cb7f63f4", 12 | "url": "/tools/road3d-map/build/static/css/main.f449dfbc.chunk.css" 13 | }, 14 | { 15 | "revision": "b6b66af9c0548156ada0", 16 | "url": "/tools/road3d-map/build/static/js/2.7fca210e.chunk.js" 17 | }, 18 | { 19 | "revision": "7f9fc2f51017cb7f63f4", 20 | "url": "/tools/road3d-map/build/static/js/main.f688b937.chunk.js" 21 | }, 22 | { 23 | "revision": "8dcfdbb7d5580de4d989", 24 | "url": "/tools/road3d-map/build/static/js/runtime-main.3657d775.js" 25 | } 26 | ]); -------------------------------------------------------------------------------- /thumbnail/data/北四环中路-东向西-安定路至北辰西路_131_morning.json: -------------------------------------------------------------------------------- 1 | {"title":"北四环中路-东向西-安定路至北辰西路_131_morning","length":1.738,"index":"2.718342533","speed":"41.31518887","speeds":["14.08789607","19.0185906","16.26631853","19.0185906","15.6291951","19.77138308","19.114789","11.74141805","12.0431708","12.0431708"],"locations":["116.402876,39.994599,116.400699,39.994495,116.400135,39.994475,116.399635,39.994448,116.397747,39.994384","116.414059,39.99487,116.414021,39.994869,116.413852,39.994868,116.412818,39.994845,116.412246,39.99484","116.397747,39.994384,116.395714,39.994328","116.412246,39.99484,116.411315,39.994818","116.410516,39.994848,116.410457,39.994847,116.408944,39.994804","116.395714,39.994328,116.394831,39.994333,116.393991,39.994349,116.393867,39.994344,116.393697,39.994334","116.411315,39.994818,116.410516,39.994848","116.408944,39.994804,116.408107,39.994774,116.407154,39.994751,116.40415,39.994667","116.40415,39.994667,116.40354,39.994636","116.40354,39.994636,116.402876,39.994599"]} -------------------------------------------------------------------------------- /road3d/src/engine.back/shaders/defaul2.back.js: -------------------------------------------------------------------------------- 1 | const VSHADER_SOURCE = 2 | 'attribute vec4 aPosition;\n' + 3 | 'attribute vec4 aColor;\n' + 4 | 'attribute vec2 aVertexTextureCoords;\n' + 5 | 'uniform mat4 uMVMatrix;\n' + 6 | 'uniform mat4 uPMatrix;\n' + 7 | 'varying vec4 vColor;\n' + 8 | 'varying vec2 vTextureCoords;\n' + 9 | 'void main() {\n' + 10 | ' gl_Position = uPMatrix * uMVMatrix * aPosition;\n' + 11 | ' vColor = aColor;\n' + 12 | ' vTextureCoords = aVertexTextureCoords;\n' + 13 | '}\n'; 14 | 15 | const FSHADER_SOURCE = 16 | '#ifdef GL_ES\n' + 17 | 'precision highp float;\n' + 18 | '#endif\n' + 19 | 'uniform sampler2D uSampler;' + 20 | 'varying vec4 vColor;\n' + 21 | 'varying vec2 vTextureCoords;\n' + 22 | 'void main() {\n' + 23 | ' gl_FragColor = vColor * texture2D(uSampler, vTextureCoords);\n' + 24 | '}\n'; 25 | 26 | export { 27 | VSHADER_SOURCE, 28 | FSHADER_SOURCE 29 | } -------------------------------------------------------------------------------- /thumbnail/data/阜石路-西向东-玉泉路至阜成路_131_morning.json: -------------------------------------------------------------------------------- 1 | {"title":"阜石路-西向东-玉泉路至阜成路_131_morning","length":1.728,"index":"2.913886616","speed":"36.72682523","speeds":["8.623665577","12.83442477","12.64875992","8.6935846","8.554374622","13.73250779","15.77550912","12.09738064"],"locations":["116.280846,39.930519,116.281293,39.930523,116.281431,39.930525,116.281586,39.930526,116.28182,39.930528,116.282472,39.930533,116.282696,39.930535,116.282875,39.930537,116.284338,39.930547","116.277867,39.930487,116.279094,39.930489,116.279665,39.930507,116.280846,39.930519","116.274601,39.930464,116.277867,39.930487","116.287777,39.930548,116.288524,39.93055","116.284338,39.930547,116.2845,39.930544,116.287777,39.930548","116.2625,39.930735,116.263043,39.930602,116.263921,39.930416,116.264966,39.930341","116.270555,39.930421,116.2708,39.930425","116.264966,39.930341,116.265109,39.930331,116.266113,39.930347,116.266338,39.93035,116.266394,39.930351,116.266818,39.930358,116.267693,39.930371,116.268437,39.930385"]} -------------------------------------------------------------------------------- /road3d/src/engine.back/shaders/default3.back.js: -------------------------------------------------------------------------------- 1 | const VSHADER_SOURCE = 2 | 'attribute vec4 aPosition;\n' + 3 | 'attribute vec4 aColor;\n' + 4 | 'attribute vec2 aVertexTextureCoords;\n' + 5 | 'uniform mat4 uMVMatrix;\n' + 6 | 'uniform mat4 uPMatrix;\n' + 7 | 'varying vec4 vColor;\n' + 8 | 'varying vec2 vTextureCoords;\n' + 9 | 'void main() {\n' + 10 | ' gl_Position = uPMatrix * uMVMatrix * aPosition;\n' + 11 | ' vColor = aColor;\n' + 12 | ' vTextureCoords = aVertexTextureCoords;\n' + 13 | '}\n'; 14 | 15 | const FSHADER_SOURCE = 16 | '#ifdef GL_ES\n' + 17 | 'precision highp float;\n' + 18 | '#endif\n' + 19 | 'uniform sampler2D uSampler;' + 20 | 'uniform bool uUseTexture;\n' + 21 | 'varying vec4 vColor;\n' + 22 | 'varying vec2 vTextureCoords;\n' + 23 | 'void main() {\n' + 24 | ' if(uUseTexture){\n' + 25 | ' gl_FragColor = vColor * texture2D(uSampler, vTextureCoords);\n' + 26 | ' }else{\n' + 27 | ' gl_FragColor = vColor;\n' + 28 | ' }\n' + 29 | '}\n'; 30 | 31 | export { 32 | VSHADER_SOURCE, 33 | FSHADER_SOURCE 34 | } -------------------------------------------------------------------------------- /road3d-map/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "road3d-map", 3 | "version": "0.1.0", 4 | "private": true, 5 | "scripts": { 6 | "start": "react-app-rewired start", 7 | "build": "react-app-rewired build", 8 | "test": "react-app-rewired test" 9 | }, 10 | "eslintConfig": { 11 | "extends": "react-app" 12 | }, 13 | "browserslist": { 14 | "production": [ 15 | ">0.2%", 16 | "not dead", 17 | "not op_mini all" 18 | ], 19 | "development": [ 20 | "last 1 chrome version", 21 | "last 1 firefox version", 22 | "last 1 safari version" 23 | ] 24 | }, 25 | "dependencies": { 26 | "antd": "^3.26.0", 27 | "heatmap.js": "^2.0.5", 28 | "mapvgl": "^1.0.0-beta.20", 29 | "react": "^16.12.0", 30 | "react-bmap": "^1.0.109", 31 | "react-dom": "^16.12.0", 32 | "react-scripts": "3.2.0" 33 | }, 34 | "devDependencies": { 35 | "antd-dayjs-webpack-plugin": "0.0.6", 36 | "babel-plugin-import": "^1.13.0", 37 | "customize-cra": "^0.9.1", 38 | "less": "^3.10.3", 39 | "less-loader": "^5.0.0", 40 | "react-app-rewired": "^2.1.5" 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /thumbnail/data/data.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs'); 2 | fs.readFile('congestRoad.dat', (err, data) => { 3 | let dataStr = data.toString(); 4 | 5 | let retObj = {}; 6 | 7 | let dataObj = dataStr.split('\n').map((item, index) => { 8 | if (index > 0) { 9 | let dataArr = item.split('\t'); 10 | retObj[dataArr[0]] = retObj[dataArr[0]] || {} 11 | let retObjFather = retObj[dataArr[0]]; 12 | retObjFather.title = dataArr[0]; 13 | retObjFather.length = Number(retObjFather.length || 0) + Number(dataArr[5]); 14 | retObjFather.index = dataArr[8]; 15 | retObjFather.speed = dataArr[9]; 16 | retObjFather.speeds = retObjFather.speeds || []; 17 | retObjFather.speeds.push(dataArr[3]) 18 | retObjFather.locations = retObjFather.locations || []; 19 | retObjFather.locations.push(dataArr[2]); 20 | } 21 | }); 22 | 23 | 24 | Object.keys(retObj).map(key => { 25 | console.log(key) 26 | fs.writeFile('./' + key + '.json', JSON.stringify(retObj[key])); 27 | }) 28 | 29 | 30 | 31 | }); -------------------------------------------------------------------------------- /navigation/static/script/map.js: -------------------------------------------------------------------------------- 1 | var map = new BMap.Map("map", { 2 | enableMapClick: false, 3 | }); // 创建Map实例 4 | map.setDefaultCursor('default'); 5 | map.centerAndZoom(new BMap.Point(116.404, 39.915), 11); // 初始化地图,设置中心点坐标和地图级别 6 | map.addControl(new BMap.MapTypeControl({ 7 | anchor: BMAP_ANCHOR_TOP_LEFT, 8 | offset: new BMap.Size(450, 10), 9 | })); //添加地图类型控件 10 | map.enableScrollWheelZoom(true); //开启鼠标滚轮缩放 11 | map.panBy(180, 0); 12 | 13 | var style = 'grayscale'; 14 | 15 | //map.setMapStyle({style:style}); 16 | map.setMapStyle({ 17 | styleJson: [ 18 | { 19 | "featureType": "all", 20 | "elementType": "all", 21 | "stylers": { 22 | "lightness": 61, 23 | "saturation": -70 24 | } 25 | } 26 | ] 27 | }); 28 | 29 | map.addControl(new BMap.CityListControl({ 30 | anchor: BMAP_ANCHOR_TOP_LEFT, 31 | offset: new BMap.Size(380, 10), 32 | })); 33 | 34 | var ctrl = new BMapLib.TrafficControl({ 35 | showPanel: false //是否显示路况提示面板 36 | }); 37 | map.addControl(ctrl); 38 | ctrl.setAnchor(BMAP_ANCHOR_BOTTOM_RIGHT); 39 | 40 | module.exports = map; 41 | -------------------------------------------------------------------------------- /index/img/icons/svg/clocks.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /road3d-map/src/components/TitleHeader/index.js: -------------------------------------------------------------------------------- 1 | import React, {useState, useEffect} from 'react'; 2 | import {Input, Button} from 'antd'; 3 | import './index.less'; 4 | 5 | export default () => { 6 | const [showInput, setShowInput] = useState(false); 7 | const [header, setHeader] = useState(localStorage.getItem('title') || '标题'); 8 | 9 | useEffect(() => { 10 | localStorage.setItem('title', header); 11 | }, [header]); 12 | 13 | return ( 14 |
15 |

{header}

16 | {showInput && {setHeader(e.target.value);}} 20 | onPressEnter={() => {setShowInput(!showInput);}} 21 | onBlur={() => {setShowInput(!showInput);}} 22 | />} 23 | {!showInput &&
31 | ); 32 | }; 33 | -------------------------------------------------------------------------------- /road3d/src/engine/shaders/default.js: -------------------------------------------------------------------------------- 1 | const VSHADER_SOURCE = 2 | 'attribute vec3 aPosition;\n' + 3 | 'attribute vec4 aColor;\n' + 4 | 'attribute vec2 aVertexTextureCoords;\n' + 5 | 'uniform mat4 uMVMatrix;\n' + 6 | 'uniform mat4 uPMatrix;\n' + 7 | 'varying vec4 vColor;\n' + 8 | 'varying vec2 vTextureCoords;\n' + 9 | 'void main() {\n' + 10 | ' gl_Position = uPMatrix * uMVMatrix * vec4(aPosition, 1.0);\n' + 11 | ' vTextureCoords = aVertexTextureCoords;\n' + 12 | ' vColor = aColor;\n' + 13 | '}\n'; 14 | 15 | const FSHADER_SOURCE = 16 | '#ifdef GL_ES\n' + 17 | 'precision highp float;\n' + 18 | '#endif\n' + 19 | 'uniform sampler2D uSampler;' + 20 | 'varying vec4 vColor;\n' + 21 | 'varying vec2 vTextureCoords;\n' + 22 | 'uniform bool uUseTexture;\n' + 23 | 'void main() {\n' + 24 | ' if(uUseTexture){\n' + 25 | ' gl_FragColor = vColor * texture2D(uSampler, vTextureCoords);\n' + 26 | ' }else{\n' + 27 | ' gl_FragColor = vColor;\n' + 28 | ' }\n' + 29 | '}\n'; 30 | 31 | 32 | const shaders = { 33 | VSHADER_SOURCE, 34 | FSHADER_SOURCE 35 | } 36 | 37 | 38 | export default shaders; -------------------------------------------------------------------------------- /index/dist/img/icons/svg/clocks.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /road3d/src/engine.link/shaders/default.js: -------------------------------------------------------------------------------- 1 | const VSHADER_SOURCE = 2 | 'attribute vec3 aPosition;\n' + 3 | 'attribute vec4 aColor;\n' + 4 | 'attribute vec2 aVertexTextureCoords;\n' + 5 | 'uniform mat4 uMVMatrix;\n' + 6 | 'uniform mat4 uPMatrix;\n' + 7 | 'varying vec4 vColor;\n' + 8 | 'varying vec2 vTextureCoords;\n' + 9 | 'void main() {\n' + 10 | ' gl_Position = uPMatrix * uMVMatrix * vec4(aPosition, 1.0);\n' + 11 | ' vTextureCoords = aVertexTextureCoords;\n' + 12 | ' vColor = aColor;\n' + 13 | '}\n'; 14 | 15 | const FSHADER_SOURCE = 16 | '#ifdef GL_ES\n' + 17 | 'precision highp float;\n' + 18 | '#endif\n' + 19 | 'uniform sampler2D uSampler;' + 20 | 'varying vec4 vColor;\n' + 21 | 'varying vec2 vTextureCoords;\n' + 22 | 'uniform bool uUseTexture;\n' + 23 | 'void main() {\n' + 24 | ' if(uUseTexture){\n' + 25 | ' gl_FragColor = vColor * texture2D(uSampler, vTextureCoords);\n' + 26 | ' }else{\n' + 27 | ' gl_FragColor = vColor;\n' + 28 | ' }\n' + 29 | '}\n'; 30 | 31 | 32 | const shaders = { 33 | VSHADER_SOURCE, 34 | FSHADER_SOURCE 35 | } 36 | 37 | 38 | export default shaders; -------------------------------------------------------------------------------- /thumbnail/data/京藏高速-北向南-银泉路至清华东路_131_morning.json: -------------------------------------------------------------------------------- 1 | {"title":"京藏高速-北向南-银泉路至清华东路_131_morning","length":1.996,"index":"2.50138102","speed":"37.52373152","speeds":["15.73947407","11.41064004","16.68238623","9.388192017","15.83505714","14.39542319","12.79269074","9.796413166","16.27616758","16.15998789","10.47258411","14.92000788","10.0737493"],"locations":["116.373747,40.011112,116.374281,40.010396","116.369262,40.017127,116.369547,40.016756","116.367972,40.018815,116.369262,40.017127","116.369547,40.016756,116.370267,40.015808,116.370312,40.015749,116.370418,40.015612","116.378399,40.004975,116.378487,40.004861","116.377599,40.006026,116.378399,40.004975","116.373508,40.011431,116.373747,40.011112","116.370418,40.015612,116.370654,40.015297,116.370747,40.015176,116.371026,40.014791","116.37445,40.010178,116.375924,40.008228","116.374281,40.010396,116.37445,40.010178,116.375924,40.008228","116.37141,40.01426,116.37184,40.013685","116.375924,40.008228,116.376154,40.007929,116.376227,40.007834,116.37642,40.007576,116.376442,40.007546,116.376478,40.007497,116.376643,40.007281,116.377039,40.006761,116.37731,40.006403,116.377599,40.006026","116.37184,40.013685,116.37204,40.013407,116.373403,40.011573,116.373508,40.011431"]} -------------------------------------------------------------------------------- /index/img/icons/svg/mail.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /index/dist/img/icons/svg/mail.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /index/tool.csv: -------------------------------------------------------------------------------- 1 | 分类,名称,地址,描述,备注,图片编号nnnnnn 2 | 通用工具,多边形画区域,http://huiyan.baidu.com/github/tools/coord/,"1> 多边形区域画取,支持节点拖动修改,可复制经纬度和摩卡托坐标 3 | 2> 画线可显示长度,支持复制经纬度和摩卡托坐标 4 | 3> 支持坐标集打点、画线、画面,支持画面后拖动节点修改边界 5 | 4> 支持经纬度坐标和摩卡托坐标转换 6 | 5> 支持曲线边界查询复制",直接集成,1.pngnnnnnn 7 | 通用工具,坐标拾取系统,http://api.map.baidu.com/lbsapi/getpoint/index.html,"1> 支持地址 精确/模糊 查询 8 | 2> 支持POI点坐标显示 9 | 3> 坐标鼠标跟随显示 10 | 4> 支持坐标反查地址",直接集成,4.pngnnnnnn 11 | 通用工具,导航路径绘制,http://huiyan.baidu.com/github/tools/navigation/,"1> 支持右键选取起终点,可依照出行类型画出不同路线,支持个性化底图配置 12 | 2> 支持保留每个方案并调节路线颜色和宽度 13 | 3> 可应用于画绕行路线",直接集成,5.pngnnnnnn 14 | 报告工具,文本绘路,http://huiyan.baidu.com/github/tools/gis-drawing/,"1> 将 道路经纬度坐标|道路名称 用分号间隔粘贴进左上角的文本框,可以在地图上打出道路线路和道路名称,并按顺序编号。主要应用于十大拥堵道路打图。 15 | 2> 支持调节每条道路的粗细、颜色、是否显示箭头、是否显示文本、调整文本方向和位置 16 | 3> 可用于打点排名",箭头不带小尾巴,支持添加任意省份、城市边界,边界可支持面颜色调整,6.pngnnnnnn 17 | 报告工具,Top城市打点,http://huiyan.baidu.com/github/tools/category-color/,"1> 输入城市名称和权重值,显示城市位置和编号,可以调整圆圈颜色大小 18 | 2> 用于标记城市排名",直接集成,7.pngnnnnnn 19 | 报告工具,省份排行显示,http://huiyan.baidu.com/github/mapv/examples/province.html,"1> 输入省份名称和权重值显示省份权重热力 20 | 2> 用于显示省份排行",直接集成,8.pngnnnnnn 21 | 报告工具,城市热力图,城市群,http://huiyan.baidu.com/github/mapv/examples/baidu-map-point-datgui.html,"1> 拖入csv文件,经度、纬度、权重,可以打点、画热力图 22 | 2> 可以显示省份、城市边界",提供数据文件示例,9.png 23 | -------------------------------------------------------------------------------- /index/img/icons/svg/chat.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /index/dist/img/icons/svg/chat.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /road3d-map/build/asset-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "files": { 3 | "main.css": "/static/css/main.f449dfbc.chunk.css", 4 | "main.js": "/static/js/main.f688b937.chunk.js", 5 | "main.js.map": "/static/js/main.f688b937.chunk.js.map", 6 | "runtime-main.js": "/static/js/runtime-main.3657d775.js", 7 | "runtime-main.js.map": "/static/js/runtime-main.3657d775.js.map", 8 | "static/css/2.245eb8db.chunk.css": "/static/css/2.245eb8db.chunk.css", 9 | "static/js/2.7fca210e.chunk.js": "/static/js/2.7fca210e.chunk.js", 10 | "static/js/2.7fca210e.chunk.js.map": "/static/js/2.7fca210e.chunk.js.map", 11 | "index.html": "/index.html", 12 | "precache-manifest.1257504ac6660927cd09849d05bb9d59.js": "/precache-manifest.1257504ac6660927cd09849d05bb9d59.js", 13 | "service-worker.js": "/service-worker.js", 14 | "static/css/2.245eb8db.chunk.css.map": "/static/css/2.245eb8db.chunk.css.map", 15 | "static/css/main.f449dfbc.chunk.css.map": "/static/css/main.f449dfbc.chunk.css.map" 16 | }, 17 | "entrypoints": [ 18 | "static/js/runtime-main.3657d775.js", 19 | "static/css/2.245eb8db.chunk.css", 20 | "static/js/2.7fca210e.chunk.js", 21 | "static/css/main.f449dfbc.chunk.css", 22 | "static/js/main.f688b937.chunk.js" 23 | ] 24 | } -------------------------------------------------------------------------------- /index/img/icons/svg/toilet-paper.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /index/dist/img/icons/svg/toilet-paper.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /calendar/data/weathermap.js: -------------------------------------------------------------------------------- 1 | var weathermap = { 2 | '晴': 'http://i.tq121.com.cn/i/mobile/images/d00.png', 3 | '多云': 'http://i.tq121.com.cn/i/mobile/images/d01.png', 4 | '阴': 'http://i.tq121.com.cn/i/mobile/images/d02.png', 5 | '阵雨': 'http://i.tq121.com.cn/i/mobile/images/d03.png', 6 | '雷阵雨': 'http://i.tq121.com.cn/i/mobile/images/d04.png', 7 | '雨夹雪': 'http://i.tq121.com.cn/i/mobile/images/d06.png', 8 | '小雨': 'http://i.tq121.com.cn/i/mobile/images/d07.png', 9 | '中雨': 'http://i.tq121.com.cn/i/mobile/images/d08.png', 10 | '大雨': 'http://i.tq121.com.cn/i/mobile/images/d09.png', 11 | '暴雨': 'http://i.tq121.com.cn/i/mobile/images/d10.png', 12 | '阵雪': 'http://i.tq121.com.cn/i/mobile/images/d14.png', 13 | '小雪': 'http://i.tq121.com.cn/i/mobile/images/d15.png', 14 | '中雪': 'http://i.tq121.com.cn/i/mobile/images/d15.png', 15 | '大雪': 'http://i.tq121.com.cn/i/mobile/images/d16.png', 16 | '浮尘': 'http://i.tq121.com.cn/i/mobile/images/d19.png', 17 | '小到中雨': 'http://i.tq121.com.cn/i/mobile/images/d21.png', 18 | '中到大雨': 'http://i.tq121.com.cn/i/mobile/images/d22.png', 19 | '大到暴雨': 'http://i.tq121.com.cn/i/mobile/images/d23.png', 20 | '霾': 'http://i.tq121.com.cn/i/mobile/images/d55.png', 21 | '雨': 'http://i.tq121.com.cn/i/mobile/images/d301.png', 22 | } -------------------------------------------------------------------------------- /index/dist/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Flat UI Free 101 Template 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 21 | 22 | 23 |
24 |

Hello, world!

25 |
26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /index/docs/template.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Flat UI Free 101 Template 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 21 | 22 | 23 |
24 |

Hello, world!

25 |
26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /road3d/src/data/node.js: -------------------------------------------------------------------------------- 1 | const fs = require('fs'); 2 | 3 | let road = JSON.parse(fs.readFileSync('./shenhai.json', 'UTF-8')); 4 | // const paths = road.paths; 5 | // const hotData = road.hotData; 6 | 7 | // let npaths = []; 8 | // for (let i = 0; i < paths.length; i+=4) { 9 | // if (!paths[i+2]) { 10 | // npaths.push([paths[i], paths[i+1]]); 11 | // continue; 12 | // } 13 | // if (paths[i+1][0] === paths[i+2][0] && paths[i+1][1] === paths[i+2][1]) { 14 | // npaths.push([paths[i], paths[i+1], paths[i+3]]); 15 | // } else { 16 | // npaths.push([paths[i], paths[i+1], paths[i+2], paths[i+3]]); 17 | // } 18 | // } 19 | 20 | // let nhot = []; 21 | // for (let i = 0; i < hotData.length; i++) { 22 | // const hot = hotData[i]; 23 | // if (~~hot[0] > 35) { 24 | // break; 25 | // } 26 | // nhot.push(hot); 27 | // } 28 | 29 | // let ouput = { 30 | // paths: npaths, 31 | // hotData: nhot 32 | // } 33 | 34 | // console.log(npaths.length) 35 | 36 | // fs.writeFileSync('beltLink.json', JSON.stringify(ouput), err => {throw err;}); 37 | 38 | var result = ""; 39 | for (let i = 0; i < road.length; i++) { 40 | const link = road[i]; 41 | if (i!==0) { 42 | result += ',' 43 | } 44 | result += link.loc; 45 | } 46 | fs.writeFileSync('link.json', result, err => {throw err;}); -------------------------------------------------------------------------------- /road3d/src/images/日历工具_files/weathermap.js: -------------------------------------------------------------------------------- 1 | var weathermap = { 2 | '晴': 'http://i.tq121.com.cn/i/mobile/images/d00.png', 3 | '多云': 'http://i.tq121.com.cn/i/mobile/images/d01.png', 4 | '阴': 'http://i.tq121.com.cn/i/mobile/images/d02.png', 5 | '阵雨': 'http://i.tq121.com.cn/i/mobile/images/d03.png', 6 | '雷阵雨': 'http://i.tq121.com.cn/i/mobile/images/d04.png', 7 | 8 | '雨夹雪': 'http://i.tq121.com.cn/i/mobile/images/d06.png', 9 | 10 | '小雨': 'http://i.tq121.com.cn/i/mobile/images/d07.png', 11 | '中雨': 'http://i.tq121.com.cn/i/mobile/images/d08.png', 12 | '大雨': 'http://i.tq121.com.cn/i/mobile/images/d09.png', 13 | '暴雨': 'http://i.tq121.com.cn/i/mobile/images/d10.png', 14 | 15 | '阵雪': 'http://i.tq121.com.cn/i/mobile/images/d14.png', 16 | '小雪': 'http://i.tq121.com.cn/i/mobile/images/d15.png', 17 | '中雪': 'http://i.tq121.com.cn/i/mobile/images/d15.png', 18 | '大雪': 'http://i.tq121.com.cn/i/mobile/images/d16.png', 19 | 20 | '浮尘': 'http://i.tq121.com.cn/i/mobile/images/d19.png', 21 | 22 | '小到中雨': 'http://i.tq121.com.cn/i/mobile/images/d21.png', 23 | '中到大雨': 'http://i.tq121.com.cn/i/mobile/images/d22.png', 24 | '大到暴雨': 'http://i.tq121.com.cn/i/mobile/images/d23.png', 25 | 26 | '霾': 'http://i.tq121.com.cn/i/mobile/images/d55.png', 27 | 28 | '雨': 'http://i.tq121.com.cn/i/mobile/images/d301.png', 29 | } -------------------------------------------------------------------------------- /index/img/icons/svg/book.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /road3d-map/build/service-worker.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Welcome to your Workbox-powered service worker! 3 | * 4 | * You'll need to register this file in your web app and you should 5 | * disable HTTP caching for this file too. 6 | * See https://goo.gl/nhQhGp 7 | * 8 | * The rest of the code is auto-generated. Please don't update this file 9 | * directly; instead, make changes to your Workbox build configuration 10 | * and re-run your build process. 11 | * See https://goo.gl/2aRDsh 12 | */ 13 | 14 | importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js"); 15 | 16 | importScripts( 17 | "/tools/road3d-map/build/precache-manifest.1257504ac6660927cd09849d05bb9d59.js" 18 | ); 19 | 20 | self.addEventListener('message', (event) => { 21 | if (event.data && event.data.type === 'SKIP_WAITING') { 22 | self.skipWaiting(); 23 | } 24 | }); 25 | 26 | workbox.core.clientsClaim(); 27 | 28 | /** 29 | * The workboxSW.precacheAndRoute() method efficiently caches and responds to 30 | * requests for URLs in the manifest. 31 | * See https://goo.gl/S9QRab 32 | */ 33 | self.__precacheManifest = [].concat(self.__precacheManifest || []); 34 | workbox.precaching.precacheAndRoute(self.__precacheManifest, {}); 35 | 36 | workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("/index.html"), { 37 | 38 | blacklist: [/^\/_/,/\/[^/?]+\.[^/]+$/], 39 | }); 40 | -------------------------------------------------------------------------------- /index/dist/img/icons/svg/book.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /index/img/icons/svg/map.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /index/dist/img/icons/svg/map.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /road3d/page/app-heatmap.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 3D路线热力图工具 6 | 7 | 8 | 49 | 50 | 51 | 52 |
53 | 数据示例 54 | 上传的文件: 55 | 56 |
57 |
58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /thumbnail/data/二环-南向北-菜户营南路至广安门内大街_131_morning.json: -------------------------------------------------------------------------------- 1 | {"title":"二环-南向北-菜户营南路至广安门内大街_131_morning","length":2.252,"index":"2.383917632","speed":"46.35487151","speeds":["10.86717016","10.86717016","10.35023507","10.35023507","10.35023507","7.171511802","7.320544519","8.875983333","8.875983333","11.84821318","10.06502461","10.02544926","10.68960815","10.33776093"],"locations":["116.355686,39.876767,116.355865,39.878142","116.355637,39.87644,116.355686,39.876767,116.355865,39.878142","116.355865,39.878142,116.355896,39.878408,116.355909,39.878528,116.355935,39.878749,116.355954,39.878911","116.355988,39.879245,116.35604,39.879722,116.356076,39.880099","116.355954,39.878911,116.355988,39.879245","116.355546,39.892824,116.355525,39.89382","116.355525,39.89382,116.355524,39.894106,116.35551,39.895169,116.355511,39.895241,116.355511,39.895295","116.35556,39.8922,116.355559,39.89239,116.355558,39.892485,116.355558,39.892556","116.355558,39.892556,116.355546,39.892824","116.355569,39.889351,116.355558,39.890397,116.35556,39.8922","116.356076,39.880099,116.35611,39.880806,116.356113,39.881116,116.356075,39.881781,116.356035,39.882395","116.356035,39.882395,116.356024,39.882529,116.355974,39.883129,116.355969,39.883199,116.355957,39.883351,116.355946,39.883463,116.355918,39.883797,116.355872,39.884319,116.355822,39.88487","116.355807,39.885034,116.355711,39.88611,116.355709,39.886136,116.355705,39.886201,116.35562,39.887537,116.355574,39.888896,116.355574,39.888933,116.355573,39.889023,116.355569,39.889351","116.355822,39.88487,116.355807,39.885034"]} -------------------------------------------------------------------------------- /gis-drawing/app/map/DraggingLabel.js: -------------------------------------------------------------------------------- 1 | function DraggingTip(options) { 2 | var map = options.map; 3 | var point = options.point; 4 | this.point = point; 5 | var name = options.name; 6 | 7 | this.map = map; 8 | var label = this.label = new BMap.Label(name, { 9 | position : point, // 指定文本标注所在的地理位置 10 | offset : new BMap.Size(0, -20) //设置文本偏移量 11 | }); 12 | label.setStyle({ 13 | fontSize : "12px", 14 | fontWeight: 'bold', 15 | height : "20px", 16 | border: '0', 17 | background: 'none', 18 | textShadow: '0px 0px 1px #fff', 19 | color: 'black', 20 | lineHeight : "20px", 21 | fontFamily:"宋体" 22 | }); 23 | var icon = new BMap.Icon("static/images/drag.png", new BMap.Size(name.length * 13 || 25, 25), { 24 | anchor:new BMap.Size(0, 20), 25 | imageSize: new BMap.Size(name.length * 13 || 25, 25) 26 | }); 27 | var marker = this.marker = new BMap.Marker(this.point); 28 | marker.setIcon(icon); 29 | marker.setShadow(icon); 30 | var self = this; 31 | marker.addEventListener('dragging', function () { 32 | self.point = marker.point; 33 | label.setPosition(marker.point) 34 | options.change && options.change(); 35 | }); 36 | marker.enableDragging(); 37 | } 38 | 39 | DraggingTip.prototype.show = function () { 40 | this.map.addOverlay(this.marker); 41 | this.map.addOverlay(this.label); 42 | } 43 | 44 | export default DraggingTip; 45 | -------------------------------------------------------------------------------- /gis-drawing/app/map/DraggingTip.js: -------------------------------------------------------------------------------- 1 | import Tip from './Tip.js'; 2 | 3 | function DraggingTip(options) { 4 | this.options = options; 5 | var map = options.map; 6 | var point = options.point; 7 | this.point = point; 8 | var name = options.name; 9 | 10 | this.map = map; 11 | var tip = this.tip = new Tip(this.point, name, options.color, options.index); 12 | var icon = new BMap.Icon("static/images/drag.png", new BMap.Size(30, 30), { 13 | offset: new BMap.Size(15, 15), 14 | imageSize: new BMap.Size(30, 30) 15 | }); 16 | var marker = this.marker = new BMap.Marker(this.point); 17 | marker.setIcon(icon); 18 | marker.setShadow(icon); 19 | var self = this; 20 | marker.addEventListener('dragging', function () { 21 | self.point = marker.point; 22 | tip.setPosition(marker.point) 23 | options.change && options.change(); 24 | }); 25 | marker.enableDragging(); 26 | } 27 | 28 | DraggingTip.prototype.show = function () { 29 | this.map.addOverlay(this.marker); 30 | this.map.addOverlay(this.tip); 31 | if (this.options.isShowTipArrow === false) { 32 | this.tip.hideArrow(); 33 | } 34 | } 35 | 36 | DraggingTip.prototype.setNumberLeft = function () { 37 | this.tip.setNumberLeft(); 38 | } 39 | 40 | DraggingTip.prototype.setNumberRight = function () { 41 | this.tip.setNumberRight(); 42 | } 43 | 44 | DraggingTip.prototype.hideNumber = function () { 45 | this.tip.hideNumber(); 46 | } 47 | 48 | export default DraggingTip; 49 | -------------------------------------------------------------------------------- /index/docs/examples/vertical-slider.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Flat UI Free 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 21 | 22 | 23 |
24 |

Vertical Slider

25 |
26 |
27 |
28 |
29 |
30 |
31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /road3d-map/build/static/js/runtime-main.3657d775.js: -------------------------------------------------------------------------------- 1 | !function(e){function r(r){for(var n,a,l=r[0],p=r[1],i=r[2],c=0,s=[];c 2 | 3 | 4 | 5 | GeoUtils示例 6 | 7 | 8 | 9 | 10 | 11 | 12 | 29 | 30 | 31 | 32 | 33 |
34 |
35 |

最后一个面坐标:

36 |
37 |
38 | 39 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /thumbnail/data/东四环南路-南向北-垡头路至化工路_131_morning.json: -------------------------------------------------------------------------------- 1 | {"title":"东四环南路-南向北-垡头路至化工路_131_morning","length":2.3850000000000002,"index":"2.080545696","speed":"48.78535829","speeds":["12.86754515","15.08302227","16.40707388","16.40707388","15.08302227","10.45233003","14.096735","15.87579946","10.22898153","15.75270132","10.22898153","10.45233003","15.75270132","13.58753944","10.45233003","14.8999737","15.65137197","16.59339904"],"locations":["116.494881,39.87333,116.494903,39.873686,116.49491,39.873862","116.496403,39.884378,116.496399,39.884769,116.496396,39.885017","116.49636,39.885907,116.496356,39.886368,116.496356,39.886401,116.496442,39.887822,116.496423,39.888969,116.496422,39.889039","116.496396,39.885017,116.49636,39.885907","116.496403,39.884378,116.496399,39.884769","116.495415,39.877223,116.495419,39.877247,116.495498,39.87776","116.493894,39.866995,116.493942,39.867292","116.493942,39.867292,116.494022,39.867792,116.494083,39.868351","116.495704,39.878957,116.49572,39.879062,116.495778,39.879547,116.495921,39.880491","116.496435,39.889786,116.49643,39.890634","116.495921,39.880491,116.496027,39.880965","116.495498,39.87776,116.495665,39.87848,116.495704,39.878957","116.496422,39.889039,116.496422,39.889119,116.496435,39.889786","116.496027,39.880965,116.496179,39.881979,116.496185,39.882019,116.496215,39.882611,116.496222,39.882675,116.496315,39.883443,116.496403,39.884378","116.495314,39.87648,116.495399,39.877122,116.495415,39.877223","116.494505,39.871133,116.494865,39.873182,116.494881,39.87333","116.494258,39.869536,116.494446,39.870727,116.494457,39.870792,116.494505,39.871133","116.494083,39.868351,116.494258,39.869536"]} -------------------------------------------------------------------------------- /road3d/src/engine/object/object-path.js: -------------------------------------------------------------------------------- 1 | import Obj from './Object.js'; 2 | 3 | class Path extends Obj { 4 | constructor(GL, obj) { 5 | super(GL, obj); 6 | 7 | let color = this.color; 8 | let paths = obj.path; 9 | this.verticesColors = []; 10 | paths.forEach((point) => { 11 | this.verticesColors = this.verticesColors.concat(point.concat(color)); 12 | }); 13 | this.verticesColors = new Float32Array(this.verticesColors); 14 | } 15 | 16 | render() { 17 | let gl = this.gl; 18 | gl.uniform1i(this.gl.uUseTexture, false); 19 | let mvMatrix = this.GL.camera.mvMatrix; 20 | 21 | // 顶点/颜色缓冲区操作 22 | let vertexColorBuffer = this.gl.buffers(`vcBuffer${this.id}`); 23 | gl.bindBuffer(gl.ARRAY_BUFFER, vertexColorBuffer); 24 | gl.bufferData(gl.ARRAY_BUFFER, this.verticesColors, gl.STATIC_DRAW); 25 | // 26 | let FSIZE = this.verticesColors.BYTES_PER_ELEMENT; 27 | // 28 | gl.vertexAttribPointer(gl.aPosition, 3, gl.FLOAT, false, FSIZE * 6, 0); 29 | gl.enableVertexAttribArray(gl.aPosition); 30 | // 31 | gl.vertexAttribPointer(gl.aColor, 3, gl.FLOAT, false, FSIZE * 6, FSIZE * 3); 32 | gl.enableVertexAttribArray(gl.aColor); 33 | vertexColorBuffer = null; 34 | gl.bindBuffer(gl.ARRAY_BUFFER, vertexColorBuffer); 35 | 36 | 37 | // set mv 38 | this.updateOpearte(); 39 | // 40 | 41 | gl.uniformMatrix4fv(this.gl.uMVMatrix, false, this.opearteBuild.result); 42 | gl.drawArrays(gl.LINE_STRIP, 0, this.verticesColors.length / 6); 43 | } 44 | } 45 | 46 | export default Path; -------------------------------------------------------------------------------- /calendar/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 日历工具 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 |

日历热力图工具

14 |

拖拽数据到当前页面即可,地址栏后面可以通过?city=xxx来选择不同city的天气,数据格式参考

15 |
16 |
17 |

↓你好,我是工具条↓是的,我是一个很简陋的个工具条↓

18 |

19 | city: 20 |

21 |

22 | 23 |

24 |

25 | 26 | 27 | % 28 | % 29 | % 30 | % 31 | % 32 |

33 | 34 |
35 |
36 |
37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /road3d/src/engine.link/object/object-path.js: -------------------------------------------------------------------------------- 1 | import Obj from './Object.js'; 2 | 3 | class Path extends Obj { 4 | constructor(GL, obj) { 5 | super(GL, obj); 6 | 7 | let color = this.color; 8 | let paths = obj.path; 9 | this.verticesColors = []; 10 | paths.forEach((point) => { 11 | this.verticesColors = this.verticesColors.concat(point.concat(color)); 12 | }); 13 | this.verticesColors = new Float32Array(this.verticesColors); 14 | } 15 | 16 | render() { 17 | let gl = this.gl; 18 | gl.uniform1i(this.gl.uUseTexture, false); 19 | let mvMatrix = this.GL.camera.mvMatrix; 20 | 21 | // 顶点/颜色缓冲区操作 22 | let vertexColorBuffer = this.gl.buffers(`vcBuffer${this.id}`); 23 | gl.bindBuffer(gl.ARRAY_BUFFER, vertexColorBuffer); 24 | gl.bufferData(gl.ARRAY_BUFFER, this.verticesColors, gl.STATIC_DRAW); 25 | // 26 | let FSIZE = this.verticesColors.BYTES_PER_ELEMENT; 27 | // 28 | gl.vertexAttribPointer(gl.aPosition, 3, gl.FLOAT, false, FSIZE * 6, 0); 29 | gl.enableVertexAttribArray(gl.aPosition); 30 | // 31 | gl.vertexAttribPointer(gl.aColor, 3, gl.FLOAT, false, FSIZE * 6, FSIZE * 3); 32 | gl.enableVertexAttribArray(gl.aColor); 33 | vertexColorBuffer = null; 34 | gl.bindBuffer(gl.ARRAY_BUFFER, vertexColorBuffer); 35 | 36 | 37 | // set mv 38 | this.updateOpearte(); 39 | // 40 | 41 | gl.uniformMatrix4fv(this.gl.uMVMatrix, false, this.opearteBuild.result); 42 | gl.drawArrays(gl.LINE_STRIP, 0, this.verticesColors.length / 6); 43 | } 44 | } 45 | 46 | export default Path; -------------------------------------------------------------------------------- /thumbnail/data/东三环南路-南向北-弘燕路至八棵杨中街_131_morning.json: -------------------------------------------------------------------------------- 1 | {"title":"东三环南路-南向北-弘燕路至八棵杨中街_131_morning","length":2.153,"index":"2.284048281","speed":"47.68321989","speeds":["9.647490542","9.647490542","7.610882245","9.108435484","9.384744745","11.53041186","9.695995582","10.25431434","9.302468064","9.302468064","8.819029516","8.819029516","11.58685021","11.61253191"],"locations":["116.467635,39.874701,116.467659,39.87487,116.467664,39.874902,116.467667,39.874927,116.46767,39.875028,116.467701,39.87612","116.467616,39.874626,116.467635,39.874701,116.467659,39.87487,116.467664,39.874902,116.467667,39.874927,116.46767,39.875028,116.467701,39.87612","116.46777,39.879825,116.467772,39.879913,116.467779,39.880249,116.467801,39.881576,116.467808,39.881828,116.46781,39.881942,116.467846,39.883396","116.467871,39.885278,116.467883,39.886182","116.467701,39.87612,116.467704,39.876272,116.467715,39.876971,116.467716,39.877058,116.467717,39.877106,116.467718,39.877146,116.467728,39.877819,116.467731,39.877998","116.468012,39.892868,116.468044,39.893669,116.468047,39.89372,116.468054,39.89387","116.467757,39.879447,116.467763,39.879637,116.46777,39.879825","116.467883,39.886182,116.467887,39.887224","116.46774,39.878472,116.467757,39.879447","116.467731,39.877998,116.46774,39.878472","116.467861,39.88464,116.467871,39.885278","116.467857,39.88437,116.46786,39.88456,116.467861,39.884595,116.467861,39.88464","116.467963,39.889894,116.467963,39.889927,116.467963,39.889952,116.467964,39.889997,116.467964,39.890104,116.467964,39.890142,116.467964,39.890168,116.467969,39.890613,116.467969,39.891368,116.468,39.892551","116.467887,39.887224,116.467888,39.887339,116.467889,39.887386,116.467894,39.887727,116.467933,39.889194,116.467949,39.88948,116.467963,39.889894"]} -------------------------------------------------------------------------------- /thumbnail/data/二环-北向南-积水潭桥至阜成门外大街_131_morning.json: -------------------------------------------------------------------------------- 1 | {"title":"二环-北向南-积水潭桥至阜成门外大街_131_morning","length":3.022,"index":"3.615904767","speed":"32.76496795","speeds":["25.59216954","25.05331665","32.71924405","20.14785226","26.14996196","15.87520761","23.12705896","19.54040687","17.66564977","27.34362077","19.54040687","21.27288547","21.77501216","18.23739239","21.49537228"],"locations":["116.362181,39.941266,116.36229,39.939317,116.362324,39.938512,116.362335,39.938255,116.362336,39.93821","116.362336,39.93821,116.362339,39.938157,116.362345,39.938043,116.362362,39.937696,116.362418,39.936575,116.362489,39.935104","116.362546,39.933335,116.36261,39.931838,116.362613,39.931777,116.362617,39.931677","116.362053,39.943655,116.362154,39.942122,116.362166,39.941931,116.36217,39.941876","116.362489,39.935104,116.362546,39.933335","116.362032,39.946246,116.36203,39.946189,116.362029,39.946148,116.362025,39.946042,116.361984,39.944757,116.362053,39.943655","116.365591,39.950509,116.363762,39.949982,116.363243,39.94981,116.362956,39.949698,116.362905,39.949678,116.362848,39.949639,116.362687,39.949547,116.362615,39.949503,116.362324,39.949263,116.362184,39.94911,116.362072,39.948945,116.361928,39.948586","116.366083,39.950655,116.366028,39.950638,116.365591,39.950509","116.361967,39.947731,116.362008,39.946791,116.362023,39.946438,116.362029,39.946313,116.362032,39.946246","116.361928,39.948586,116.361923,39.948176,116.361919,39.94793,116.361967,39.947731","116.36617,39.95068,116.366083,39.950655","116.37197,39.952421,116.371269,39.952201,116.370419,39.95194","116.372932,39.952841,116.37285,39.952805,116.37197,39.952421","116.370419,39.95194,116.367916,39.95119,116.367191,39.950978","116.378012,39.954641,116.376995,39.954431,116.375494,39.953935"]} -------------------------------------------------------------------------------- /index/img/icons/svg/retina.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /thumbnail/data/西三环中路-南向北-复兴路至车公庄西路_131_morning.json: -------------------------------------------------------------------------------- 1 | {"title":"西三环中路-南向北-复兴路至车公庄西路_131_morning","length":2.46,"index":"2.797692343","speed":"38.52720264","speeds":["12.07856065","17.89941295","14.50210805","14.50210805","16.06444021","16.56851048","18.17101903","16.34469883","16.34469883","16.34141179","15.97001033","16.34141179","16.34141179","16.34141179","20.80946182","17.22724764"],"locations":["116.316995,39.915334,116.316996,39.915422,116.316998,39.915602,116.316986,39.917118,116.316984,39.918183,116.316983,39.918239,116.316982,39.91879","116.316918,39.922657,116.316912,39.923292,116.31689,39.923956","116.317009,39.914218,116.317007,39.914422,116.317003,39.914834","116.317003,39.914834,116.317002,39.914951,116.316998,39.915121,116.316995,39.915334","116.316799,39.932641,116.316795,39.933083","116.316982,39.91879,116.316959,39.920381,116.316948,39.921071,116.316939,39.921705,116.316918,39.922657","116.316793,39.93441,116.316792,39.935029","116.316799,39.93013,116.316799,39.930162,116.316799,39.930407","116.316799,39.930407,116.316799,39.930574,116.3168,39.9311,116.316799,39.932641","116.316802,39.929737,116.3168,39.92998,116.3168,39.929998,116.316799,39.93013","116.316854,39.925687,116.316833,39.926625","116.316821,39.927902,116.31682,39.928276,116.316803,39.929531,116.316802,39.929566,116.316802,39.929737","116.316823,39.927262,116.316823,39.927473,116.316821,39.927902","116.316833,39.926625,116.316824,39.927032,116.316824,39.927103,116.316823,39.927262","116.316788,39.935799,116.316782,39.93696,116.316778,39.937817,116.316775,39.938144,116.316775,39.938226,116.316774,39.938323,116.316774,39.93835,116.316773,39.93842,116.316773,39.938462","116.31689,39.923956,116.316885,39.924168,116.316884,39.924185,116.316859,39.925171,116.316854,39.925687"]} -------------------------------------------------------------------------------- /index/dist/img/icons/svg/retina.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /road3d/src/engine.back/obj/path.js: -------------------------------------------------------------------------------- 1 | import Obj from './OBJ.js'; 2 | 3 | class Path extends Obj { 4 | constructor(GL, obj) { 5 | super(GL, obj); 6 | 7 | this.width = obj.width || 10.0; 8 | this.height = obj.height || 10.0; 9 | 10 | var color = this.color; 11 | var paths = obj.path; 12 | this.verticesColors = []; 13 | paths.forEach((point) => { 14 | this.verticesColors = this.verticesColors.concat(point.concat(color)); 15 | }); 16 | this.verticesColors = new Float32Array(this.verticesColors); 17 | } 18 | 19 | render() { 20 | var gl = this.gl; 21 | // this.gl.uniform1i(this.gl.uUseTexture, false); 22 | var mvMatrix = this.GL.camera.mvMatrix; 23 | 24 | // 顶点/颜色缓冲区操作 25 | var vertexColorBuffer = this.gl.ubuffer || gl.createBuffer(); 26 | gl.bindBuffer(gl.ARRAY_BUFFER, vertexColorBuffer); 27 | gl.bufferData(gl.ARRAY_BUFFER, this.verticesColors, gl.STATIC_DRAW); 28 | // 29 | var FSIZE = this.verticesColors.BYTES_PER_ELEMENT; 30 | // 31 | gl.vertexAttribPointer(gl.aPosition, 3, gl.FLOAT, false, FSIZE * 6, 0); 32 | gl.enableVertexAttribArray(gl.aPosition); 33 | // 34 | gl.vertexAttribPointer(gl.aColor, 3, gl.FLOAT, false, FSIZE * 6, FSIZE * 3); 35 | gl.enableVertexAttribArray(gl.aColor); 36 | vertexColorBuffer = null; 37 | gl.bindBuffer(gl.ARRAY_BUFFER, vertexColorBuffer); 38 | 39 | 40 | // set mv 41 | this.updateOpearte(); 42 | // 43 | 44 | gl.uniformMatrix4fv(this.gl.uMVMatrix, false, this.opearteBuild.result); 45 | gl.drawArrays(gl.LINE_STRIP, 0, this.verticesColors.length / 6); 46 | } 47 | 48 | } 49 | 50 | export default Path; -------------------------------------------------------------------------------- /gis-drawing/app/app.jsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | 4 | import Map from './map.jsx'; 5 | import MiniMap from './miniMap.jsx'; 6 | import Panel from './panel.jsx'; 7 | 8 | class App extends React.Component { 9 | 10 | constructor(args) { 11 | super(args); 12 | this.state = { 13 | isFullMap: false, 14 | showMiniMap: true, 15 | } 16 | this.hideOrShowMiniMap = this.hideOrShowMiniMap.bind(this); 17 | } 18 | 19 | togglePanel(isFullMap) { 20 | this.setState({ 21 | isFullMap: isFullMap 22 | }); 23 | } 24 | 25 | hideOrShowMiniMap(showMiniMap) { 26 | this.setState({ 27 | showMiniMap, 28 | }); 29 | } 30 | 31 | render() { 32 | var className = "container"; 33 | if (this.state.isFullMap) { 34 | className = "full-map"; 35 | } 36 | console.log('showMiniMap', this.state.showMiniMap); 37 | return ( 38 |
39 | 40 | 41 | 42 |
43 | 49 |
50 | 51 |
52 | ); 53 | }; 54 | } 55 | 56 | const app = document.createElement('div'); 57 | document.body.appendChild(app); 58 | ReactDOM.render(, app); 59 | -------------------------------------------------------------------------------- /thumbnail/data/二环-南向北-莲花池东路至复兴门内大街_131_morning.json: -------------------------------------------------------------------------------- 1 | {"title":"二环-南向北-莲花池东路至复兴门内大街_131_morning","length":1.825,"index":"3.085626586","speed":"33.44515017","speeds":["17.68079978","19.57788737","13.76565708","19.57788737","8.286622442","12.8814358","13.32961197","13.32961197","8.901651763","8.901651763","10.07943555","11.0008287"],"locations":["116.363416,39.910072,116.363318,39.911909","116.363318,39.911909,116.363265,39.91289,116.363258,39.913019","116.363393,39.908708,116.36339,39.908909,116.36339,39.908929,116.36339,39.908963,116.363416,39.910072","116.363258,39.913019,116.363258,39.91306,116.363263,39.913491,116.363249,39.914069","116.355496,39.902578,116.355564,39.90271,116.355645,39.902841,116.355697,39.902924,116.355737,39.902965,116.355756,39.90298,116.355982,39.903158,116.356114,39.903265,116.356141,39.90329,116.356162,39.90331,116.356186,39.903332,116.356266,39.903396,116.356414,39.9035,116.35653,39.903551,116.356651,39.903605,116.35676,39.903653,116.356954,39.903716,116.357098,39.903762,116.357538,39.903827,116.357955,39.903868","116.363109,39.905267,116.363131,39.905298,116.363295,39.905623,116.363376,39.905935,116.363429,39.906514,116.363406,39.907035","116.363398,39.907346,116.363391,39.907603,116.363393,39.908708","116.363406,39.907035,116.363401,39.907217,116.3634,39.907253,116.363399,39.907289,116.363399,39.907307,116.363398,39.907346","116.355374,39.90209,116.355384,39.902196,116.355455,39.902439,116.35547,39.902489,116.355496,39.902578","116.355352,39.901858,116.355374,39.90209","116.357955,39.903868,116.3592,39.903961,116.359477,39.903982,116.359587,39.90399,116.359989,39.904021,116.360768,39.904081","116.360768,39.904081,116.36108,39.904105,116.361641,39.904228,116.36199,39.904347,116.362301,39.904521,116.362652,39.904762,116.362921,39.905018,116.362991,39.905111,116.363034,39.905167,116.363075,39.90522,116.363109,39.905267"]} -------------------------------------------------------------------------------- /cross_coord/test.js: -------------------------------------------------------------------------------- 1 | // init map 2 | 3 | var map = new BMap.Map('mapWarp'); 4 | 5 | var pt = new BMap.Point(116.404, 39.915); 6 | 7 | map.centerAndZoom(pt, 16); 8 | 9 | map.enableScrollWheelZoom();//开启滚动缩放 10 | map.enableContinuousZoom();//开启缩放平滑 11 | 12 | // 百度地图API功能 13 | // var map = new BMap.Map('map'); 14 | // var poi = new BMap.Point(116.307852, 40.057031); 15 | // map.centerAndZoom(poi, 16); 16 | map.enableScrollWheelZoom(); 17 | 18 | 19 | var styleOptions = { 20 | strokeColor: ['#fd3e73', '#ff6626', '#545d7c', '#b7db61', '#b775af','#e2443f','#ffe56e','#79cce6'], 21 | fillColor: ["rgba(255,94,94,0.5)",'rgba(255,101,37,0.5)', 'rgba(84,93,124,0.5)', 'rgba(183,219,97,0.5)', 'rgba(183,117,175,0.5)','rgba(226,68,63,0.5)','rgba(255,229,110,0.5)','rgba(121,204,230,0.5)'], 22 | strokeWeight: 3, //边线的宽度,以像素为单位。 23 | } 24 | var colorBlock = new BMapLib.ColorBlock(map, { 25 | enableDrawingTool: true, 26 | polygonOptions: styleOptions 27 | }); 28 | 29 | 30 | function polygonCallback(result) { 31 | var rs = result[result.length - 1]; 32 | var path = rs.polygons[0]; 33 | var mercatorProjection = map.getMapType().getProjection(); 34 | var pathStr = ""; 35 | var pathmcStr = ""; 36 | for (var i = 0; i < path.length; i++) { 37 | pathStr += path[i].lng + "," + path[i].lat + ","; 38 | var mc = mercatorProjection.lngLatToPoint(path[i]); 39 | pathmcStr += mc.x + "," + mc.y + ","; 40 | } 41 | pathmcStr = pathmcStr.substr(0, pathmcStr.length - 1); 42 | pathStr = pathStr.substr(0, pathStr.length - 1); 43 | document.getElementById('result').innerHTML = "
坐标集(经纬度):

" + pathStr + "

" 44 | + "
坐标集(墨卡托坐标):

" + pathmcStr + "

"; 45 | } 46 | -------------------------------------------------------------------------------- /road3d-map/build/static/css/main.f449dfbc.chunk.css: -------------------------------------------------------------------------------- 1 | body,html{margin:0;overflow:hidden;width:100%;height:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.title-header{position:absolute;top:10px;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);z-index:10;text-align:center}.title-header h1{display:inline-block;color:#3290ff;vertical-align:middle;margin:0 20px 0 0}.title-header .title-input{position:absolute;top:4px;left:-20px}.title-header .title-btn{display:none;vertical-align:middle}.title-header:hover .title-btn{display:inline-block}.canvas{bottom:0;right:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transform-origin:right bottom;transform-origin:right bottom}.canvas,.dashboard{position:absolute!important;cursor:pointer;z-index:10}.dashboard{width:200px;height:100px;top:0;box-sizing:border-box;padding:12px;border:3px dashed #000;border-radius:5px;font-size:20px;color:#fff;text-align:center;line-height:70px;background:#444}.dashboard:hover{background:#666}.change{bottom:216px;right:0;width:100px}.change,.fileUpload{position:absolute!important;line-height:30px;font-size:14px;text-align:center;border-radius:10px;color:#fff;z-index:10;cursor:pointer;background:#3290ff}.fileUpload{top:10px;width:300px}.show{position:absolute!important;width:160px;bottom:270px;right:0;line-height:30px;font-size:14px;text-align:center;border-radius:10px;color:#fff;z-index:10;cursor:pointer;background:#3290ff;text-align:left;padding-left:20px}.show p{margin-bottom:0}.change:hover{background:#40a9ff}.dg.ac{z-index:999!important}.dg.ac input{line-height:16px}.dg .slider{margin-left:0} 2 | /*# sourceMappingURL=main.f449dfbc.chunk.css.map */ -------------------------------------------------------------------------------- /index/img/icons/svg/clipboard.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /index/dist/img/icons/svg/clipboard.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /thumbnail/data/西三环南路-南向北-丽源路至莲花池西路_131_morning.json: -------------------------------------------------------------------------------- 1 | {"title":"西三环南路-南向北-丽源路至莲花池西路_131_morning","length":2.3160000000000003,"index":"4.188382752","speed":"32.79088268","speeds":["9.381691742","13.22138282","9.5048191","9.381691742","9.381691742","9.381691742","13.42185532","13.55802825","12.88453475","14.57322232","14.91835198","13.00291596","9.5048191","14.57625513","14.57625513","14.15027835","11.71118374","13.27578449","12.17889592","13.36116097","22.68468303","22.68468303"],"locations":["116.317515,39.8876,116.317455,39.88809","116.316915,39.90167,116.316906,39.902071,116.316896,39.902541,116.316902,39.902991,116.316903,39.903135,116.316909,39.903613,116.31691,39.903688,116.316931,39.905366","116.317697,39.886024,116.317515,39.8876","116.317416,39.888459,116.317407,39.888553,116.317386,39.888674","116.317416,39.888459,116.317407,39.888553","116.317455,39.88809,116.31745,39.88814,116.317434,39.888289,116.317416,39.888459","116.317179,39.890718,116.317169,39.8908,116.31714,39.891038,116.317065,39.891666","116.31692,39.901287,116.316915,39.90167","116.317065,39.891666,116.316993,39.892594,116.316986,39.892834","116.316984,39.893079,116.316987,39.893291","116.317888,39.884503,116.317863,39.884766,116.317765,39.885547","116.317257,39.889911,116.317215,39.890375,116.317212,39.890407,116.317186,39.890648,116.317179,39.890718","116.317765,39.885547,116.317697,39.886024","116.316971,39.899345,116.316956,39.900116,116.316952,39.900711","116.316952,39.900711,116.31692,39.901287","116.316986,39.892834,116.316985,39.892951,116.316984,39.893079","116.317386,39.888674,116.317257,39.889911","116.316987,39.893291,116.316993,39.894127","116.316975,39.897474,116.316969,39.898133,116.31697,39.898556","116.31697,39.898556,116.31697,39.898799,116.316971,39.899345","116.317942,39.883938,116.317888,39.884503","116.318232,39.881295,116.318138,39.882259,116.318009,39.883205,116.317977,39.883574,116.317953,39.883817,116.317942,39.883938"]} -------------------------------------------------------------------------------- /thumbnail/data/北五环路-西向东-厢红旗路至万泉河路_131_morning.json: -------------------------------------------------------------------------------- 1 | {"title":"北五环路-西向东-厢红旗路至万泉河路_131_morning","length":3.417,"index":"4.326173358","speed":"39.91263319","speeds":["15.65740502","21.21424091","12.04152341","15.37666871","15.30856264","12.04152341","11.64958944","12.04152341","15.65740502","14.03351834","15.37666871","17.78121368","13.86731868","15.24587106","15.99522969","20.67207343","17.77363664","16.20940547","16.04004732","16.42330568"],"locations":["116.285251,40.018656,116.285352,40.018671,116.285818,40.018741","116.300991,40.020397,116.301138,40.020411","116.270004,40.009343,116.270046,40.009347,116.270678,40.009465","116.294109,40.019667,116.294822,40.019744","116.287953,40.018985,116.289709,40.019183","116.270678,40.009465,116.270991,40.009523","116.266524,40.009121,116.26945,40.009291","116.26945,40.009291,116.270004,40.009343","116.285818,40.018741,116.287953,40.018985","116.294822,40.019744,116.297956,40.020079","116.290608,40.019274,116.293515,40.019603,116.293563,40.019608,116.293809,40.019635,116.294003,40.019656,116.294109,40.019667","116.274222,40.010554,116.274479,40.010671,116.275682,40.011583","116.262481,40.008882,116.263379,40.008934,116.263577,40.008945,116.263742,40.008951,116.265923,40.009085","116.289709,40.019183,116.290455,40.019257,116.290608,40.019274","116.280088,40.017123,116.280433,40.01733,116.280726,40.017511,116.281295,40.017767,116.28193,40.018,116.282277,40.018095,116.283138,40.018323","116.297956,40.020079,116.298206,40.020107,116.299738,40.02028,116.300991,40.020397","116.275682,40.011583,116.275957,40.011791,116.275994,40.01182,116.276018,40.011854,116.276755,40.012906,116.27699,40.013241","116.27699,40.013241,116.277271,40.013642,116.277516,40.014037,116.277867,40.014613,116.278113,40.015014,116.278575,40.01562","116.283138,40.018323,116.283235,40.018349,116.285251,40.018656","116.278575,40.01562,116.278864,40.015998,116.278957,40.016085,116.279821,40.016887,116.279888,40.016949,116.280088,40.017123"]} -------------------------------------------------------------------------------- /index/docs/assets/css/src/prettyprint.less: -------------------------------------------------------------------------------- 1 | /* Prettyfy Theme */ 2 | .prettyprint { 3 | background-color: #F7F7F9; 4 | font-family: Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Consolas, monospace; 5 | border: 2px solid #E1E1E8; 6 | padding: 15px 21px; 7 | } 8 | 9 | .pln { 10 | color: #333333; 11 | } 12 | 13 | @media screen { 14 | .str { 15 | color: #dd1144; 16 | } 17 | 18 | .kwd { 19 | color: #333333; 20 | } 21 | 22 | .com { 23 | color: #999988; 24 | } 25 | 26 | .typ { 27 | color: #445588; 28 | } 29 | 30 | .lit { 31 | color: #445588; 32 | } 33 | 34 | .pun { 35 | color: #333333; 36 | } 37 | 38 | .opn { 39 | color: #333333; 40 | } 41 | 42 | .clo { 43 | color: #333333; 44 | } 45 | 46 | .tag { 47 | color: navy; 48 | } 49 | 50 | .atn { 51 | color: teal; 52 | } 53 | 54 | .atv { 55 | color: #dd1144; 56 | } 57 | 58 | .dec { 59 | color: #333333; 60 | } 61 | 62 | .var { 63 | color: teal; 64 | } 65 | 66 | .fun { 67 | color: #990000; 68 | } 69 | } 70 | @media print, projection { 71 | .str { 72 | color: #006600; 73 | } 74 | 75 | .kwd { 76 | color: #006; 77 | font-weight: bold; 78 | } 79 | 80 | .com { 81 | color: #600; 82 | font-style: italic; 83 | } 84 | 85 | .typ { 86 | color: #404; 87 | font-weight: bold; 88 | } 89 | 90 | .lit { 91 | color: #004444; 92 | } 93 | 94 | .pun, .opn, .clo { 95 | color: #444400; 96 | } 97 | 98 | .tag { 99 | color: #006; 100 | font-weight: bold; 101 | } 102 | 103 | .atn { 104 | color: #440044; 105 | } 106 | 107 | .atv { 108 | color: #006600; 109 | } 110 | } 111 | /* Specify class=linenums on a pre to get line numbering */ 112 | ol.linenums { 113 | margin-top: 0; 114 | margin-bottom: 0; 115 | } 116 | -------------------------------------------------------------------------------- /thumbnail/data/京通快速路-东向西-东五环路至东四环中路_131_morning.json: -------------------------------------------------------------------------------- 1 | {"title":"京通快速路-东向西-东五环路至东四环中路_131_morning","length":4.306000000000001,"index":"1.894727605","speed":"51.24434073","speeds":["23.74328185","12.01293853","44.23228823","17.45161256","16.61008734","15.88815319","18.04167792","14.165227","43.05467235","24.75973794","13.44642312","11.43690143","12.78420135","15.69779058","17.40139459","14.93341451","13.44642312","43.05467235","44.23228823","54.1968058"],"locations":["116.525715,39.914316,116.525357,39.914272,116.524657,39.914238,116.521624,39.914256,116.52101,39.914259","116.513571,39.914291,116.51023,39.914288","116.502696,39.914263,116.502657,39.914262,116.501631,39.914254","116.543892,39.915771,116.54191,39.91583","116.517351,39.914283,116.517201,39.914286,116.517118,39.914281,116.517038,39.914287,116.516944,39.914286,116.516448,39.914286","116.516448,39.914286,116.514898,39.914289,116.513571,39.914291","116.529516,39.915113,116.527273,39.914669,116.525846,39.914329,116.525715,39.914316","116.532783,39.915727,116.532208,39.915638,116.529516,39.915113","116.506953,39.914281,116.506745,39.91428,116.506432,39.914282","116.51023,39.914288,116.509962,39.914287,116.506953,39.914281","116.545106,39.915738,116.544839,39.915745,116.543892,39.915771","116.549118,39.915626,116.548027,39.915658,116.545807,39.915718","116.552486,39.915525,116.550838,39.915575,116.550556,39.915583,116.549118,39.915626","116.539113,39.915901,116.53644,39.915963,116.536272,39.915966","116.54191,39.91583,116.539113,39.915901","116.536272,39.915966,116.53609,39.91597,116.536018,39.915975,116.535471,39.915978,116.534742,39.91595,116.533892,39.915896,116.532783,39.915727","116.545807,39.915718,116.545106,39.915738","116.506432,39.914282,116.504653,39.914273","116.504653,39.914273,116.503221,39.914265,116.502942,39.914264,116.502924,39.914264,116.502696,39.914263","116.501631,39.914254,116.50088,39.914251,116.49972,39.914247,116.499413,39.914245,116.498912,39.914243,116.498848,39.914243,116.49867,39.914242"]} -------------------------------------------------------------------------------- /gis-drawing/app/colorlist.jsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | class App extends React.Component { 4 | constructor(args) { 5 | super(args); 6 | this.state = { 7 | colors: this.props.colors || [ 8 | '#b71c1c', 9 | '#880e4f', 10 | '#4a148c', 11 | '#d50000', 12 | '#c51162', 13 | '#aa00ff', 14 | '#311b92', 15 | '#1a237e', 16 | '#0d47a1', 17 | '#6200ea', 18 | '#304ffe', 19 | '#2962ff', 20 | '#01579b', 21 | '#006064', 22 | '#004d40', 23 | '#0091ea', 24 | '#00b8d4', 25 | '#00bfa5', 26 | '#1b5e20', 27 | '#33691e', 28 | '#827717', 29 | '#00c853', 30 | '#64dd17', 31 | '#aeea00', 32 | '#f57f17', 33 | '#ff6f00', 34 | '#e65100', 35 | '#ffd600', 36 | '#ffab00', 37 | '#ff6d00', 38 | '#bf360c', 39 | '#3e2723', 40 | '#212121', 41 | '#dd2c00', 42 | '#263238', 43 | '#000', 44 | '#fff', 45 | ] 46 | } 47 | } 48 | 49 | componentDidMount() { 50 | } 51 | 52 | changeColor(color) { 53 | this.props.changeColor && this.props.changeColor(color); 54 | } 55 | 56 | render() { 57 | var self = this; 58 | var module = this.state.colors.map(function (item, index) { 59 | return
  • 60 | }); 61 | 62 | return ( 63 |
      {module}
    64 | ) 65 | } 66 | } 67 | 68 | export default App; 69 | -------------------------------------------------------------------------------- /road3d/src/engine.back/obj/plane.js: -------------------------------------------------------------------------------- 1 | import Obj from './OBJ.js'; 2 | 3 | class Plane extends Obj { 4 | constructor(GL, obj) { 5 | super(GL, obj); 6 | 7 | this.width = obj.width || 10.0; 8 | this.height = obj.height || 10.0; 9 | 10 | var color = this.color; 11 | 12 | this.verticesColors = new Float32Array([-this.width / 2, +this.height / 2, 0.0, color[0], color[1], color[2], +this.width / 2, +this.height / 2, 0.0, color[0], color[1], color[2], +this.width / 2, -this.height / 2, 0.0, color[0], color[1], color[2], -this.width / 2, -this.height / 2, 0.0, color[0], color[1], color[2]]); 13 | 14 | this.indices = new Uint8Array([ 15 | 0, 1, 2, 0, 2, 3, 16 | ]); 17 | } 18 | 19 | 20 | render() { 21 | var gl = this.gl; 22 | var mvMatrix = this.GL.camera.mvMatrix; 23 | 24 | // 顶点/颜色缓冲区操作 25 | var vertexColorBuffer = this.gl.ubuffer || gl.createBuffer(); 26 | gl.bindBuffer(gl.ARRAY_BUFFER, vertexColorBuffer); 27 | gl.bufferData(gl.ARRAY_BUFFER, this.verticesColors, gl.STATIC_DRAW); 28 | // 29 | var FSIZE = this.verticesColors.BYTES_PER_ELEMENT; 30 | // 31 | gl.vertexAttribPointer(gl.aPosition, 3, gl.FLOAT, false, FSIZE * 6, 0); 32 | gl.enableVertexAttribArray(gl.aPosition); 33 | // 34 | gl.vertexAttribPointer(gl.aColor, 3, gl.FLOAT, false, FSIZE * 6, FSIZE * 3); 35 | gl.enableVertexAttribArray(gl.aColor); 36 | 37 | // 顶点索引缓冲区 38 | var indexBuffer = gl.createBuffer(); 39 | gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, indexBuffer); 40 | gl.bufferData(gl.ELEMENT_ARRAY_BUFFER, this.indices, gl.STATIC_DRAW); 41 | 42 | // set mv 43 | this.updateOpearte(); 44 | // 45 | gl.uniformMatrix4fv(this.gl.uMVMatrix, false, this.opearteBuild.result); 46 | gl.drawElements(gl.TRIANGLES, this.indices.length, gl.UNSIGNED_BYTE, 0); 47 | } 48 | 49 | } 50 | 51 | export default Plane; -------------------------------------------------------------------------------- /hxbank/demo/editor.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | MapVGL 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
    14 |
    15 | 首页 16 |
    17 |
    18 | 19 |
    20 | 28 |
    29 | 30 |
    31 |
    32 | 运行 33 |
    34 |
    35 | 还原 36 |
    37 |
    38 |
    39 | 40 |
    41 |
    42 | 43 |
    44 |
    45 | 46 |
    47 | 48 | 49 | 50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /thumbnail/data/东五环路-南向北-广渠路至朝阳北路_131_morning.json: -------------------------------------------------------------------------------- 1 | {"title":"东五环路-南向北-广渠路至朝阳北路_131_morning","length":3.6790000000000003,"index":"3.495762627","speed":"33.05450284","speeds":["20.22472703","19.45579372","19.45579372","19.45579372","13.93529526","14.16482981","19.80691721","20.22472703","15.92854935","19.56821203","12.47165022","17.67420263","13.83437313","13.15339174","12.38444175","19.32519424","19.14711441","13.15339174","24.12564631"],"locations":["116.550244,39.921397,116.550202,39.922042,116.550194,39.922162,116.550186,39.922289,116.550179,39.922398,116.550157,39.922778","116.550405,39.919548,116.550362,39.919919","116.550485,39.918874,116.550405,39.919548","116.550362,39.919919,116.55027,39.921003,116.550244,39.921397","116.55354,39.901832,116.553335,39.902846","116.550656,39.917201,116.550508,39.918552,116.550485,39.918874","116.550125,39.923249,116.549992,39.925577","116.550157,39.922778,116.55014,39.922999,116.550125,39.923249","116.551973,39.909559,116.551893,39.909992,116.55185,39.910184,116.551743,39.910741,116.551726,39.910829,116.551608,39.911465,116.551575,39.911645","116.551973,39.909559,116.551893,39.909992,116.55185,39.910184,116.551743,39.910741,116.551726,39.910829,116.551608,39.911465","116.551575,39.911645,116.551399,39.912433,116.551251,39.913088,116.55121,39.913322,116.551111,39.913888,116.551064,39.914155","116.554271,39.897085,116.554242,39.897277,116.554149,39.897909,116.553972,39.899107,116.553951,39.899246,116.553942,39.89931,116.553926,39.899417,116.553888,39.899674","116.553335,39.902846,116.553218,39.90342,116.553061,39.904154,116.553011,39.904383","116.550711,39.916698,116.550665,39.917114,116.550656,39.917201","116.553888,39.899674,116.55374,39.900677,116.553706,39.900904,116.553657,39.901239,116.55365,39.901287,116.55354,39.901832","116.552467,39.907029,116.552201,39.908353,116.552053,39.909124,116.551973,39.909559","116.553011,39.904383,116.552807,39.905338,116.552467,39.907029","116.551064,39.914155,116.551035,39.914318,116.551032,39.914341,116.550892,39.91523,116.550838,39.915575,116.550824,39.915665,116.550746,39.91638,116.550711,39.916698","116.549992,39.925577,116.549987,39.925664,116.549807,39.928135"]} -------------------------------------------------------------------------------- /thumbnail/data/西四环中路-南向北-小井西路至复兴路_131_morning.json: -------------------------------------------------------------------------------- 1 | {"title":"西四环中路-南向北-小井西路至复兴路_131_morning","length":4.184,"index":"2.582812763","speed":"39.8533669","speeds":["12.22398804","16.0560903","16.23161971","20.15605384","20.15605384","19.73834286","17.40255428","20.15605384","15.71391618","11.4901789","14.457948","17.7874397","11.44642029","14.457948","17.26422089","15.71391618","25.84754975","12.47019432","16.03603104","17.7874397","24.33902061"],"locations":["116.285987,39.878902,116.285935,39.878992,116.285852,39.879135,116.285691,39.879409,116.285682,39.879433,116.285477,39.87999,116.284863,39.881664,116.284842,39.88171,116.284809,39.881801,116.284776,39.88189","116.281317,39.891026,116.281208,39.891422,116.28105,39.892002,116.280649,39.894887","116.287465,39.876616,116.286338,39.878301,116.285987,39.878902","116.280642,39.897533,116.28064,39.898483","116.28064,39.898483,116.280625,39.899873,116.280622,39.90019","116.280627,39.900353,116.280637,39.901752","116.281833,39.889547,116.281317,39.891026","116.28064,39.898483,116.280625,39.899873,116.280622,39.90019,116.280627,39.900353","116.280637,39.902612,116.280639,39.903038,116.280639,39.903133,116.28064,39.903255,116.28064,39.903375,116.280641,39.903607,116.280646,39.904746,116.280647,39.904926,116.280648,39.905125","116.284307,39.883062,116.283543,39.884973","116.28063,39.895162,116.280644,39.896437,116.280648,39.896828","116.282303,39.888245,116.28213,39.888699,116.281833,39.889547","116.284776,39.88189,116.284754,39.881945,116.284611,39.882303,116.284307,39.883062","116.280649,39.894887,116.28063,39.895162","116.280648,39.896828,116.280642,39.897533","116.280648,39.905125,116.280644,39.905725","116.280675,39.910244,116.280679,39.911044,116.280686,39.912354,116.280687,39.912591","116.283543,39.884973,116.282961,39.886517,116.282919,39.886616,116.282903,39.886677,116.282848,39.886812,116.282718,39.887154","116.280644,39.905725,116.280654,39.906403,116.280655,39.906573,116.280656,39.906742,116.280665,39.908215,116.280665,39.908307","116.282718,39.887154,116.282303,39.888245","116.280665,39.908307,116.280672,39.909809,116.280673,39.909994,116.280674,39.91007,116.280675,39.910187,116.280675,39.910244"]} -------------------------------------------------------------------------------- /vertical-curve/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 曲线工具 6 | 7 | 8 | 9 |
    10 | 数据格式 11 | 12 | 13 | 14 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /index/img/icons/svg/pencils.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /index/dist/img/icons/svg/pencils.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /road3d-map/src/App.less: -------------------------------------------------------------------------------- 1 | .canvas { 2 | position: absolute !important; 3 | bottom: 0px; 4 | right: 0px; 5 | // width: 298px; 6 | // height: 96px; 7 | // width: 256px; 8 | // height: 128px; 9 | cursor: pointer; 10 | z-index: 10; 11 | transform: scale(2); 12 | transform-origin: right bottom; 13 | } 14 | 15 | .dashboard { 16 | width: 200px; 17 | height: 100px; 18 | position: absolute !important; 19 | top: 0; 20 | box-sizing: border-box; 21 | padding: 12px; 22 | border: 3px dashed #000000; 23 | border-radius: 5px; 24 | font-size: 20px; 25 | color: white; 26 | cursor: pointer; 27 | z-index: 10; 28 | text-align: center; 29 | line-height: 70px; 30 | background: #444444; 31 | } 32 | 33 | .dashboard:hover{ 34 | background: #666666; 35 | } 36 | 37 | .change{ 38 | position: absolute !important; 39 | bottom: 216px; 40 | right: 0px; 41 | width: 100px; 42 | line-height: 30px; 43 | font-size: 14px; 44 | text-align: center; 45 | border-radius: 10px; 46 | color: white; 47 | z-index: 10; 48 | cursor: pointer; 49 | background: #3290ff; 50 | } 51 | 52 | .fileUpload{ 53 | position: absolute !important; 54 | top: 10px; 55 | width: 300px; 56 | line-height: 30px; 57 | font-size: 14px; 58 | text-align: center; 59 | border-radius: 10px; 60 | color: white; 61 | z-index: 10; 62 | cursor: pointer; 63 | background: #3290ff; 64 | } 65 | 66 | .show{ 67 | position: absolute !important; 68 | width: 160px; 69 | bottom: 270px; 70 | right: 0px; 71 | line-height: 30px; 72 | font-size: 14px; 73 | text-align: center; 74 | border-radius: 10px; 75 | color: white; 76 | z-index: 10; 77 | cursor: pointer; 78 | background: #3290ff; 79 | text-align: left; 80 | padding-left: 20px; 81 | p{ 82 | margin-bottom: 0; 83 | } 84 | } 85 | 86 | .change:hover{ 87 | background: #40a9ff; 88 | } 89 | 90 | .dg.ac { 91 | z-index: 999 !important; 92 | 93 | input { 94 | line-height: 16px; 95 | } 96 | } 97 | .dg .slider { 98 | margin-left: 0; 99 | } -------------------------------------------------------------------------------- /navigation/static/script/utils.js: -------------------------------------------------------------------------------- 1 | var map = require('./map'); 2 | 3 | function addStart(point) { 4 | var myIcon = new BMap.Icon("static/images/markers.png", new BMap.Size(25,40), { 5 | imageOffset: new BMap.Size(-200, -139), 6 | anchor: new BMap.Size(12, 40) 7 | }); 8 | var marker2 = new BMap.Marker(point,{icon:myIcon}); // 创建标注 9 | map.addOverlay(marker2); // 将标注添加到地图中 10 | return marker2; 11 | } 12 | 13 | function addEnd(point) { 14 | var myIcon = new BMap.Icon("static/images/markers.png", new BMap.Size(25,40), { 15 | imageOffset: new BMap.Size(-225, -139), 16 | anchor: new BMap.Size(12, 40) 17 | }); 18 | var marker2 = new BMap.Marker(point,{icon:myIcon}); // 创建标注 19 | map.addOverlay(marker2); // 将标注添加到地图中 20 | return marker2; 21 | } 22 | 23 | function addDirection(points, i) { 24 | var icon = new BMap.Icon("static/images/direction.png", new BMap.Size(20, 20), { 25 | imageSize: new BMap.Size(20, 20) 26 | }); 27 | 28 | var curIndex = i; 29 | var curPos = points[curIndex]; 30 | var marker = new BMap.Marker(curPos); 31 | map.addOverlay(marker); 32 | marker.setIcon(icon); 33 | marker.setShadow(icon); 34 | var targetPos = points[curIndex + 1]; 35 | var curPos = map.pointToPixel(curPos); 36 | var targetPos = map.pointToPixel(targetPos); 37 | 38 | 39 | if(targetPos.x != curPos.x){ 40 | var tan = (targetPos.y - curPos.y)/(targetPos.x - curPos.x), 41 | atan = Math.atan(tan); 42 | deg = atan*360/(2*Math.PI); 43 | //degree correction; 44 | if(targetPos.x < curPos.x){ 45 | deg = -deg + 90 + 90; 46 | 47 | } else { 48 | deg = -deg; 49 | } 50 | 51 | marker.setRotation(-deg); 52 | 53 | }else { 54 | var disy = targetPos.y- curPos.y ; 55 | var bias = 0; 56 | if(disy > 0) 57 | bias=-1 58 | else 59 | bias = 1 60 | marker.setRotation(-bias * 90); 61 | } 62 | return marker; 63 | } 64 | 65 | module.exports = { 66 | addStart: addStart, 67 | addEnd: addEnd, 68 | addDirection: addDirection, 69 | } 70 | -------------------------------------------------------------------------------- /timeheat/data/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "y": ["0.9", "1", "1.1", "1.2", "1.3", "1.4", "1.5", "1.6", "1.7", "1.8", "1.9", "2", "2.1", "2.2", "2.3", "2.4", "2.5", "2.6", "2.7", "2.8", "2.9", "3"], 3 | "x": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23], 4 | "values": [ 5 | [0, 0, 0, 0, 74, 89, 23, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 6 | [63, 88, 90, 90, 17, 2, 8, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25], 7 | [27, 3, 1, 1, 0, 0, 50, 21, 3, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 4, 44, 63], 8 | [1, 0, 0, 0, 0, 0, 10, 6, 9, 3, 1, 9, 29, 12, 2, 1, 0, 0, 0, 3, 20, 43, 38, 2], 9 | [0, 0, 0, 0, 0, 0, 0, 0, 7, 4, 6, 19, 34, 41, 14, 11, 9, 5, 7, 21, 45, 33, 5, 1], 10 | [0, 0, 0, 0, 0, 0, 0, 0, 7, 9, 12, 30, 13, 29, 33, 23, 18, 3, 2, 30, 13, 5, 3, 0], 11 | [0, 0, 0, 0, 0, 0, 0, 3, 3, 11, 22, 19, 7, 8, 25, 27, 23, 7, 11, 19, 8, 1, 1, 0], 12 | [0, 0, 0, 0, 0, 0, 0, 6, 1, 13, 28, 7, 1, 1, 11, 18, 23, 16, 14, 5, 1, 4, 0, 0], 13 | [0, 0, 0, 0, 0, 0, 0, 27, 3, 30, 13, 5, 0, 0, 5, 8, 10, 18, 16, 7, 2, 1, 0, 0], 14 | [0, 0, 0, 0, 0, 0, 0, 15, 8, 9, 4, 2, 0, 0, 1, 1, 5, 18, 13, 3, 2, 0, 0, 0], 15 | [0, 0, 0, 0, 0, 0, 0, 9, 23, 5, 4, 0, 0, 0, 0, 1, 0, 8, 7, 1, 0, 0, 0, 0], 16 | [0, 0, 0, 0, 0, 0, 0, 1, 8, 3, 1, 0, 0, 0, 0, 1, 2, 8, 8, 0, 0, 0, 0, 0], 17 | [0, 0, 0, 0, 0, 0, 0, 1, 13, 3, 0, 0, 0, 0, 0, 0, 0, 5, 7, 0, 0, 0, 0, 0], 18 | [0, 0, 0, 0, 0, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 1, 1, 4, 2, 0, 0, 0, 0], 19 | [0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0], 20 | [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 21 | [0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0], 22 | [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0], 23 | [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 24 | [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 25 | [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 26 | [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] 27 | ] 28 | } -------------------------------------------------------------------------------- /timeheat/data/data.js: -------------------------------------------------------------------------------- 1 | let data = { 2 | y: ["0.9", "1", "1.1", "1.2", "1.3", "1.4", "1.5", "1.6", "1.7", "1.8", "1.9", "2", "2.1", "2.2", "2.3", "2.4", "2.5", "2.6", "2.7", "2.8", "2.9", "3"], 3 | x: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23], 4 | values: [ 5 | [0, 0, 0, 0, 74, 89, 23, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 6 | [63, 88, 90, 90, 17, 2, 8, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25], 7 | [27, 3, 1, 1, 0, 0, 50, 21, 3, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 4, 44, 63], 8 | [1, 0, 0, 0, 0, 0, 10, 6, 9, 3, 1, 9, 29, 12, 2, 1, 0, 0, 0, 3, 20, 43, 38, 2], 9 | [0, 0, 0, 0, 0, 0, 0, 0, 7, 4, 6, 19, 34, 41, 14, 11, 9, 5, 7, 21, 45, 33, 5, 1], 10 | [0, 0, 0, 0, 0, 0, 0, 0, 7, 9, 12, 30, 13, 29, 33, 23, 18, 3, 2, 30, 13, 5, 3, 0], 11 | [0, 0, 0, 0, 0, 0, 0, 3, 3, 11, 22, 19, 7, 8, 25, 27, 23, 7, 11, 19, 8, 1, 1, 0], 12 | [0, 0, 0, 0, 0, 0, 0, 6, 1, 13, 28, 7, 1, 1, 11, 18, 23, 16, 14, 5, 1, 4, 0, 0], 13 | [0, 0, 0, 0, 0, 0, 0, 27, 3, 30, 13, 5, 0, 0, 5, 8, 10, 18, 16, 7, 2, 1, 0, 0], 14 | [0, 0, 0, 0, 0, 0, 0, 15, 8, 9, 4, 2, 0, 0, 1, 1, 5, 18, 13, 3, 2, 0, 0, 0], 15 | [0, 0, 0, 0, 0, 0, 0, 9, 23, 5, 4, 0, 0, 0, 0, 1, 0, 8, 7, 1, 0, 0, 0, 0], 16 | [0, 0, 0, 0, 0, 0, 0, 1, 8, 3, 1, 0, 0, 0, 0, 1, 2, 8, 8, 0, 0, 0, 0, 0], 17 | [0, 0, 0, 0, 0, 0, 0, 1, 13, 3, 0, 0, 0, 0, 0, 0, 0, 5, 7, 0, 0, 0, 0, 0], 18 | [0, 0, 0, 0, 0, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 1, 1, 4, 2, 0, 0, 0, 0], 19 | [0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0], 20 | [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 21 | [0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0], 22 | [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0], 23 | [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 24 | [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 25 | [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 26 | [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] 27 | ] 28 | } -------------------------------------------------------------------------------- /traffictools/static/script/components.js: -------------------------------------------------------------------------------- 1 | var map = require('./map'); 2 | 3 | var Panel = Vue.extend({ 4 | template: '#form-template', 5 | data: function () { 6 | return { 7 | inputText: '', 8 | routes: [] 9 | } 10 | }, 11 | watch: { 12 | }, 13 | init: function () { 14 | }, 15 | methods: { 16 | addLine: function () { 17 | this.routes.length = 0; 18 | map.clearOverlays(); 19 | var inputText = this.inputText; 20 | inputText = inputText.split("|"); 21 | //var lineName = inputText[0] 22 | var linePaths = inputText[0].split(';'); 23 | 24 | var allPoints = []; 25 | for (var i = 0; i < linePaths.length; i++) { 26 | var linePath = linePaths[i].split(','); 27 | var points = []; 28 | for (var j = 0; j < linePath.length; j += 2) { 29 | points.push(new BMap.Point(linePath[j], linePath[j + 1])); 30 | } 31 | var r = ~~(Math.random() * 255); 32 | var g = ~~(Math.random() * 255); 33 | var b = ~~(Math.random() * 255); 34 | var color = 'rgb(' + r + ', ' + g + ', ' + b + ')'; 35 | var polyline = new BMap.Polyline(points, {strokeColor: color, strokeWeight:3, strokeOpacity:1}); //创建折线 36 | polyline.color = color; 37 | allPoints = allPoints.concat(points); 38 | map.addOverlay(polyline); 39 | this.routes.push(polyline); 40 | } 41 | map.setViewport(allPoints); 42 | 43 | } 44 | } 45 | }); 46 | 47 | 48 | var RouteList = Vue.extend({ 49 | template: '#route-list', 50 | props: ['routes'], 51 | methods: { 52 | toggle: function (polyline) { 53 | if (polyline.isHide) { 54 | map.addOverlay(polyline); 55 | polyline.isHide = false; 56 | } else { 57 | map.removeOverlay(polyline); 58 | polyline.isHide = true; 59 | } 60 | } 61 | } 62 | }); 63 | 64 | Vue.component('panel', Panel) 65 | Vue.component('route-list', RouteList) 66 | -------------------------------------------------------------------------------- /convertor/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 17 | 批量转换 18 | 19 | 20 | 21 | 22 |
    23 |
    24 | 25 | 26 | 27 |
    28 | 29 | 30 | 66 | 67 | -------------------------------------------------------------------------------- /road3d-map/public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 百度地图3D路况 6 | 7 | 8 | 9 | 10 | 11 | 15 | 16 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 35 |
    36 | 46 | 47 | -------------------------------------------------------------------------------- /road3d/src/engine.back/obj/wall.js: -------------------------------------------------------------------------------- 1 | import { 2 | colorTransform 3 | } from '../tools/utility' 4 | 5 | class Wall { 6 | constructor(GL, obj) { 7 | this.GL = GL; 8 | this.gl = GL.gl; 9 | this.obj = obj = obj || {} 10 | this.width = obj.thickness || 0.20; 11 | this.height = obj.height || 3.0; 12 | 13 | this.operate = []; 14 | this.opearteID = 0; 15 | this.opearteBuild = {}; 16 | var color = this.color = colorTransform(obj.color); 17 | 18 | this.verticesColors = new Float32Array([-this.width / 2, +this.height / 2, 0.10, color[0], color[1], color[2], +this.width / 2, +this.height / 2, 0.10, color[0], color[1], color[2], +this.width / 2, -this.height / 2, 0.10, color[0], color[1], color[2], -this.width / 2, -this.height / 2, 0.10, color[0], color[1], color[2], ]); 19 | 20 | 21 | this.indices = new Uint8Array([ 22 | 0, 1, 2, 0, 2, 3, 23 | ]); 24 | 25 | for (var i = 0; i < obj.path.length; i += 2) { 26 | if (i === 0) { 27 | 28 | } 29 | console.log(i) 30 | } 31 | } 32 | 33 | render() { 34 | var gl = this.gl; 35 | var mvMatrix = this.GL.camera.mvMatrix; 36 | 37 | // 顶点/颜色缓冲区操作 38 | var vertexColorBuffer = gl.createBuffer(); 39 | gl.bindBuffer(gl.ARRAY_BUFFER, vertexColorBuffer); 40 | gl.bufferData(gl.ARRAY_BUFFER, this.verticesColors, gl.STATIC_DRAW); 41 | // 42 | var FSIZE = this.verticesColors.BYTES_PER_ELEMENT; 43 | // 44 | gl.vertexAttribPointer(gl.aPosition, 3, gl.FLOAT, false, FSIZE * 6, 0); 45 | gl.enableVertexAttribArray(gl.aPosition); 46 | // 47 | gl.vertexAttribPointer(gl.aColor, 3, gl.FLOAT, false, FSIZE * 6, FSIZE * 3); 48 | gl.enableVertexAttribArray(gl.aColor); 49 | 50 | // 顶点索引缓冲区 51 | var indexBuffer = gl.createBuffer(); 52 | gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, indexBuffer); 53 | gl.bufferData(gl.ELEMENT_ARRAY_BUFFER, this.indices, gl.STATIC_DRAW); 54 | 55 | gl.uniformMatrix4fv(this.gl.uMVMatrix, false, mvMatrix); 56 | 57 | gl.drawElements(gl.TRIANGLES, this.indices.length, gl.UNSIGNED_BYTE, 0); 58 | } 59 | } 60 | 61 | 62 | export default Wall; --------------------------------------------------------------------------------