diff --git a/scr/wechat-weapp-mapdemo-master/.gitignore b/scr/wechat-weapp-mapdemo-master/.gitignore
new file mode 100644
index 0000000..11e612e
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/.gitignore
@@ -0,0 +1,19 @@
+# Build and Release Folders
+bin/
+bin-debug/
+bin-release/
+[Oo]bj/ # FlashDevelop obj
+[Bb]in/ # FlashDevelop bin
+
+# Other files and folders
+.settings/
+
+# Executables
+*.swf
+*.air
+*.ipa
+*.apk
+
+# Project files, i.e. `.project`, `.actionScriptProperties` and `.flexProperties`
+# should NOT be excluded as they contain compiler settings and other important
+# information for Eclipse / Flash Builder.
diff --git a/scr/wechat-weapp-mapdemo-master/README.md b/scr/wechat-weapp-mapdemo-master/README.md
new file mode 100644
index 0000000..eefda45
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/README.md
@@ -0,0 +1,24 @@
+# wechat-weapp-mapdemo
+
+微信小程序开发mapdemo,地图导航、marker标注
+
+版本信息:
+微信web开发者工具 `v0.15.152900`
+
+
+## Screenshot
+
+
+![](./image/screenshot1.png)
+
+![](./image/screenshot2.png)
+
+![](./image/navigator.jpg)
+
+![](./image/screenshot-marker.png)
+
+---
+
+## License
+
+MIT
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/app.js b/scr/wechat-weapp-mapdemo-master/app.js
new file mode 100644
index 0000000..51ce356
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/app.js
@@ -0,0 +1,30 @@
+//app.js
+App({
+ onLaunch: function () {
+ //调用API从本地缓存中获取数据
+ var logs = wx.getStorageSync('logs') || []
+ logs.unshift(Date.now())
+ wx.setStorageSync('logs', logs)
+ },
+ getUserInfo:function(cb){
+ var that = this;
+ if(this.globalData.userInfo){
+ typeof cb == "function" && cb(this.globalData.userInfo)
+ }else{
+ //调用登录接口
+ wx.login({
+ success: function () {
+ wx.getUserInfo({
+ success: function (res) {
+ that.globalData.userInfo = res.userInfo;
+ typeof cb == "function" && cb(that.globalData.userInfo)
+ }
+ })
+ }
+ });
+ }
+ },
+ globalData:{
+ userInfo:null
+ }
+})
diff --git a/scr/wechat-weapp-mapdemo-master/app.json b/scr/wechat-weapp-mapdemo-master/app.json
new file mode 100644
index 0000000..365e62f
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/app.json
@@ -0,0 +1,42 @@
+{
+ "pages":[
+ "pages/login/login",
+ "pages/location/location",
+ "pages/Find directions/Find directions",
+ "pages/text/text",
+ "pages/ModifyMap/ModifyMap",
+ "pages/ModifyInformation/ModifyInformation",
+ "pages/ManageAccount/ManageAccount"
+ ],
+ "window":{
+ "backgroundTextStyle":"light",
+ "navigationBarBackgroundColor": "#fff",
+ "navigationBarTitleText": "login",
+ "navigationBarTextStyle":"black"
+ },
+ "tabBar": {
+ "color": "#dddddd",
+ "selectedColor": "#3cc51f",
+ "borderStyle": "black",
+ "backgroundColor": "#ffffff",
+ "list": [{
+ "pagePath": "pages/location/location",
+ "iconPath": "image/wechat.png",
+ "selectedIconPath": "image/locate.png",
+ "text": "导航"
+ },{
+ "pagePath": "pages/Find directions/Find directions",
+ "iconPath": "image/map.png",
+ "selectedIconPath": "image/map_active.png",
+ "text": "查询路线"
+ },{
+ "pagePath": "pages/text/text",
+ "iconPath": "image/locate.png",
+ "selectedIconPath": "image/locateHL.png",
+ "text": "信息栏"
+ }
+ ]
+ },
+ "debug": true
+ }
+
diff --git a/scr/wechat-weapp-mapdemo-master/app.wxss b/scr/wechat-weapp-mapdemo-master/app.wxss
new file mode 100644
index 0000000..1d3b114
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/app.wxss
@@ -0,0 +1,10 @@
+/**app.wxss**/
+.container {
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: space-between;
+ padding: 200rpx 0;
+ box-sizing: border-box;
+}
diff --git a/scr/wechat-weapp-mapdemo-master/image/arrowright.png b/scr/wechat-weapp-mapdemo-master/image/arrowright.png
new file mode 100644
index 0000000..109f4fe
Binary files /dev/null and b/scr/wechat-weapp-mapdemo-master/image/arrowright.png differ
diff --git a/scr/wechat-weapp-mapdemo-master/image/icon64_appwx_logo.png b/scr/wechat-weapp-mapdemo-master/image/icon64_appwx_logo.png
new file mode 100644
index 0000000..91a38f9
Binary files /dev/null and b/scr/wechat-weapp-mapdemo-master/image/icon64_appwx_logo.png differ
diff --git a/scr/wechat-weapp-mapdemo-master/image/locate.png b/scr/wechat-weapp-mapdemo-master/image/locate.png
new file mode 100644
index 0000000..0ac1474
Binary files /dev/null and b/scr/wechat-weapp-mapdemo-master/image/locate.png differ
diff --git a/scr/wechat-weapp-mapdemo-master/image/locateHL.png b/scr/wechat-weapp-mapdemo-master/image/locateHL.png
new file mode 100644
index 0000000..119c934
Binary files /dev/null and b/scr/wechat-weapp-mapdemo-master/image/locateHL.png differ
diff --git a/scr/wechat-weapp-mapdemo-master/image/location-control.png b/scr/wechat-weapp-mapdemo-master/image/location-control.png
new file mode 100644
index 0000000..a76333c
Binary files /dev/null and b/scr/wechat-weapp-mapdemo-master/image/location-control.png differ
diff --git a/scr/wechat-weapp-mapdemo-master/image/location.png b/scr/wechat-weapp-mapdemo-master/image/location.png
new file mode 100644
index 0000000..045971e
Binary files /dev/null and b/scr/wechat-weapp-mapdemo-master/image/location.png differ
diff --git a/scr/wechat-weapp-mapdemo-master/image/logo.png b/scr/wechat-weapp-mapdemo-master/image/logo.png
new file mode 100644
index 0000000..76e8095
Binary files /dev/null and b/scr/wechat-weapp-mapdemo-master/image/logo.png differ
diff --git a/scr/wechat-weapp-mapdemo-master/image/map.png b/scr/wechat-weapp-mapdemo-master/image/map.png
new file mode 100644
index 0000000..0ac1474
Binary files /dev/null and b/scr/wechat-weapp-mapdemo-master/image/map.png differ
diff --git a/scr/wechat-weapp-mapdemo-master/image/map_active.png b/scr/wechat-weapp-mapdemo-master/image/map_active.png
new file mode 100644
index 0000000..119c934
Binary files /dev/null and b/scr/wechat-weapp-mapdemo-master/image/map_active.png differ
diff --git a/scr/wechat-weapp-mapdemo-master/image/navigator.jpg b/scr/wechat-weapp-mapdemo-master/image/navigator.jpg
new file mode 100644
index 0000000..ffbc1cf
Binary files /dev/null and b/scr/wechat-weapp-mapdemo-master/image/navigator.jpg differ
diff --git a/scr/wechat-weapp-mapdemo-master/image/pause.png b/scr/wechat-weapp-mapdemo-master/image/pause.png
new file mode 100644
index 0000000..9acb73d
Binary files /dev/null and b/scr/wechat-weapp-mapdemo-master/image/pause.png differ
diff --git a/scr/wechat-weapp-mapdemo-master/image/play.png b/scr/wechat-weapp-mapdemo-master/image/play.png
new file mode 100644
index 0000000..982f2f2
Binary files /dev/null and b/scr/wechat-weapp-mapdemo-master/image/play.png differ
diff --git a/scr/wechat-weapp-mapdemo-master/image/plus.png b/scr/wechat-weapp-mapdemo-master/image/plus.png
new file mode 100644
index 0000000..73ddfe3
Binary files /dev/null and b/scr/wechat-weapp-mapdemo-master/image/plus.png differ
diff --git a/scr/wechat-weapp-mapdemo-master/image/record.png b/scr/wechat-weapp-mapdemo-master/image/record.png
new file mode 100644
index 0000000..a62ef81
Binary files /dev/null and b/scr/wechat-weapp-mapdemo-master/image/record.png differ
diff --git a/scr/wechat-weapp-mapdemo-master/image/screenshot-marker.png b/scr/wechat-weapp-mapdemo-master/image/screenshot-marker.png
new file mode 100644
index 0000000..b12bc29
Binary files /dev/null and b/scr/wechat-weapp-mapdemo-master/image/screenshot-marker.png differ
diff --git a/scr/wechat-weapp-mapdemo-master/image/screenshot1.png b/scr/wechat-weapp-mapdemo-master/image/screenshot1.png
new file mode 100644
index 0000000..ea42c4d
Binary files /dev/null and b/scr/wechat-weapp-mapdemo-master/image/screenshot1.png differ
diff --git a/scr/wechat-weapp-mapdemo-master/image/screenshot2.png b/scr/wechat-weapp-mapdemo-master/image/screenshot2.png
new file mode 100644
index 0000000..586be04
Binary files /dev/null and b/scr/wechat-weapp-mapdemo-master/image/screenshot2.png differ
diff --git a/scr/wechat-weapp-mapdemo-master/image/stop.png b/scr/wechat-weapp-mapdemo-master/image/stop.png
new file mode 100644
index 0000000..9e65f3e
Binary files /dev/null and b/scr/wechat-weapp-mapdemo-master/image/stop.png differ
diff --git a/scr/wechat-weapp-mapdemo-master/image/trash.png b/scr/wechat-weapp-mapdemo-master/image/trash.png
new file mode 100644
index 0000000..83d68f3
Binary files /dev/null and b/scr/wechat-weapp-mapdemo-master/image/trash.png differ
diff --git a/scr/wechat-weapp-mapdemo-master/image/wechat.png b/scr/wechat-weapp-mapdemo-master/image/wechat.png
new file mode 100644
index 0000000..470931c
Binary files /dev/null and b/scr/wechat-weapp-mapdemo-master/image/wechat.png differ
diff --git a/scr/wechat-weapp-mapdemo-master/image/wechatHL.png b/scr/wechat-weapp-mapdemo-master/image/wechatHL.png
new file mode 100644
index 0000000..3c5e52b
Binary files /dev/null and b/scr/wechat-weapp-mapdemo-master/image/wechatHL.png differ
diff --git a/scr/wechat-weapp-mapdemo-master/images/dh.jpg b/scr/wechat-weapp-mapdemo-master/images/dh.jpg
new file mode 100644
index 0000000..b3b3eda
Binary files /dev/null and b/scr/wechat-weapp-mapdemo-master/images/dh.jpg differ
diff --git a/scr/wechat-weapp-mapdemo-master/images/gps.jpg b/scr/wechat-weapp-mapdemo-master/images/gps.jpg
new file mode 100644
index 0000000..addd9dc
Binary files /dev/null and b/scr/wechat-weapp-mapdemo-master/images/gps.jpg differ
diff --git a/scr/wechat-weapp-mapdemo-master/images/hxLocation.png b/scr/wechat-weapp-mapdemo-master/images/hxLocation.png
new file mode 100644
index 0000000..308f101
Binary files /dev/null and b/scr/wechat-weapp-mapdemo-master/images/hxLocation.png differ
diff --git a/scr/wechat-weapp-mapdemo-master/images/logo1.png b/scr/wechat-weapp-mapdemo-master/images/logo1.png
new file mode 100644
index 0000000..396bc68
Binary files /dev/null and b/scr/wechat-weapp-mapdemo-master/images/logo1.png differ
diff --git a/scr/wechat-weapp-mapdemo-master/images/sxaubg.jpg b/scr/wechat-weapp-mapdemo-master/images/sxaubg.jpg
new file mode 100644
index 0000000..920fb36
Binary files /dev/null and b/scr/wechat-weapp-mapdemo-master/images/sxaubg.jpg differ
diff --git a/scr/wechat-weapp-mapdemo-master/images/xm.jpg b/scr/wechat-weapp-mapdemo-master/images/xm.jpg
new file mode 100644
index 0000000..fda6731
Binary files /dev/null and b/scr/wechat-weapp-mapdemo-master/images/xm.jpg differ
diff --git a/scr/wechat-weapp-mapdemo-master/package.json b/scr/wechat-weapp-mapdemo-master/package.json
new file mode 100644
index 0000000..6120692
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/package.json
@@ -0,0 +1,25 @@
+{
+ "name": "wechat-weapp-mapdemo",
+ "version": "1.0.0",
+ "description": "微信小程序demo,地图",
+ "main": "app.js",
+ "scripts": {
+ "test": "echo \"Error: no test specified\" && exit 1"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/giscafer/wechat-weapp-mapdemo.git"
+ },
+ "keywords": [
+ "微信小程序demo"
+ ],
+ "author": "giscafer",
+ "license": "ISC",
+ "bugs": {
+ "url": "https://github.com/giscafer/wechat-weapp-mapdemo/issues"
+ },
+ "homepage": "https://github.com/giscafer/wechat-weapp-mapdemo#readme",
+ "dependencies": {
+ "mapbox-gl": "^0.24.0"
+ }
+}
diff --git a/scr/wechat-weapp-mapdemo-master/pages/Find directions/Find directions.js b/scr/wechat-weapp-mapdemo-master/pages/Find directions/Find directions.js
new file mode 100644
index 0000000..4e67c8e
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/Find directions/Find directions.js
@@ -0,0 +1,26 @@
+//index.js
+//获取应用实例
+var app = getApp()
+Page({
+ data: {
+ motto: '中航大查询路线系统',
+ userInfo: {},
+ appInfo:{
+ logoUrl:'../../image/logo.png',
+ title:'查询路线'
+ }
+ },
+ //事件处理函数
+ bindViewTap: function() {
+ wx.navigateTo({
+ url: '../location/location'
+ })
+ },
+ onLoad: function () {
+ console.log('onLoad')
+ var that = this
+ that.setData({
+ appInfo:this.data.appInfo
+ })
+ }
+})
diff --git a/scr/wechat-weapp-mapdemo-master/pages/Find directions/Find directions.json b/scr/wechat-weapp-mapdemo-master/pages/Find directions/Find directions.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/Find directions/Find directions.json
@@ -0,0 +1,3 @@
+{
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/pages/Find directions/Find directions.wxml b/scr/wechat-weapp-mapdemo-master/pages/Find directions/Find directions.wxml
new file mode 100644
index 0000000..a591f81
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/Find directions/Find directions.wxml
@@ -0,0 +1,10 @@
+
+
+
+
+ {{appInfo.title}}
+
+
+ {{motto}}
+
+
diff --git a/scr/wechat-weapp-mapdemo-master/pages/Find directions/Find directions.wxss b/scr/wechat-weapp-mapdemo-master/pages/Find directions/Find directions.wxss
new file mode 100644
index 0000000..ce30de0
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/Find directions/Find directions.wxss
@@ -0,0 +1,21 @@
+/**index.wxss**/
+.userinfo {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+}
+
+.userinfo-avatar {
+ width: 128rpx;
+ height: 128rpx;
+ margin: 20rpx;
+ border-radius: 50%;
+}
+
+.userinfo-nickname {
+ color: #aaa;
+}
+
+.usermotto {
+ margin-top: 200px;
+}
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/pages/ManageAccount/ManageAccount.js b/scr/wechat-weapp-mapdemo-master/pages/ManageAccount/ManageAccount.js
new file mode 100644
index 0000000..923b075
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/ManageAccount/ManageAccount.js
@@ -0,0 +1,23 @@
+Page({
+ data: {
+ loginOK: false
+ },
+ //map
+ map() {
+ wx.navigateTo({
+ url: '/pages/ModifyMap/ModifyMap',
+ })
+ },
+ //information
+ information() {
+ wx.navigateTo({
+ url: '/pages/ModifyInformation/ModifyInformation',
+ })
+ },
+ //account
+ account() {
+ wx.navigateTo({
+ url: '/pages/ManageAccount/ManageAccount'
+ })
+ }
+})
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/pages/ManageAccount/ManageAccount.json b/scr/wechat-weapp-mapdemo-master/pages/ManageAccount/ManageAccount.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/ManageAccount/ManageAccount.json
@@ -0,0 +1,3 @@
+{
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/pages/ManageAccount/ManageAccount.wxml b/scr/wechat-weapp-mapdemo-master/pages/ManageAccount/ManageAccount.wxml
new file mode 100644
index 0000000..175e3ab
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/ManageAccount/ManageAccount.wxml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/pages/ManageAccount/ManageAccount.wxss b/scr/wechat-weapp-mapdemo-master/pages/ManageAccount/ManageAccount.wxss
new file mode 100644
index 0000000..ee27500
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/ManageAccount/ManageAccount.wxss
@@ -0,0 +1 @@
+/* pages/ManageAccount/ManageAccount.wxss */
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/pages/ModifyInformation/ModifyInformation.js b/scr/wechat-weapp-mapdemo-master/pages/ModifyInformation/ModifyInformation.js
new file mode 100644
index 0000000..923b075
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/ModifyInformation/ModifyInformation.js
@@ -0,0 +1,23 @@
+Page({
+ data: {
+ loginOK: false
+ },
+ //map
+ map() {
+ wx.navigateTo({
+ url: '/pages/ModifyMap/ModifyMap',
+ })
+ },
+ //information
+ information() {
+ wx.navigateTo({
+ url: '/pages/ModifyInformation/ModifyInformation',
+ })
+ },
+ //account
+ account() {
+ wx.navigateTo({
+ url: '/pages/ManageAccount/ManageAccount'
+ })
+ }
+})
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/pages/ModifyInformation/ModifyInformation.json b/scr/wechat-weapp-mapdemo-master/pages/ModifyInformation/ModifyInformation.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/ModifyInformation/ModifyInformation.json
@@ -0,0 +1,3 @@
+{
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/pages/ModifyInformation/ModifyInformation.wxml b/scr/wechat-weapp-mapdemo-master/pages/ModifyInformation/ModifyInformation.wxml
new file mode 100644
index 0000000..3462d31
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/ModifyInformation/ModifyInformation.wxml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/pages/ModifyInformation/ModifyInformation.wxss b/scr/wechat-weapp-mapdemo-master/pages/ModifyInformation/ModifyInformation.wxss
new file mode 100644
index 0000000..5124cdd
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/ModifyInformation/ModifyInformation.wxss
@@ -0,0 +1 @@
+/* pages/ModifyInformation/ModifyInformation.wxss */
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/pages/ModifyMap/ModifyMap.js b/scr/wechat-weapp-mapdemo-master/pages/ModifyMap/ModifyMap.js
new file mode 100644
index 0000000..923b075
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/ModifyMap/ModifyMap.js
@@ -0,0 +1,23 @@
+Page({
+ data: {
+ loginOK: false
+ },
+ //map
+ map() {
+ wx.navigateTo({
+ url: '/pages/ModifyMap/ModifyMap',
+ })
+ },
+ //information
+ information() {
+ wx.navigateTo({
+ url: '/pages/ModifyInformation/ModifyInformation',
+ })
+ },
+ //account
+ account() {
+ wx.navigateTo({
+ url: '/pages/ManageAccount/ManageAccount'
+ })
+ }
+})
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/pages/ModifyMap/ModifyMap.json b/scr/wechat-weapp-mapdemo-master/pages/ModifyMap/ModifyMap.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/ModifyMap/ModifyMap.json
@@ -0,0 +1,3 @@
+{
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/pages/ModifyMap/ModifyMap.wxml b/scr/wechat-weapp-mapdemo-master/pages/ModifyMap/ModifyMap.wxml
new file mode 100644
index 0000000..4ba3dee
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/ModifyMap/ModifyMap.wxml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/pages/ModifyMap/ModifyMap.wxss b/scr/wechat-weapp-mapdemo-master/pages/ModifyMap/ModifyMap.wxss
new file mode 100644
index 0000000..1a609e6
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/ModifyMap/ModifyMap.wxss
@@ -0,0 +1 @@
+/* pages/ModifyMap/ModifyMap.wxss */
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/pages/location/location.js b/scr/wechat-weapp-mapdemo-master/pages/location/location.js
new file mode 100644
index 0000000..ce40122
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/location/location.js
@@ -0,0 +1,727 @@
+var click =true
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+ longitude: 112.5840817937609,
+ latitude: 37.42334029843902,
+ scale:16,
+ ishow:true
+ },
+ // 校门
+ hx_door: function () {
+ this.setData({
+ hx_door: true,
+ hx_canteen: false,
+ hx_supermarket: false,
+ hx_teach: false,
+ hx_hospital: false,
+ hx_playground: false,
+ hx_library: false,
+ hx_dorm: false,
+ ishow:false,
+ latitude: 37.42334029843902, //经度
+ longitude: 112.5840817937609, //纬度
+ scale: 16,
+ markers: [{
+ iconPath: '../../images/hxLocation.png',
+ latitude: 37.42460923822909,
+ longitude: 112.57850807958519,
+ width: 20,
+ height: 30
+ }, {
+ iconPath: '../../images/hxLocation.png',
+ latitude: 37.42505982099957,
+ longitude: 112.58448746351345,
+ width: 20,
+ height: 30
+ },{
+ iconPath: '../../images/hxLocation.png',
+ latitude: 37.423356091749176,
+ longitude: 112.59020697584626,
+ width: 20,
+ height: 30
+ },{
+ iconPath: '../../images/hxLocation.png',
+ latitude: 37.420850652498494,
+ longitude: 112.58636394568849,
+ width: 20,
+ height: 30
+ }, {
+ iconPath: '../../images/hxLocation.png',
+ latitude: 37.42046830521278,
+ longitude: 112.59089438639249,
+ width: 20,
+ height: 30
+ }]
+ })
+ },
+ // 餐厅
+ hx_canteen: function () {
+ this.setData({
+ hx_door: false,
+ hx_canteen: true,
+ hx_supermarket: false,
+ hx_teach: false,
+ hx_hospital: false,
+ hx_playground: false,
+ hx_library: false,
+ hx_dorm: false,
+ ishow: false,
+ latitude: 37.42334029843902, //经度
+ longitude: 112.5840817937609, //纬度
+ scale: 16,
+ markers: [{
+ iconPath: '../../images/hxLocation.png',
+ latitude: 37.42217098294637,
+ longitude: 112.58554120048987,
+ width: 20,
+ height: 30
+ },
+ {
+ iconPath: '../../images/hxLocation.png',
+ latitude: 37.424741,
+ longitude: 112.580423,
+ width: 20,
+ height: 30
+ }, {
+ iconPath: '../../images/hxLocation.png',
+ latitude: 37.421674,
+ longitude: 112.591431,
+ width: 20,
+ height: 30
+ }, {
+ iconPath: '../../images/hxLocation.png',
+ latitude: 37.421563,
+ longitude: 112.585369,
+ width: 20,
+ height: 30
+ }, {
+ iconPath: '../../images/hxLocation.png',
+ latitude: 37.421137,
+ longitude: 112.585305,
+ width: 20,
+ height: 30
+ }
+ ]
+ })
+ },
+ /******超市***/
+ hx_supermarket: function () {
+ this.setData({
+ hx_door: false,
+ hx_canteen: false,
+ hx_supermarket: true,
+ hx_teach: false,
+ hx_hospital: false,
+ hx_playground: false,
+ hx_library: false,
+ hx_dorm: false,
+ ishow: false,
+ latitude: 37.42334029843902, //经度
+ longitude: 112.5840817937609, //纬度
+ scale: 16,
+ markers: [{
+ iconPath: '../../images/hxLocation.png', //大超市
+ latitude: 37.422066, /**大超市 */
+ longitude: 112.585868,
+ width: 20,
+ height: 30
+ }, {
+ iconPath: '../../images/hxLocation.png', //进门超市
+ latitude: 37.421014, /**进门超市*/
+ longitude: 112.585155,
+ width: 20,
+ height: 30
+ }, {
+ iconPath: '../../images/hxLocation.png', //进门超市
+ latitude: 37.421546, /**进门超市*/
+ longitude: 112.591259,
+ width: 20,
+ height: 30
+ }
+
+ ]
+ })
+ },
+ /****************************************教学楼***************************************** */
+ hx_teach: function () {
+ this.setData({
+ hx_door: false,
+ hx_canteen: false,
+ hx_supermarket: false,
+ hx_teach: true,
+ hx_hospital: false,
+ hx_playground: false,
+ hx_library: false,
+ hx_dorm: false,
+ ishow: false,
+ latitude: 37.42334029843902, //经度
+ longitude: 112.5840817937609, //纬度
+ scale: 16,
+ markers: [{
+ iconPath: '../../images/hxLocation.png', //教学楼1
+ latitude: 37.423821,
+ longitude: 112.585863,
+ width: 20,
+ height: 30
+ }, {
+ iconPath: '../../images/hxLocation.png', //教学楼2
+ latitude: 37.424622,
+ longitude: 112.581378,
+ width: 20,
+ height: 30
+ }, {
+ iconPath: '../../images/hxLocation.png', //实验楼3
+ latitude: 37.425074,
+ longitude: 112.583610,
+ width: 20,
+ height: 30
+ }, {
+ iconPath: '../../images/hxLocation.png', //实验楼4
+ latitude: 37.424545,
+ longitude: 112.585037,
+ width: 20,
+ height: 30
+ }, {
+ iconPath: '../../images/hxLocation.png', //办公楼5
+ latitude: 37.424230,
+ longitude: 112.585917,
+ width: 20,
+ height: 30
+ }, {
+ iconPath: '../../images/hxLocation.png', //办公楼6
+ latitude: 37.423016,
+ longitude: 112.586625,
+ width: 20,
+ height: 30
+ }, {
+ iconPath: '../../images/hxLocation.png', //办公楼7
+ latitude: 37.421550,
+ longitude: 112.582945,
+ width: 20,
+ height: 30
+ }, {
+ iconPath: '../../images/hxLocation.png', //办公楼8
+ latitude: 37.423335,
+ longitude: 112.584801,
+ width: 20,
+ height: 30
+ }, {
+ iconPath: '../../images/hxLocation.png', //办公楼9
+ latitude: 37.421452,
+ longitude: 112.580155,
+ width: 20,
+ height: 30
+ }, {
+ iconPath: '../../images/hxLocation.png', //办公楼10
+ latitude: 37.421555,
+ longitude: 112.579050,
+ width: 20,
+ height: 30
+ }, {
+ iconPath: '../../images/hxLocation.png', //办公楼11
+ latitude: 37.422398,
+ longitude: 112.578599,
+ width: 20,
+ height: 30
+ }, {
+ iconPath: '../../images/hxLocation.png', //办公楼12
+ latitude: 37.424882,
+ longitude: 112.582687,
+ width: 20,
+ height: 30
+ }, {
+ iconPath: '../../images/hxLocation.png', //办公楼13
+ latitude: 37.421883,
+ longitude: 112.587698,
+ width: 20,
+ height: 30
+ }
+
+ ]
+ })
+ },
+
+ /****************************************医 务 室***************************************** */
+ hx_hospital: function () {
+ this.setData({
+ hx_door: false,
+ hx_canteen: false,
+ hx_supermarket: false,
+ hx_teach: false,
+ hx_hospital: true,
+ hx_playground: false,
+ hx_library: false,
+ hx_dorm: false,
+ ishow: false,
+ latitude: 37.42334029843902, //经度
+ longitude: 112.5840817937609, //纬度
+ scale: 16,
+ markers: [{
+ iconPath: '../../images/hxLocation.png',
+ latitude: 37.425022,
+ longitude: 112.585133,
+ width: 20,
+ height: 30
+ }]
+ })
+ },
+ /****************************************农大 体 育 场***************************************** */
+ hx_playground: function () {
+ this.setData({
+ hx_door: false,
+ hx_canteen: false,
+ hx_supermarket: false,
+ hx_teach: false,
+ hx_hospital: false,
+ hx_playground: true,
+ hx_library: false,
+ hx_dorm: false,
+ ishow: false,
+ latitude: 37.42334029843902, //经度
+ longitude: 112.5840817937609, //纬度
+ scale: 16,
+ markers: [{
+ iconPath: '../../images/hxLocation.png',
+ latitude: 37.421947, /**大操场 */
+ longitude: 112.589071,
+ width: 20,
+ height: 30
+ },
+ {
+ iconPath: '../../images/hxLocation.png',
+ latitude: 37.425636,
+ longitude: 112.582322, /**小操场 */
+ width: 20,
+ height: 30
+ }]
+ })
+ },
+ /****************************************农大 图 书 馆***************************************** */
+ hx_library: function () {
+ this.setData({
+ hx_door: false,
+ hx_canteen: false,
+ hx_supermarket: false,
+ hx_teach: false,
+ hx_hospital: false,
+ hx_playground: false,
+ hx_library: true,
+ hx_dorm: false,
+ ishow: false,
+ latitude: 37.42334029843902, //经度
+ longitude: 112.5840817937609, //纬度
+ scale: 16,
+ markers: [{
+ iconPath: '../../images/hxLocation.png',
+ latitude: 37.424051, /**图书馆 */
+ longitude: 112.580541,
+ width: 20,
+ height: 30
+ }, {
+ iconPath: '../../images/hxLocation.png',
+ latitude: 37.424524, /**图书馆 */
+ longitude: 112.583980,
+ width: 20,
+ height: 30
+ }]
+ })
+ },
+
+ /****************************************农大 宿 舍***************************************** */
+ hx_dorm: function () {
+ this.setData({
+ hx_door: false,
+ hx_canteen: false,
+ hx_supermarket: false,
+ hx_teach: false,
+ hx_hospital: false,
+ hx_playground: false,
+ hx_library: false,
+ hx_dorm: true,
+ ishow: false,
+ latitude: 37.42334029843902, //经度
+ longitude: 112.5840817937609, //纬度
+ scale: 16,
+ markers: [{
+ iconPath: '../../images/hxLocation.png',
+ latitude: 37.422066, /**学生公寓1 */
+ longitude: 112.584833,
+ width: 20,
+ height: 30
+ }, {
+ iconPath: '../../images/hxLocation.png',
+ latitude: 37.422394, /**学生公寓2 */
+ longitude: 112.586399,
+ width:20,
+ height: 30
+ }, {
+ iconPath: '../../images/hxLocation.png',
+ latitude: 37.421751, /**学生公寓3 */
+ longitude: 112.590798,
+ width: 20,
+ height: 30
+ }, {
+ iconPath: '../../images/hxLocation.png',
+ latitude: 37.425917, /**学生公寓4 */
+ longitude: 112.580520,
+ width: 20,
+ height: 30
+ }, {
+ iconPath: '../../images/hxLocation.png',
+ latitude: 37.421261, /**活动中心宿舍楼*/
+ longitude: 112.587896,
+ width: 20,
+ height: 30
+ }, {
+ iconPath: '../../images/hxLocation.png',
+ latitude: 37.421090, /**洗浴中心宿舍楼 */
+ longitude: 112.589441,
+ width: 20,
+ height: 30
+ }
+
+
+ ]
+ })
+ },
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad: function (options) {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady: function () {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow: function () {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide: function () {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload: function () {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh: function () {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom: function () {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage: function () {
+
+ },
+ go: function (e) {
+ var id = e.currentTarget.id; //获取id
+ switch (id) {
+ /*农大校门门*/
+ case "door1":
+ wx.openLocation({ /*使用微信内置地图查看位置*/
+ latitude: 37.42460923822909,
+ longitude: 112.57850807958519,
+ scale: 25
+ })
+ break;
+ case "door2":
+ wx.openLocation({ /*使用微信内置地图查看位置*/
+ latitude: 37.42505982099957,
+ longitude: 112.58448746351345,
+ scale: 25
+ })
+ break;
+ case "door3":
+ wx.openLocation({ /*使用微信内置地图查看位置*/
+ latitude: 37.423356091749176,
+ longitude: 112.59020697584626,
+ scale: 25
+ })
+ break;
+ case "door4":
+ wx.openLocation({ /*使用微信内置地图查看位置*/
+ latitude: 37.420850652498494,
+ longitude: 112.58636394568849,
+ scale: 25
+ })
+ break;
+ case "door5":
+ wx.openLocation({ /*使用微信内置地图查看位置*/
+ latitude: 37.42046830521278,
+ longitude: 112.59089438639249,
+ scale: 25
+ })
+ break;
+
+ /*农大餐饮*/
+ case "canteen1":
+ wx.openLocation({ /*使用微信内置地图查看位置*/
+ latitude: 37.42217098294637,
+ longitude: 112.58554120048987,
+ scale: 25
+ })
+ break;
+ case "canteen2":
+ wx.openLocation({ /*使用微信内置地图查看位置*/
+ latitude: 37.421674,
+ longitude: 112.591431,
+ scale: 25
+ })
+ break;
+ case "canteen3":
+ wx.openLocation({ /*使用微信内置地图查看位置*/
+ latitude: 37.424741,
+ longitude: 112.580423,
+ scale: 25
+ })
+ break;
+ case "canteen4":
+ wx.openLocation({ /*使用微信内置地图查看位置*/
+ latitude: 37.421563,
+ longitude: 112.585369,
+ scale: 25
+ })
+ break;
+ case "canteen5":
+ wx.openLocation({ /*使用微信内置地图查看位置*/
+ latitude: 37.421137,
+ longitude: 112.585305,
+ scale: 25
+ })
+ break;
+
+ /*农大超市*/
+ case "supermarket1":
+ wx.openLocation({ /*使用微信内置地图查看位置*/
+ latitude: 37.422066, /**大超市 */
+ longitude: 112.585868,
+ scale: 25
+ })
+ break;
+ case "supermarket2":
+ wx.openLocation({ /*使用微信内置地图查看位置*/
+ latitude: 37.421014, /**进门超市*/
+ longitude: 112.585155,
+ scale: 25
+ })
+ break;
+ case "supermarket3":
+ wx.openLocation({ /*使用微信内置地图查看位置*/
+ latitude: 37.421546, /**进门超市*/
+ longitude: 112.591259,
+ scale: 25
+ })
+ break;
+
+
+
+
+ /**农大教学楼 */
+ case "teach1":
+ wx.openLocation({ /*使用微信内置地图查看位置*/
+ latitude: 37.423821,
+ longitude: 112.585863,
+ scale: 25
+ })
+ break;
+ case "teach2":
+ wx.openLocation({ /*使用微信内置地图查看位置*/
+ latitude: 37.424622,
+ longitude: 112.581378,
+ scale: 25
+ })
+ break;
+ case "teach3":
+ wx.openLocation({ /*使用微信内置地图查看位置*/
+ latitude: 37.425074,
+ longitude: 112.583610,
+ scale: 25
+ })
+ break;
+ case "teach4":
+ wx.openLocation({ /*使用微信内置地图查看位置*/
+ latitude: 37.424545,
+ longitude: 112.585037,
+ scale: 25
+ })
+ break;
+ case "teach5":
+ wx.openLocation({ /*使用微信内置地图查看位置*/
+ latitude: 37.424230,
+ longitude: 112.585917,
+ scale: 25
+ })
+ break;
+ case "teach6":
+ wx.openLocation({ /*使用微信内置地图查看位置*/
+ latitude: 37.423016,
+ longitude: 112.586625,
+ scale: 25
+ })
+ break;
+ case "teach7":
+ wx.openLocation({ /*使用微信内置地图查看位置*/
+ latitude: 37.421550,
+ longitude: 112.582945,
+ scale: 25
+ })
+ break;
+ case "teach8":
+ wx.openLocation({ /*使用微信内置地图查看位置*/
+ latitude: 37.423335,
+ longitude: 112.584801,
+ scale: 25
+ })
+ break;
+ case "teach9":
+ wx.openLocation({ /*使用微信内置地图查看位置*/
+ latitude: 37.421452,
+ longitude: 112.580155,
+ scale: 25
+ })
+ break;
+ case "teach10":
+ wx.openLocation({ /*使用微信内置地图查看位置*/
+ latitude: 37.421555,
+ longitude: 112.579050,
+ scale: 25
+ })
+ break;
+ case "teach11":
+ wx.openLocation({ /*使用微信内置地图查看位置*/
+ latitude: 37.422398,
+ longitude: 112.578599,
+ scale: 25
+ })
+ break;
+ case "teach12":
+ wx.openLocation({ /*使用微信内置地图查看位置*/
+ latitude: 37.424882,
+ longitude: 112.582687,
+ scale: 25
+ })
+ break;
+ case "teach13":
+ wx.openLocation({ /*使用微信内置地图查看位置*/
+ latitude: 37.421883,
+ longitude: 112.587698,
+ scale: 25
+ })
+ break;
+ /**农大医务室 */
+ case "hospital1":
+ wx.openLocation({
+ latitude: 37.425022,
+ longitude: 112.585133,
+ scale: 25
+ })
+ break;
+ /**农大体育场 */
+ case "playground1":
+ wx.openLocation({
+ latitude: 37.421947, /**大操场 */
+ longitude: 112.589071,
+ scale: 25
+ })
+ break;
+ case "playground2":
+ wx.openLocation({
+ latitude: 37.425636,
+ longitude: 112.582322, /**小操场 */
+ scale: 25
+ })
+ break;
+ /**农大图书馆*/
+ case "library1":
+ wx.openLocation({
+ latitude: 37.424051, /**图书馆 */
+ longitude: 112.580541,
+ scale: 25
+ })
+ break;
+ case "library2":
+ wx.openLocation({
+ latitude: 37.424524, /**图书馆 */
+ longitude: 112.583980,
+ scale: 25
+ })
+ break;
+
+
+ /**农大宿舍楼*/
+ case "dorm1":
+ wx.openLocation({
+ latitude: 37.422066, /**学生公寓1 */
+ longitude: 112.584833,
+ scale: 25
+ })
+ break;
+ case "dorm2":
+ wx.openLocation({
+ latitude: 37.422394, /**学生公寓2 */
+ longitude: 112.586399,
+ scale: 25
+ })
+ break;
+ case "dorm3":
+ wx.openLocation({
+ latitude: 37.421751, /**学生公寓3 */
+ longitude: 112.590798,
+
+ scale: 25
+ })
+ break;
+ case "dorm4":
+ wx.openLocation({
+ latitude: 37.425917, /**学生公寓4 */
+ longitude: 112.580520,
+ scale: 25
+ })
+ break;
+ case "dorm5":
+ wx.openLocation({
+ latitude: 37.421261, /**活动中心宿舍楼*/
+ longitude: 112.587896,
+ scale: 25
+ })
+ break;
+ case "dorm6":
+ wx.openLocation({
+ latitude: 37.421090, /**洗浴中心宿舍楼 */
+ longitude: 112.589441,
+ scale: 25
+ })
+ break;
+ }
+ }
+})
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/pages/location/location.json b/scr/wechat-weapp-mapdemo-master/pages/location/location.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/location/location.json
@@ -0,0 +1,3 @@
+{
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/pages/location/location.wxml b/scr/wechat-weapp-mapdemo-master/pages/location/location.wxml
new file mode 100644
index 0000000..76e898b
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/location/location.wxml
@@ -0,0 +1,417 @@
+
+
+
+
+ 校门
+ 餐饮
+ 超市
+ 教学楼
+ 医院
+ 体育场
+ 图书馆
+ 学生公寓
+
+
+
+
+
+
+
+
+ 校门
+
+
+
+
+
+
+
+ 山西农业大学 - 西门
+
+
+
+
+
+
+
+ 山西农业大学 - 旧北门
+
+
+
+
+
+
+
+ 山西农业大学 - 新北门
+
+
+
+
+
+
+
+ 山西农业大学 - 前南门(可过)
+
+
+
+
+
+
+
+ 山西农业大学 - 后南门(一般不开)
+
+
+
+
+
+
+
+
+
+ 餐饮
+
+
+
+
+
+
+
+ 山西农业大学 - 谷园
+
+
+
+
+
+
+
+ 山西农业大学 - 碧桃园
+
+
+
+
+
+
+
+ 山西农业大学 - 教职工餐厅
+
+
+
+
+
+
+
+ 山西农业大学 - 小木屋
+
+
+
+
+
+
+
+ 山西农业大学 - 怡膳园
+
+
+
+
+
+
+
+
+
+
+
+ 超市
+
+
+
+
+
+
+
+ 山西农业大学 - 寸草心超市
+
+
+
+
+
+
+
+ 山西农业大学 - 周边小超市
+
+
+
+
+
+
+
+ 山西农业大学 - 周边小超市
+
+
+
+
+
+
+
+
+
+ 教学楼
+
+
+
+
+
+
+
+ 山西农业大学 - 农学楼(1号)
+
+
+
+
+
+
+
+ 山西农业大学 - 实验大楼
+
+
+
+
+
+
+
+ 山西农业大学 - 崇学楼
+
+
+
+
+
+
+
+ 山西农业大学 - 理化楼
+
+
+
+
+
+
+
+ 山西农业大学 - 教学北楼
+
+
+
+
+
+
+
+ 山西农业大学 - 教学主楼(5号楼)
+
+
+
+
+
+
+
+ 山西农业大学 - 6号楼
+
+
+
+
+
+
+
+ 山西农业大学 - 动物科技学院
+
+
+
+
+
+
+
+ 山西农业大学 - 崇实楼
+
+
+
+
+
+
+
+ 山西农业大学 - 工学院
+
+
+
+
+
+
+
+ 山西农业大学 - 资源环境学院
+
+
+
+
+
+
+
+ 山西农业大学 - 嘉桂教学楼
+
+
+
+
+
+
+
+ 山西农业大学 - 体育部
+
+
+
+
+
+
+
+
+
+
+ 医院
+
+
+
+
+
+
+
+ 山西农业大学 - 校医院
+
+
+
+
+
+
+
+
+ 体育场
+
+
+
+
+
+
+
+ 山西农业大学 - 大操场
+
+
+
+
+
+
+
+
+ 山西农业大学 - 小操场
+
+
+
+
+
+
+
+
+ 图书馆
+
+
+
+
+
+
+
+ 山西农业大学 - 图书馆
+
+
+
+
+
+
+
+ 山西农业大学 - 亭兰图书馆
+
+
+
+
+
+
+
+
+ 学生公寓
+
+
+
+
+
+
+
+ 学生公寓 1-5
+
+
+
+
+
+
+
+
+
+ 学生公寓 6-10
+
+
+
+
+
+
+
+
+
+ 学生公寓 11-19
+
+
+
+
+
+
+
+
+
+ 学生公寓 21-23
+
+
+
+
+
+
+
+
+
+
+ 游泳馆 - (活动中心)
+
+
+
+
+
+
+
+
+
+ 睿智体育馆 - (活动中心)
+
+
+
+
+
+
+
+
diff --git a/scr/wechat-weapp-mapdemo-master/pages/location/location.wxss b/scr/wechat-weapp-mapdemo-master/pages/location/location.wxss
new file mode 100644
index 0000000..8fd18e9
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/location/location.wxss
@@ -0,0 +1,62 @@
+/* pages/sxauguide/sxauguide.wxss */
+/*顶部滑块*/
+.scrollx{
+ display: flex; /*水平居中*/
+ white-space: nowrap; /* 文本不会换行,文本会在在同一行上继续,直到遇到
标签为止。*/
+}
+
+
+.scrollx navigator{
+display: inline-block; /*垂直居中,多个孩子共享一行*/
+padding-left: 20rpx;
+padding-right: 20rpx;
+background: #2d572b;
+color: white;
+font-family: "微软雅黑";
+font-size: 15px;
+padding-top: 10px;
+padding-bottom: 10px;
+}
+.bottom{
+ position:relative; /*相对定位*/
+ float: left;
+ width: 100%;
+}
+.hx_bottomtext{
+display: block;
+position: relative;
+font-family: "微软雅黑";
+font-size: 15px;
+width: 100%;
+top: 10px;
+left: 45%;
+color: #ed5e53;
+margin-bottom: 20px;
+}
+/*控制地点列表的单行展示形式*/
+.hxdoor{
+position: relative;
+display: flex; /*水平居中*/
+width: 100%;
+height: 50px;
+}
+/*控制单行图片位置*/
+.hx_img{
+margin-right: 10px;
+float: left;
+width: 80px;
+height: 40px;
+}
+/*控制单行文字*/
+.hxdoor_text{
+font-size: 16px;
+font-family: "微软雅黑";
+color:#333333;
+margin-left: 20rpx;
+margin-top: 5rpx;
+}
+/*控制go图标*/
+.go{
+width:20px ;
+height:20px;
+}
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/pages/login/login.js b/scr/wechat-weapp-mapdemo-master/pages/login/login.js
new file mode 100644
index 0000000..91c3f1c
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/login/login.js
@@ -0,0 +1,28 @@
+//获取应用实例
+var app = getApp()
+Page({
+ data: {
+ user_name:'',
+ user_password:''
+ },
+//输入用户名
+ userNameChange: function (e) {
+ this.data.user_name = e.detail.value;
+ },
+ //输入密码
+ userPasswordChange: function (e) {
+ this.data.user_password = e.detail.value;
+ },
+ showLive: function () {
+ wx.reLaunch({
+ url: '../Find directions/Find directions',
+ })
+ },
+ showpage: function(){
+ wx.reLaunch(
+ {
+ url:'../ModifyMap/ModifyMap'
+ }
+ )
+ }
+})
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/pages/login/login.json b/scr/wechat-weapp-mapdemo-master/pages/login/login.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/login/login.json
@@ -0,0 +1,3 @@
+{
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/pages/login/login.wxml b/scr/wechat-weapp-mapdemo-master/pages/login/login.wxml
new file mode 100644
index 0000000..326cad0
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/login/login.wxml
@@ -0,0 +1,32 @@
+
+
+ 错误提示
+ 登录
+
+
+
+ 用户名
+
+
+
+
+
+
+
+ 密码
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 注册,忘记密码请联系qq:xx
+
+
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/pages/login/login.wxss b/scr/wechat-weapp-mapdemo-master/pages/login/login.wxss
new file mode 100644
index 0000000..1ac561b
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/login/login.wxss
@@ -0,0 +1,20 @@
+/**index.wxss**/
+.userinfo {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+}
+.userinfo-avatar {
+ width: 128rpx;
+ height: 128rpx;
+ margin: 20rpx;
+ border-radius: 50%;
+}
+
+.userinfo-nickname {
+ color: red;
+}
+
+.usermotto {
+ margin-top: 200px;
+}
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/pages/logs/logs.js b/scr/wechat-weapp-mapdemo-master/pages/logs/logs.js
new file mode 100644
index 0000000..26e868a
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/logs/logs.js
@@ -0,0 +1,66 @@
+// pages/logs/logs.js
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad(options) {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload() {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh() {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom() {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage() {
+
+ }
+})
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/pages/logs/logs.wxml b/scr/wechat-weapp-mapdemo-master/pages/logs/logs.wxml
new file mode 100644
index 0000000..c49f50c
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/logs/logs.wxml
@@ -0,0 +1,2 @@
+
+pages/logs/logs.wxml
diff --git a/scr/wechat-weapp-mapdemo-master/pages/map/map.js b/scr/wechat-weapp-mapdemo-master/pages/map/map.js
new file mode 100644
index 0000000..8e90359
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/map/map.js
@@ -0,0 +1,77 @@
+// map.js
+let schoolData = require('../../resources/gis-school')
+Page({
+ data: {
+ centerX:113.3245211,
+ centerY:23.10229,
+ markers: [],
+ controls: [{
+ id: 1,
+ iconPath: '/image/location-control.png',
+ position: {
+ left: 0,
+ top:10,
+ width: 40,
+ height: 40
+ },
+ clickable: true
+ }]
+ },
+ onReady: function (e) {
+ // 使用 wx.createMapContext 获取 map 上下文
+ this.mapCtx = wx.createMapContext('myMap')
+ },
+ onLoad: function () {
+ console.log('地图定位!')
+ let that = this
+ wx.getLocation({
+ type: 'gcj02', //返回可以用于wx.openLocation的经纬度
+ success:(res)=>{
+ console.log(res)
+ let latitude = res.latitude;
+ let longitude = res.longitude;
+ let marker=this.createMarker(res);
+ this.setData({
+ centerX:longitude,
+ centerY:latitude,
+ markers:this.getSchoolMarkers()
+ })
+ }
+ });
+ },
+ regionchange(e) {
+ console.log(e.type)
+ },
+ markertap(e) {
+ console.log(e)
+ },
+ controltap(e) {
+ console.log(e.controlId)
+ this.moveToLocation()
+ },
+ getSchoolMarkers(){
+ let markers=[];
+ for(let item of schoolData){
+ let marker=this.createMarker(item);
+ markers.push(marker)
+ }
+ return markers;
+ },
+ moveToLocation: function () {
+ this.mapCtx.moveToLocation()
+ },
+ createMarker(point){
+ let latitude = point.latitude;
+ let longitude = point.longitude;
+ let marker= {
+ iconPath: "/image/location.png",
+ id:point.id || 0,
+ name:point.name || '',
+ latitude: latitude,
+ longitude: longitude,
+ width: 25,
+ height: 48
+ };
+ return marker;
+ }
+})
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/pages/map/map.json b/scr/wechat-weapp-mapdemo-master/pages/map/map.json
new file mode 100644
index 0000000..08652e2
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/map/map.json
@@ -0,0 +1,3 @@
+{
+ "navigationBarTitleText": "地图标注"
+}
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/pages/map/map.wxml b/scr/wechat-weapp-mapdemo-master/pages/map/map.wxml
new file mode 100644
index 0000000..1db24af
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/map/map.wxml
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/pages/map/map.wxss b/scr/wechat-weapp-mapdemo-master/pages/map/map.wxss
new file mode 100644
index 0000000..e69de29
diff --git a/scr/wechat-weapp-mapdemo-master/pages/text/text.js b/scr/wechat-weapp-mapdemo-master/pages/text/text.js
new file mode 100644
index 0000000..79166c9
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/text/text.js
@@ -0,0 +1,66 @@
+// pages/text/text.js
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad(options) {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload() {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh() {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom() {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage() {
+
+ }
+})
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/pages/text/text.json b/scr/wechat-weapp-mapdemo-master/pages/text/text.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/text/text.json
@@ -0,0 +1,3 @@
+{
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/pages/text/text.wxml b/scr/wechat-weapp-mapdemo-master/pages/text/text.wxml
new file mode 100644
index 0000000..1c6a105
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/text/text.wxml
@@ -0,0 +1,2 @@
+
+pages/text/text.wxml
diff --git a/scr/wechat-weapp-mapdemo-master/pages/text/text.wxss b/scr/wechat-weapp-mapdemo-master/pages/text/text.wxss
new file mode 100644
index 0000000..25d00ed
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/pages/text/text.wxss
@@ -0,0 +1 @@
+/* pages/text/text.wxss */
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/project.config.json b/scr/wechat-weapp-mapdemo-master/project.config.json
new file mode 100644
index 0000000..fd7e676
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/project.config.json
@@ -0,0 +1,29 @@
+{
+ "compileType": "miniprogram",
+ "setting": {
+ "coverView": true,
+ "es6": false,
+ "postcss": true,
+ "minified": true,
+ "enhance": true,
+ "showShadowRootInWxmlPanel": true,
+ "packNpmRelationList": [],
+ "babelSetting": {
+ "ignore": [],
+ "disablePlugins": [],
+ "outputPath": ""
+ },
+ "ignoreUploadUnusedFiles": true
+ },
+ "condition": {},
+ "editorSetting": {
+ "tabIndent": "insertSpaces",
+ "tabSize": 2
+ },
+ "libVersion": "2.27.0",
+ "packOptions": {
+ "ignore": [],
+ "include": []
+ },
+ "appid": "wx5e77d1bb9e24f179"
+}
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/project.private.config.json b/scr/wechat-weapp-mapdemo-master/project.private.config.json
new file mode 100644
index 0000000..023a2fc
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/project.private.config.json
@@ -0,0 +1,7 @@
+{
+ "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
+ "projectname": "wechat-weapp-mapdemo-master",
+ "setting": {
+ "compileHotReLoad": false
+ }
+}
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/resources/gis-school.js b/scr/wechat-weapp-mapdemo-master/resources/gis-school.js
new file mode 100644
index 0000000..04c361c
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/resources/gis-school.js
@@ -0,0 +1,1118 @@
+module.exports=[
+ {
+ "id": 1,
+ "name": "北京大学",
+ "longitude": "116.316176",
+ "latitude": "39.997741"
+ },
+ {
+ "id": 2,
+ "name": "西安科技大学",
+ "longitude": "108.968176",
+ "latitude": "34.239638"
+ },
+ {
+ "id": 3,
+ "name": "西北农林科技大学",
+ "longitude": "108.075936",
+ "latitude": "34.270661"
+ },
+ {
+ "id": 4,
+ "name": "陕西师范大学",
+ "longitude": "108.902888",
+ "latitude": "34.159134"
+ },
+ {
+ "id": 5,
+ "name": "咸阳师范学院",
+ "longitude": "108.734502",
+ "latitude": "34.366822"
+ },
+ {
+ "id": 6,
+ "name": "西北大学(太白校区)",
+ "longitude": "108.934224",
+ "latitude": "34.253588"
+ },
+ {
+ "id": 7,
+ "name": "长安大学",
+ "longitude": "108.962926",
+ "latitude": "34.238489"
+ },
+ {
+ "id": 8,
+ "name": "兰州大学",
+ "longitude": "103.86663",
+ "latitude": "36.051997"
+ },
+ {
+ "id": 9,
+ "name": "甘肃农业大学",
+ "longitude": "103.707241",
+ "latitude": "36.096718"
+ },
+ {
+ "id": 10,
+ "name": "西北师范大学",
+ "longitude": "103.744761",
+ "latitude": "36.104394"
+ },
+ {
+ "id": 11,
+ "name": "甘肃林业职业技术学院",
+ "longitude": "105.918299",
+ "latitude": "34.48885"
+ },
+ {
+ "id": 12,
+ "name": "兰州交通大学",
+ "longitude": "103.730911",
+ "latitude": "36.111356"
+ },
+ {
+ "id": 13,
+ "name": "青海师范大学",
+ "longitude": "101.74888",
+ "latitude": "36.645819"
+ },
+ {
+ "id": 14,
+ "name": "青海师范大学",
+ "longitude": "101.74888",
+ "latitude": "36.645819"
+ },
+ {
+ "id": 15,
+ "name": "宁夏大学",
+ "longitude": "106.14383",
+ "latitude": "38.502388"
+ },
+ {
+ "id": 16,
+ "name": "新疆农业大学",
+ "longitude": "87.573015",
+ "latitude": "43.818545"
+ },
+ {
+ "id": 17,
+ "name": "新疆师范大学",
+ "longitude": "87.600303",
+ "latitude": "43.839824"
+ },
+ {
+ "id": 18,
+ "name": "新疆大学",
+ "longitude": "87.622704",
+ "latitude": "43.772078"
+ },
+ {
+ "id": 19,
+ "name": "昆明理工大学莲花校区",
+ "longitude": "102.70396",
+ "latitude": "25.066269"
+ },
+ {
+ "id": 20,
+ "name": "西南林业大学",
+ "longitude": "102.75875",
+ "latitude": "25.063838"
+ },
+ {
+ "id": 21,
+ "name": "昆明理工大学津桥学院",
+ "longitude": "102.660574",
+ "latitude": "25.078567"
+ },
+ {
+ "id": 22,
+ "name": "昆明理工大学津桥学院",
+ "longitude": "102.660574",
+ "latitude": "25.078567"
+ },
+ {
+ "id": 23,
+ "name": "云南师范大学本部",
+ "longitude": "102.702368",
+ "latitude": "25.060959"
+ },
+ {
+ "id": 24,
+ "name": "昆明冶金高等专科学校(石江)",
+ "longitude": "102.448038",
+ "latitude": "24.888587"
+ },
+ {
+ "id": 25,
+ "name": "云南大学",
+ "longitude": "102.709377",
+ "latitude": "25.06064"
+ },
+ {
+ "id": 26,
+ "name": "云南能源职业技术学院",
+ "longitude": "103.834979",
+ "latitude": "25.549237"
+ },
+ {
+ "id": 27,
+ "name": "云南国土资源职业学院小板桥校区",
+ "longitude": "102.797673",
+ "latitude": "24.976261"
+ },
+ {
+ "id": 28,
+ "name": "贵州师范大学",
+ "longitude": "106.727435",
+ "latitude": "26.594053"
+ },
+ {
+ "id": 29,
+ "name": "贵州大学",
+ "longitude": "106.679274",
+ "latitude": "26.450557"
+ },
+ {
+ "id": 30,
+ "name": "西南交通大学(九里校区)",
+ "longitude": "104.059612",
+ "latitude": "30.704212"
+ },
+ {
+ "id": 31,
+ "name": "成都信息工程学院",
+ "longitude": "103.996398",
+ "latitude": "30.585144"
+ },
+ {
+ "id": 32,
+ "name": "西华师范大学华凤校区",
+ "longitude": "106.075406",
+ "latitude": "30.826496"
+ },
+ {
+ "id": 33,
+ "name": "四川师范大学",
+ "longitude": "103.661761",
+ "latitude": "30.656568"
+ },
+ {
+ "id": 34,
+ "name": "四川农业大学",
+ "longitude": "103.007339",
+ "latitude": "29.984534"
+ },
+ {
+ "id": 35,
+ "name": "成都理工大学工程技术学院",
+ "longitude": "103.736131",
+ "latitude": "29.56571"
+ },
+ {
+ "id": 36,
+ "name": "西南石油大学(成都校区)",
+ "longitude": "104.190488",
+ "latitude": "30.831667"
+ },
+ {
+ "id": 37,
+ "name": "成都理工大学",
+ "longitude": "104.150675",
+ "latitude": "30.679034"
+ },
+ {
+ "id": 38,
+ "name": "西南科技大学",
+ "longitude": "104.701712",
+ "latitude": "31.54063"
+ },
+ {
+ "id": 39,
+ "name": "四川水利职业技术学院",
+ "longitude": "103.784939",
+ "latitude": "30.637554"
+ },
+ {
+ "id": 40,
+ "name": "西南大学",
+ "longitude": "106.435313",
+ "latitude": "29.827724"
+ },
+ {
+ "id": 41,
+ "name": "重庆交通大学",
+ "longitude": "106.578179",
+ "latitude": "29.49622"
+ },
+ {
+ "id": 42,
+ "name": "重庆邮电大学",
+ "longitude": "106.613922",
+ "latitude": "29.53832"
+ },
+ {
+ "id": 43,
+ "name": "重庆师范学院",
+ "longitude": "106.465916",
+ "latitude": "29.562619"
+ },
+ {
+ "id": 44,
+ "name": "重庆师范学院",
+ "longitude": "106.465916",
+ "latitude": "29.562619"
+ },
+ {
+ "id": 45,
+ "name": "广西师范学院",
+ "longitude": "108.354617",
+ "latitude": "22.839659"
+ },
+ {
+ "id": 46,
+ "name": "桂林理工大学",
+ "longitude": "110.322879",
+ "latitude": "25.286816"
+ },
+ {
+ "id": 47,
+ "name": "桂林理工大学博文管理学院",
+ "longitude": "110.312315",
+ "latitude": "25.071391"
+ },
+ {
+ "id": 48,
+ "name": "钦州学院",
+ "longitude": "108.639405",
+ "latitude": "21.982842"
+ },
+ {
+ "id": 49,
+ "name": "国立中山大学",
+ "longitude": "113.304724",
+ "latitude": "23.102257"
+ },
+ {
+ "id": 50,
+ "name": "华南农业大学",
+ "longitude": "113.357925",
+ "latitude": "23.163307"
+ },
+ {
+ "id": 51,
+ "name": "华南师范大学(正门)",
+ "longitude": "113.354527",
+ "latitude": "23.142099"
+ },
+ {
+ "id": 52,
+ "name": "佛山科学技术学院",
+ "longitude": "113.113966",
+ "latitude": "23.024999"
+ },
+ {
+ "id": 53,
+ "name": "广东嘉应学院",
+ "longitude": "116.134827",
+ "latitude": "24.33214"
+ },
+ {
+ "id": 54,
+ "name": "广州大学",
+ "longitude": "113.3778",
+ "latitude": "23.043873"
+ },
+ {
+ "id": 55,
+ "name": "广东工贸职业技术学院",
+ "longitude": "113.462491",
+ "latitude": "23.407151"
+ },
+ {
+ "id": 56,
+ "name": "中南大学",
+ "longitude": "112.942655",
+ "latitude": "28.165898"
+ },
+ {
+ "id": 57,
+ "name": "湖南科技大学",
+ "longitude": "112.929134",
+ "latitude": "27.89923"
+ },
+ {
+ "id": 58,
+ "name": "衡阳师范学院",
+ "longitude": "112.63191",
+ "latitude": "26.874344"
+ },
+ {
+ "id": 59,
+ "name": "湖南师范大学",
+ "longitude": "112.956563",
+ "latitude": "28.193059"
+ },
+ {
+ "id": 60,
+ "name": "湖南城市学院",
+ "longitude": "112.396856",
+ "latitude": "28.547046"
+ },
+ {
+ "id": 61,
+ "name": "中南林业科技大学",
+ "longitude": "113.004217",
+ "latitude": "28.138946"
+ },
+ {
+ "id": 62,
+ "name": "武汉大学",
+ "longitude": "114.37139",
+ "latitude": "30.544742"
+ },
+ {
+ "id": 63,
+ "name": "中国地质大学(武汉)",
+ "longitude": "114.409031",
+ "latitude": "30.526561"
+ },
+ {
+ "id": 64,
+ "name": "武汉理工大学",
+ "longitude": "114.358518",
+ "latitude": "30.525667"
+ },
+ {
+ "id": 65,
+ "name": "湖北大学",
+ "longitude": "114.3386",
+ "latitude": "30.584771"
+ },
+ {
+ "id": 66,
+ "name": "华中农业大学",
+ "longitude": "114.364494",
+ "latitude": "30.480121"
+ },
+ {
+ "id": 67,
+ "name": "湖北科技职业学院",
+ "longitude": "114.411275",
+ "latitude": "30.477686"
+ },
+ {
+ "id": 68,
+ "name": "湖北科技职业学院",
+ "longitude": "114.411275",
+ "latitude": "30.477686"
+ },
+ {
+ "id": 69,
+ "name": "湖北科技职业学院",
+ "longitude": "114.411275",
+ "latitude": "30.477686"
+ },
+ {
+ "id": 70,
+ "name": "湖北科技职业学院",
+ "longitude": "114.411275",
+ "latitude": "30.477686"
+ },
+ {
+ "id": 71,
+ "name": "中国地质大学江城学院",
+ "longitude": "114.341805",
+ "latitude": "30.355516"
+ },
+ {
+ "id": 72,
+ "name": "长江大学",
+ "longitude": "112.221968",
+ "latitude": "30.338725"
+ },
+ {
+ "id": 73,
+ "name": "湖北国土资源职业学院(东北门)",
+ "longitude": "114.057401",
+ "latitude": "30.325205"
+ },
+ {
+ "id": 74,
+ "name": "许昌学院",
+ "longitude": "113.875257",
+ "latitude": "34.04855"
+ },
+ {
+ "id": 75,
+ "name": "河南城建学院",
+ "longitude": "113.19581",
+ "latitude": "33.775585"
+ },
+ {
+ "id": 76,
+ "name": "黄河水利职业技术学院",
+ "longitude": "114.340122",
+ "latitude": "34.812714"
+ },
+ {
+ "id": 77,
+ "name": "南阳师院教育学院",
+ "longitude": "112.522623",
+ "latitude": "32.995848"
+ },
+ {
+ "id": 78,
+ "name": "华北水利水电大学",
+ "longitude": "113.801654",
+ "latitude": "34.791358"
+ },
+ {
+ "id": 79,
+ "name": "信阳师范学院-华锐学院",
+ "longitude": "114.045518",
+ "latitude": "32.147236"
+ },
+ {
+ "id": 80,
+ "name": "信阳师范学院-华锐学院",
+ "longitude": "114.045518",
+ "latitude": "32.147236"
+ },
+ {
+ "id": 81,
+ "name": "河南农业大学",
+ "longitude": "113.669781",
+ "latitude": "34.79138"
+ },
+ {
+ "id": 82,
+ "name": "郑州大学(新校区)",
+ "longitude": "113.542962",
+ "latitude": "34.822975"
+ },
+ {
+ "id": 83,
+ "name": "河南理工大学万方科技学院",
+ "longitude": "113.240591",
+ "latitude": "35.248056"
+ },
+ {
+ "id": 84,
+ "name": "河南大学",
+ "longitude": "114.31496",
+ "latitude": "34.82336"
+ },
+ {
+ "id": 85,
+ "name": "河南财经政法大学",
+ "longitude": "113.826659",
+ "latitude": "34.787689"
+ },
+ {
+ "id": 86,
+ "name": "河南理工大学",
+ "longitude": "113.272211",
+ "latitude": "35.194323"
+ },
+ {
+ "id": 87,
+ "name": "鲁东大学",
+ "longitude": "121.365593",
+ "latitude": "37.528502"
+ },
+ {
+ "id": 88,
+ "name": "山东交通学院",
+ "longitude": "116.803805",
+ "latitude": "36.54318"
+ },
+ {
+ "id": 89,
+ "name": "枣庄学院",
+ "longitude": "117.542936",
+ "latitude": "34.906593"
+ },
+ {
+ "id": 90,
+ "name": "滨州学院",
+ "longitude": "117.995681",
+ "latitude": "37.391121"
+ },
+ {
+ "id": 91,
+ "name": "聊城大学",
+ "longitude": "116.00266",
+ "latitude": "36.440279"
+ },
+ {
+ "id": 92,
+ "name": "山东建筑大学",
+ "longitude": "117.191719",
+ "latitude": "36.688677"
+ },
+ {
+ "id": 93,
+ "name": "山东农业大学(本部)",
+ "longitude": "117.125149",
+ "latitude": "36.20079"
+ },
+ {
+ "id": 94,
+ "name": "山东师范大学",
+ "longitude": "117.048643",
+ "latitude": "36.657842"
+ },
+ {
+ "id": 95,
+ "name": "山东科技大学",
+ "longitude": "120.13158",
+ "latitude": "36.005974"
+ },
+ {
+ "id": 96,
+ "name": "山东科技大学",
+ "longitude": "120.13158",
+ "latitude": "36.005974"
+ },
+ {
+ "id": 97,
+ "name": "中国石油大学",
+ "longitude": "120.182287",
+ "latitude": "35.951212"
+ },
+ {
+ "id": 98,
+ "name": "江西农业大学",
+ "longitude": "115.839315",
+ "latitude": "28.768197"
+ },
+ {
+ "id": 99,
+ "name": "赣南师范学院",
+ "longitude": "114.893787",
+ "latitude": "25.801247"
+ },
+ {
+ "id": 100,
+ "name": "江西师范大学",
+ "longitude": "115.930063",
+ "latitude": "28.683728"
+ },
+ {
+ "id": 101,
+ "name": "东华理工大学(广兰校区)",
+ "longitude": "115.832359",
+ "latitude": "28.725326"
+ },
+ {
+ "id": 102,
+ "name": "江西理工大学",
+ "longitude": "114.935558",
+ "latitude": "25.860808"
+ },
+ {
+ "id": 103,
+ "name": "江西信息应用职业技术学院",
+ "longitude": "115.913581",
+ "latitude": "28.59398"
+ },
+ {
+ "id": 104,
+ "name": "福建师范大学",
+ "longitude": "119.315693",
+ "latitude": "26.042134"
+ },
+ {
+ "id": 105,
+ "name": "福建师范大学协和学院",
+ "longitude": "119.213145",
+ "latitude": "26.028946"
+ },
+ {
+ "id": 106,
+ "name": "闽江学院工业路校区",
+ "longitude": "119.286411",
+ "latitude": "26.071289"
+ },
+ {
+ "id": 107,
+ "name": "集美大学",
+ "longitude": "118.106347",
+ "latitude": "24.577286"
+ },
+ {
+ "id": 108,
+ "name": "泉州师范学院",
+ "longitude": "118.676072",
+ "latitude": "24.873525"
+ },
+ {
+ "id": 109,
+ "name": "安徽农业大学",
+ "longitude": "117.264855",
+ "latitude": "31.86668"
+ },
+ {
+ "id": 110,
+ "name": "安徽建筑大学南区",
+ "longitude": "117.229423",
+ "latitude": "31.749981"
+ },
+ {
+ "id": 111,
+ "name": "合肥工业大学(屯溪路校区)",
+ "longitude": "117.302545",
+ "latitude": "31.849275"
+ },
+ {
+ "id": 112,
+ "name": "池州学院",
+ "longitude": "117.572812",
+ "latitude": "30.650029"
+ },
+ {
+ "id": 113,
+ "name": "安徽大学",
+ "longitude": "117.262098",
+ "latitude": "31.85077"
+ },
+ {
+ "id": 114,
+ "name": "铜陵学院新校区",
+ "longitude": "117.852676",
+ "latitude": "30.97003"
+ },
+ {
+ "id": 115,
+ "name": "安徽理工大学",
+ "longitude": "117.017248",
+ "latitude": "32.639648"
+ },
+ {
+ "id": 116,
+ "name": "滁州学院(北校区)",
+ "longitude": "118.310258",
+ "latitude": "32.299393"
+ },
+ {
+ "id": 117,
+ "name": "安徽科技学院(东华路)",
+ "longitude": "117.572961",
+ "latitude": "32.878498"
+ },
+ {
+ "id": 118,
+ "name": "安徽师范大学南校区",
+ "longitude": "118.385586",
+ "latitude": "31.289755"
+ },
+ {
+ "id": 119,
+ "name": "黑龙江信息技术职业学院(学院路...",
+ "longitude": "126.528409",
+ "latitude": "45.877985"
+ },
+ {
+ "id": 120,
+ "name": "哈尔滨铁道职业技术学院",
+ "longitude": "126.633171",
+ "latitude": "45.706801"
+ },
+ {
+ "id": 121,
+ "name": "哈尔滨师范大学",
+ "longitude": "126.566119",
+ "latitude": "45.867041"
+ },
+ {
+ "id": 122,
+ "name": "黑龙江工程学院",
+ "longitude": "126.69621",
+ "latitude": "45.789833"
+ },
+ {
+ "id": 123,
+ "name": "东北林业大学",
+ "longitude": "126.644728",
+ "latitude": "45.72658"
+ },
+ {
+ "id": 124,
+ "name": "吉林大学",
+ "longitude": "125.269766",
+ "latitude": "43.912027"
+ },
+ {
+ "id": 125,
+ "name": "东北师范大学",
+ "longitude": "125.337277",
+ "latitude": "43.867238"
+ },
+ {
+ "id": 126,
+ "name": "吉林建筑大学",
+ "longitude": "125.413674",
+ "latitude": "43.801768"
+ },
+ {
+ "id": 127,
+ "name": "长春师范大学",
+ "longitude": "125.402986",
+ "latitude": "43.921203"
+ },
+ {
+ "id": 128,
+ "name": "吉林工程技术师范学院",
+ "longitude": "125.414453",
+ "latitude": "43.889344"
+ },
+ {
+ "id": 129,
+ "name": "吉林工程技术师范学院",
+ "longitude": "125.414453",
+ "latitude": "43.889344"
+ },
+ {
+ "id": 130,
+ "name": "吉林师范大学",
+ "longitude": "124.350798",
+ "latitude": "43.162921"
+ },
+ {
+ "id": 131,
+ "name": "延边大学",
+ "longitude": "129.499039",
+ "latitude": "42.916793"
+ },
+ {
+ "id": 132,
+ "name": "东北大学",
+ "longitude": "123.426007",
+ "latitude": "41.770841"
+ },
+ {
+ "id": 133,
+ "name": "辽宁工程技术大学",
+ "longitude": "121.67119",
+ "latitude": "42.029827"
+ },
+ {
+ "id": 134,
+ "name": "大连海事大学",
+ "longitude": "121.538757",
+ "latitude": "38.877552"
+ },
+ {
+ "id": 135,
+ "name": "辽宁师范大学",
+ "longitude": "121.570587",
+ "latitude": "38.922313"
+ },
+ {
+ "id": 136,
+ "name": "太原师范学院",
+ "longitude": "112.583794",
+ "latitude": "37.870068"
+ },
+ {
+ "id": 137,
+ "name": "太原理工大学",
+ "longitude": "112.531074",
+ "latitude": "37.859706"
+ },
+ {
+ "id": 138,
+ "name": "山西师范大学",
+ "longitude": "111.51236",
+ "latitude": "36.086532"
+ },
+ {
+ "id": 139,
+ "name": "山西农业大学",
+ "longitude": "112.588682",
+ "latitude": "37.430004"
+ },
+ {
+ "id": 140,
+ "name": "燕山大学",
+ "longitude": "119.544697",
+ "latitude": "39.910159"
+ },
+ {
+ "id": 141,
+ "name": "河北工程大学",
+ "longitude": "114.507632",
+ "latitude": "36.577973"
+ },
+ {
+ "id": 142,
+ "name": "河北师范大学(新校区)",
+ "longitude": "114.527955",
+ "latitude": "38.002"
+ },
+ {
+ "id": 143,
+ "name": "河北联合大学",
+ "longitude": "114.43145",
+ "latitude": "38.094956"
+ },
+ {
+ "id": 144,
+ "name": "河北联合大学",
+ "longitude": "114.43145",
+ "latitude": "38.094956"
+ },
+ {
+ "id": 145,
+ "name": "中国地质大学长城学院",
+ "longitude": "115.493827",
+ "latitude": "38.820215"
+ },
+ {
+ "id": 146,
+ "name": "邢台学院",
+ "longitude": "114.511934",
+ "latitude": "37.096848"
+ },
+ {
+ "id": 147,
+ "name": "石家庄经济学院",
+ "longitude": "114.555047",
+ "latitude": "38.025888"
+ },
+ {
+ "id": 148,
+ "name": "张家口学院",
+ "longitude": "114.875186",
+ "latitude": "40.848254"
+ },
+ {
+ "id": 149,
+ "name": "河北联合大学轻工学院",
+ "longitude": "118.166972",
+ "latitude": "39.68311"
+ },
+ {
+ "id": 150,
+ "name": "天津城建大学",
+ "longitude": "117.102435",
+ "latitude": "39.101432"
+ },
+ {
+ "id": 151,
+ "name": "天津师范大学",
+ "longitude": "117.134162",
+ "latitude": "39.078287"
+ },
+ {
+ "id": 152,
+ "name": "北京林业大学",
+ "longitude": "116.350675",
+ "latitude": "40.007593"
+ },
+ {
+ "id": 153,
+ "name": "北京师范大学",
+ "longitude": "116.37377",
+ "latitude": "39.967216"
+ },
+ {
+ "id": 154,
+ "name": "中国地质大学(北京)",
+ "longitude": "116.354123",
+ "latitude": "39.997161"
+ },
+ {
+ "id": 155,
+ "name": "中国农业大学",
+ "longitude": "116.36421",
+ "latitude": "40.010529"
+ },
+ {
+ "id": 156,
+ "name": "北京联合大学",
+ "longitude": "116.433812",
+ "latitude": "39.996166"
+ },
+ {
+ "id": 157,
+ "name": "北京建筑大学",
+ "longitude": "116.34892",
+ "latitude": "39.941021"
+ },
+ {
+ "id": 158,
+ "name": "北京工业职业技术学院",
+ "longitude": "116.128658",
+ "latitude": "39.965537"
+ },
+ {
+ "id": 159,
+ "name": "首都师范大学",
+ "longitude": "116.31305",
+ "latitude": "39.936754"
+ },
+ {
+ "id": 160,
+ "name": "北京北大方正软件技术学院第三教学楼",
+ "longitude": "116.747548",
+ "latitude": "39.621014"
+ },
+ {
+ "id": 161,
+ "name": "浙江大学(玉泉校区)",
+ "longitude": "120.129649",
+ "latitude": "30.270067"
+ },
+ {
+ "id": 162,
+ "name": "杭州师范大学(东南门)",
+ "longitude": "120.020273",
+ "latitude": "30.294339"
+ },
+ {
+ "id": 163,
+ "name": "浙江农林大学",
+ "longitude": "119.735539",
+ "latitude": "30.262074"
+ },
+ {
+ "id": 164,
+ "name": "华东师范大学",
+ "longitude": "121.45944",
+ "latitude": "31.034692"
+ },
+ {
+ "id": 165,
+ "name": "同济大学",
+ "longitude": "121.507102",
+ "latitude": "31.288675"
+ },
+ {
+ "id": 166,
+ "name": "上海师范大学(桂林路)",
+ "longitude": "121.423228",
+ "latitude": "31.167505"
+ },
+ {
+ "id": 167,
+ "name": "南京大学",
+ "longitude": "118.783661",
+ "latitude": "32.064172"
+ },
+ {
+ "id": 168,
+ "name": "东南大学",
+ "longitude": "118.800002",
+ "latitude": "32.061518"
+ },
+ {
+ "id": 169,
+ "name": "南京航空航天大学",
+ "longitude": "118.823973",
+ "latitude": "32.040752"
+ },
+ {
+ "id": 170,
+ "name": "南京林业大学",
+ "longitude": "118.819924",
+ "latitude": "32.08331"
+ },
+ {
+ "id": 171,
+ "name": "南京师范大学(随园校区)",
+ "longitude": "118.775625",
+ "latitude": "32.059536"
+ },
+ {
+ "id": 172,
+ "name": "南京工业大学",
+ "longitude": "118.650869",
+ "latitude": "32.077849"
+ },
+ {
+ "id": 173,
+ "name": "南京信息工程大学(宁六路校区)",
+ "longitude": "118.729585",
+ "latitude": "32.210505"
+ },
+ {
+ "id": 174,
+ "name": "南京晓庄学院(莫愁校区)",
+ "longitude": "118.75911",
+ "latitude": "32.042803"
+ },
+ {
+ "id": 175,
+ "name": "南京邮电大学",
+ "longitude": "118.937391",
+ "latitude": "32.11451"
+ },
+ {
+ "id": 176,
+ "name": "中国矿业大学(文昌校区)",
+ "longitude": "117.205304",
+ "latitude": "34.226185"
+ },
+ {
+ "id": 177,
+ "name": "中国矿业大学(文昌校区)",
+ "longitude": "117.205304",
+ "latitude": "34.226185"
+ },
+ {
+ "id": 178,
+ "name": "淮阴师范学院",
+ "longitude": "119.013622",
+ "latitude": "33.647564"
+ },
+ {
+ "id": 179,
+ "name": "淮海工学院",
+ "longitude": "119.228426",
+ "latitude": "34.611902"
+ },
+ {
+ "id": 180,
+ "name": "南京师范大学泰州学院",
+ "longitude": "119.947592",
+ "latitude": "32.481954"
+ },
+ {
+ "id": 181,
+ "name": "江苏师范大学",
+ "longitude": "117.185967",
+ "latitude": "34.201676"
+ },
+ {
+ "id": 182,
+ "name": "南通大学",
+ "longitude": "120.915932",
+ "latitude": "31.978858"
+ },
+ {
+ "id": 183,
+ "name": "扬州职业大学",
+ "longitude": "119.387026",
+ "latitude": "32.401189"
+ },
+ {
+ "id": 184,
+ "name": "扬州环境资源职业技术学院(念四校区)",
+ "longitude": "119.427223",
+ "latitude": "32.404161"
+ },
+ {
+ "id": 185,
+ "name": "苏州科技学院",
+ "longitude": "120.583218",
+ "latitude": "31.255356"
+ },
+ {
+ "id": 186,
+ "name": "地图说明",
+ "longitude": "103.053633",
+ "latitude": "44.733374"
+ }
+]
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/style/weui.wxss b/scr/wechat-weapp-mapdemo-master/style/weui.wxss
new file mode 100644
index 0000000..3d6cfac
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/style/weui.wxss
@@ -0,0 +1,6 @@
+/*!
+ * WeUI v1.1.1 (https://github.com/weui/weui-wxss)
+ * Copyright 2017 Tencent, Inc.
+ * Licensed under the MIT license
+ */
+page{line-height:1.6;font-family:-apple-system-font,Helvetica Neue,sans-serif}icon{vertical-align:middle}.weui-cells{position:relative;margin-top:1.17647059em;background-color:#fff;line-height:1.41176471;font-size:17px}.weui-cells:before{top:0;border-top:1rpx solid #d9d9d9}.weui-cells:after,.weui-cells:before{content:" ";position:absolute;left:0;right:0;height:1px;color:#d9d9d9}.weui-cells:after{bottom:0;border-bottom:1rpx solid #d9d9d9}.weui-cells__title{margin-top:.77em;margin-bottom:.3em;padding-left:15px;padding-right:15px;color:#999;font-size:14px}.weui-cells_after-title{margin-top:0}.weui-cells__tips{margin-top:.3em;color:#999;padding-left:15px;padding-right:15px;font-size:14px}.weui-cell{padding:10px 15px;position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-cell:before{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1rpx solid #d9d9d9;color:#d9d9d9;left:15px}.weui-cell:first-child:before{display:none}.weui-cell_active{background-color:#ececec}.weui-cell_primary{-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}.weui-cell__bd{-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-cell__ft{text-align:right;color:#999}.weui-cell_access{color:inherit}.weui-cell__ft_in-access{padding-right:13px;position:relative}.weui-cell__ft_in-access:after{content:" ";display:inline-block;height:6px;width:6px;border-width:2px 2px 0 0;border-color:#c8c8cd;border-style:solid;-webkit-transform:matrix(.71,.71,-.71,.71,0,0);transform:matrix(.71,.71,-.71,.71,0,0);position:relative;top:-2px;position:absolute;top:50%;margin-top:-4px;right:2px}.weui-cell_link{color:#586c94;font-size:14px}.weui-cell_link:active{background-color:#ececec}.weui-cell_link:first-child:before{display:block}.weui-icon-radio{margin-left:3.2px;margin-right:3.2px}.weui-icon-checkbox_circle,.weui-icon-checkbox_success{margin-left:4.6px;margin-right:4.6px}.weui-check__label:active{background-color:#ececec}.weui-check{position:absolute;left:-9999px}.weui-check__hd_in-checkbox{padding-right:.35em}.weui-cell__ft_in-radio{padding-left:.35em}.weui-cell_input{padding-top:0;padding-bottom:0}.weui-label{width:105px;word-wrap:break-word;word-break:break-all}.weui-input{height:2.58823529em;min-height:2.58823529em;line-height:2.58823529em}.weui-toptips{position:fixed;-webkit-transform:translateZ(0);transform:translateZ(0);top:0;left:0;right:0;padding:5px;font-size:14px;text-align:center;color:#fff;z-index:5000;word-wrap:break-word;word-break:break-all}.weui-toptips_warn{background-color:#e64340}.weui-textarea{display:block;width:100%}.weui-textarea-counter{color:#b2b2b2;text-align:right}.weui-cell_warn,.weui-textarea-counter_warn{color:#e64340}.weui-form-preview{position:relative;background-color:#fff}.weui-form-preview:before{top:0;border-top:1rpx solid #d9d9d9}.weui-form-preview:after,.weui-form-preview:before{content:" ";position:absolute;left:0;right:0;height:1px;color:#d9d9d9}.weui-form-preview:after{bottom:0;border-bottom:1rpx solid #d9d9d9}.weui-form-preview__value{font-size:14px}.weui-form-preview__value_in-hd{font-size:26px}.weui-form-preview__hd{position:relative;padding:10px 15px;text-align:right;line-height:2.5em}.weui-form-preview__hd:after{content:" ";position:absolute;left:0;bottom:0;right:0;height:1px;border-bottom:1rpx solid #d9d9d9;color:#d9d9d9;left:15px}.weui-form-preview__bd{padding:10px 15px;font-size:.9em;text-align:right;color:#999;line-height:2}.weui-form-preview__ft{position:relative;line-height:50px;display:-webkit-box;display:-webkit-flex;display:flex}.weui-form-preview__ft:after{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1rpx solid #d5d5d6;color:#d5d5d6}.weui-form-preview__item{overflow:hidden}.weui-form-preview__label{float:left;margin-right:1em;min-width:4em;color:#999;text-align:justify;text-align-last:justify}.weui-form-preview__value{display:block;overflow:hidden;word-break:normal;word-wrap:break-word}.weui-form-preview__btn{position:relative;display:block;-webkit-box-flex:1;-webkit-flex:1;flex:1;color:#3cc51f;text-align:center}.weui-form-preview__btn:after{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1rpx solid #d5d5d6;color:#d5d5d6}.weui-form-preview__btn:first-child:after{display:none}.weui-form-preview__btn_active{background-color:#eee}.weui-form-preview__btn_default{color:#999}.weui-form-preview__btn_primary{color:#0bb20c}.weui-cell_select{padding:0}.weui-select{position:relative;padding-left:15px;padding-right:30px;height:2.58823529em;min-height:2.58823529em;line-height:2.58823529em;border-right:1rpx solid #d9d9d9}.weui-select:before{content:" ";display:inline-block;height:6px;width:6px;border-width:2px 2px 0 0;border-color:#c8c8cd;border-style:solid;-webkit-transform:matrix(.71,.71,-.71,.71,0,0);transform:matrix(.71,.71,-.71,.71,0,0);position:relative;top:-2px;position:absolute;top:50%;right:15px;margin-top:-4px}.weui-select_in-select-after{padding-left:0}.weui-cell__bd_in-select-before,.weui-cell__hd_in-select-after{padding-left:15px}.weui-cell_vcode{padding-right:0}.weui-vcode-btn,.weui-vcode-img{margin-left:5px;height:2.58823529em;vertical-align:middle}.weui-vcode-btn{display:inline-block;padding:0 .6em 0 .7em;border-left:1px solid #e5e5e5;line-height:2.58823529em;font-size:17px;color:#3cc51f;white-space:nowrap}.weui-vcode-btn:active{color:#52a341}.weui-cell_switch{padding-top:6px;padding-bottom:6px}.weui-uploader__hd{display:-webkit-box;display:-webkit-flex;display:flex;padding-bottom:10px;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-uploader__title{-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-uploader__info{color:#b2b2b2}.weui-uploader__bd{margin-bottom:-4px;margin-right:-9px;overflow:hidden}.weui-uploader__file{float:left;margin-right:9px;margin-bottom:9px}.weui-uploader__img{display:block;width:79px;height:79px}.weui-uploader__file_status{position:relative}.weui-uploader__file_status:before{content:" ";position:absolute;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.5)}.weui-uploader__file-content{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#fff}.weui-uploader__input-box{float:left;position:relative;margin-right:9px;margin-bottom:9px;width:77px;height:77px;border:1px solid #d9d9d9}.weui-uploader__input-box:after,.weui-uploader__input-box:before{content:" ";position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);background-color:#d9d9d9}.weui-uploader__input-box:before{width:2px;height:39.5px}.weui-uploader__input-box:after{width:39.5px;height:2px}.weui-uploader__input-box:active{border-color:#999}.weui-uploader__input-box:active:after,.weui-uploader__input-box:active:before{background-color:#999}.weui-uploader__input{position:absolute;z-index:1;top:0;left:0;width:100%;height:100%;opacity:0}.weui-article{padding:20px 15px;font-size:15px}.weui-article__section{margin-bottom:1.5em}.weui-article__h1{font-size:18px;font-weight:400;margin-bottom:.9em}.weui-article__h2{font-size:16px;font-weight:400;margin-bottom:.34em}.weui-article__h3{font-weight:400;font-size:15px;margin-bottom:.34em}.weui-article__p{margin:0 0 .8em}.weui-msg{padding-top:36px;text-align:center}.weui-msg__link{display:inline;color:#586c94}.weui-msg__icon-area{margin-bottom:30px}.weui-msg__text-area{margin-bottom:25px;padding:0 20px}.weui-msg__title{margin-bottom:5px;font-weight:400;font-size:20px}.weui-msg__desc{font-size:14px;color:#999}.weui-msg__opr-area{margin-bottom:25px}.weui-msg__extra-area{margin-bottom:15px;font-size:14px;color:#999}@media screen and (min-height:438px){.weui-msg__extra-area{position:fixed;left:0;bottom:0;width:100%;text-align:center}}.weui-flex{display:-webkit-box;display:-webkit-flex;display:flex}.weui-flex__item{-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-btn{margin-top:15px}.weui-btn:first-child{margin-top:0}.weui-btn-area{margin:1.17647059em 15px .3em}.weui-agree{display:block;padding:.5em 15px;font-size:13px}.weui-agree__text{color:#999}.weui-agree__link{display:inline;color:#586c94}.weui-agree__checkbox{position:absolute;left:-9999px}.weui-agree__checkbox-icon{position:relative;top:2px;display:inline-block;border:1px solid #d1d1d1;background-color:#fff;border-radius:3px;width:11px;height:11px}.weui-agree__checkbox-icon-check{position:absolute;top:1px;left:1px}.weui-footer{color:#999;font-size:14px;text-align:center}.weui-footer_fixed-bottom{position:fixed;bottom:.52em;left:0;right:0}.weui-footer__links{font-size:0}.weui-footer__link{display:inline-block;vertical-align:top;margin:0 .62em;position:relative;font-size:14px;color:#586c94}.weui-footer__link:before{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1rpx solid #c7c7c7;color:#c7c7c7;left:-.65em;top:.36em;bottom:.36em}.weui-footer__link:first-child:before{display:none}.weui-footer__text{padding:0 .34em;font-size:12px}.weui-grids{border-top:1rpx solid #d9d9d9;border-left:1rpx solid #d9d9d9;overflow:hidden}.weui-grid{position:relative;float:left;padding:20px 10px;width:33.33333333%;box-sizing:border-box;border-right:1rpx solid #d9d9d9;border-bottom:1rpx solid #d9d9d9}.weui-grid_active{background-color:#ececec}.weui-grid__icon{display:block;width:28px;height:28px;margin:0 auto}.weui-grid__label{margin-top:5px;display:block;text-align:center;color:#000;font-size:14px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.weui-loading{margin:0 5px;width:20px;height:20px;display:inline-block;vertical-align:middle;-webkit-animation:a 1s steps(12) infinite;animation:a 1s steps(12) infinite;background:transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=) no-repeat;background-size:100%}.weui-loading.weui-loading_transparent{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='none' d='M0 0h100v100H0z'/%3E%3Crect xmlns='http://www.w3.org/2000/svg' width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.56)' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.5)' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.43)' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.38)' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.32)' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.28)' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.25)' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.2)' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.17)' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.14)' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.1)' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.03)' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E")}@-webkit-keyframes a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.weui-badge{display:inline-block;padding:.15em .4em;min-width:8px;border-radius:18px;background-color:#e64340;color:#fff;line-height:1.2;text-align:center;font-size:12px;vertical-align:middle}.weui-badge_dot{padding:.4em;min-width:0}.weui-loadmore{width:65%;margin:1.5em auto;line-height:1.6em;font-size:14px;text-align:center}.weui-loadmore__tips{display:inline-block;vertical-align:middle}.weui-loadmore_line{border-top:1px solid #e5e5e5;margin-top:2.4em}.weui-loadmore__tips_in-line{position:relative;top:-.9em;padding:0 .55em;background-color:#fff;color:#999}.weui-loadmore__tips_in-dot{position:relative;padding:0 .16em;width:4px;height:1.6em}.weui-loadmore__tips_in-dot:before{content:" ";position:absolute;top:50%;left:50%;margin-top:-1px;margin-left:-2px;width:4px;height:4px;border-radius:50%;background-color:#e5e5e5}.weui-panel{background-color:#fff;margin-top:10px;position:relative;overflow:hidden}.weui-panel:first-child{margin-top:0}.weui-panel:before{top:0;border-top:1rpx solid #e5e5e5}.weui-panel:after,.weui-panel:before{content:" ";position:absolute;left:0;right:0;height:1px;color:#e5e5e5}.weui-panel:after{bottom:0;border-bottom:1rpx solid #e5e5e5}.weui-panel__hd{padding:14px 15px 10px;color:#999;font-size:13px;position:relative}.weui-panel__hd:after{content:" ";position:absolute;left:0;bottom:0;right:0;height:1px;border-bottom:1rpx solid #e5e5e5;color:#e5e5e5;left:15px}.weui-media-box{padding:15px;position:relative}.weui-media-box:before{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1rpx solid #e5e5e5;color:#e5e5e5;left:15px}.weui-media-box:first-child:before{display:none}.weui-media-box__title{font-weight:400;font-size:17px;width:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;word-wrap:break-word;word-break:break-all}.weui-media-box__desc{color:#999;font-size:13px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.weui-media-box__info{margin-top:15px;padding-bottom:5px;font-size:13px;color:#cecece;line-height:1em;list-style:none;overflow:hidden}.weui-media-box__info__meta{float:left;padding-right:1em}.weui-media-box__info__meta_extra{padding-left:1em;border-left:1px solid #cecece}.weui-media-box__title_in-text{margin-bottom:8px}.weui-media-box_appmsg{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-media-box__thumb{width:100%;height:100%;vertical-align:top}.weui-media-box__hd_in-appmsg{margin-right:.8em;width:60px;height:60px;line-height:60px;text-align:center}.weui-media-box__bd_in-appmsg{-webkit-box-flex:1;-webkit-flex:1;flex:1;min-width:0}.weui-media-box_small-appmsg{padding:0}.weui-cells_in-small-appmsg{margin-top:0}.weui-cells_in-small-appmsg:before{display:none}.weui-progress{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-progress__bar{-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-progress__opr{margin-left:15px;font-size:0}.weui-navbar{display:-webkit-box;display:-webkit-flex;display:flex;position:absolute;z-index:500;top:0;width:100%;border-bottom:1rpx solid #ccc}.weui-navbar__item{position:relative;display:block;-webkit-box-flex:1;-webkit-flex:1;flex:1;padding:13px 0;text-align:center;font-size:0}.weui-navbar__item.weui-bar__item_on{color:#1aad19}.weui-navbar__slider{position:absolute;content:" ";left:0;bottom:0;width:6em;height:3px;background-color:#1aad19;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.weui-navbar__title{display:inline-block;font-size:15px;max-width:8em;width:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal}.weui-tab{position:relative;height:100%}.weui-tab__panel{box-sizing:border-box;height:100%;padding-top:50px;overflow:auto;-webkit-overflow-scrolling:touch}.weui-search-bar{position:relative;padding:8px 10px;display:-webkit-box;display:-webkit-flex;display:flex;box-sizing:border-box;background-color:#efeff4;border-top:1rpx solid #d7d6dc;border-bottom:1rpx solid #d7d6dc}.weui-icon-search{margin-right:8px;font-size:inherit}.weui-icon-search_in-box{position:absolute;left:10px;top:7px}.weui-search-bar__text{display:inline-block;font-size:14px;vertical-align:middle}.weui-search-bar__form{position:relative;-webkit-box-flex:1;-webkit-flex:auto;flex:auto;border-radius:5px;background:#fff;border:1rpx solid #e6e6ea}.weui-search-bar__box{position:relative;padding-left:30px;padding-right:30px;width:100%;box-sizing:border-box;z-index:1}.weui-search-bar__input{height:28px;line-height:28px;font-size:14px}.weui-icon-clear{position:absolute;top:0;right:0;padding:7px 8px;font-size:0}.weui-search-bar__label{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;border-radius:3px;text-align:center;color:#9b9b9b;background:#fff;line-height:28px}.weui-search-bar__cancel-btn{margin-left:10px;line-height:28px;color:#09bb07;white-space:nowrap}
\ No newline at end of file
diff --git a/scr/wechat-weapp-mapdemo-master/utils/util.js b/scr/wechat-weapp-mapdemo-master/utils/util.js
new file mode 100644
index 0000000..54ea2f6
--- /dev/null
+++ b/scr/wechat-weapp-mapdemo-master/utils/util.js
@@ -0,0 +1,21 @@
+function formatTime(date) {
+ var year = date.getFullYear()
+ var month = date.getMonth() + 1
+ var day = date.getDate()
+
+ var hour = date.getHours()
+ var minute = date.getMinutes()
+ var second = date.getSeconds();
+
+
+ return [year, month, day].map(formatNumber).join('/') + ' ' + [hour, minute, second].map(formatNumber).join(':')
+}
+
+function formatNumber(n) {
+ n = n.toString()
+ return n[1] ? n : '0' + n
+}
+
+module.exports = {
+ formatTime: formatTime
+}