1 Star 0 Fork 0

诗酒年华 / lx_pipe_map

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

项目说明

本项目是使用react脚手架生成的监测APP地图界面,主要代码都在/src/Map.js中,/src/Map.css中有少量样式文件,/src/assets中有一个需要的图片,用于展示巡查员位置

实现的功能

  • 使用天地图底图以及底图图层选择
  • 地图放大缩小按钮
  • 定位及自动跳转到定位位置/停止定位
  • 按当前用户权限加载热力管线地图
  • 按当前用户权限查看在线巡查员位置

package.json使用的库说明

  • leaflet 地图控件
  • leaflet.chinatmsproviders 地图底图提供器
  • leaflet.locatecontrol 地图定位控件
  • esri-leaflet 加载管网数据图层的库
  • font-awesome 定位按钮图标库

效果图

效果图1 效果图2

脚手架自带文档

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can’t go back!

If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

npm run build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

Comments ( 0 )

Sign in for post a comment

About

天津新岭监控APP地图页面 spread retract
JavaScript
Cancel

Releases

No release

Contributors

All

Activities

load more
can not load any more
JavaScript
1
https://gitee.com/zxhm/lx_pipe_map.git
git@gitee.com:zxhm/lx_pipe_map.git
zxhm
lx_pipe_map
lx_pipe_map
master

Search