Giter Club home page Giter Club logo

school-map's Introduction

导览 - 微信地图导览小程序

GitHub license GitHub stars test

首款开源的微信地图导览小程序,仅需修改地图文件,就可以适配某一学校/景区,具有出色的用户体验。

官网:https://www.gxgkcat.com

☑️一键配置切换 ☑️地图路径规划 ☑️在线热修补


🤩预览

导览 二维码


📝使用说明

1、项目根文件新建config.js文件,写入以下内容,并根据自身需求修改

module.exports = {
  // 调试模式开关,调试模式下只调用本地数据
  debug: true,
  // 学校数据配置名称,学校英文缩写
  school: "gdst",
  // 高德路线规划密钥,必须加入https://restapi.amap.com为request合法域名
  // 密钥申请地址http://lbs.amap.com/api/javascript-api/summary/
  key: "", 
  // 地图更新地址,用于热修补,无需每次都提交审核
  updateUrl: "https://www.qq.com/json.json",
  // 图片CDN域名
  imgCDN: "https://www.gxgkcat.com/"
}

2、复制resources下的地图数据文件gdst.js,重命名gdst.js为(你自己学校的英文缩写.js,根据实际情况修改)

module.exports.introduce = {}
module.exports.map = [{}]

3、修改地图文件

参照例子自行研究
地图经纬度获取:http://lbs.qq.com/tool/getpoint/index.html

📒开源许可证

请认真阅读并遵守以下开源协议

MIT License License

欢迎 pull request and star

允许任何人对该项目进行变动

同时欢迎各位校友参与到该项目(可新增关于界面加入参与贡献者名称)

不过,该项目所有图片均有版权(学院宣传服务中心所有),禁止盗用,包含首页背景

@ 广东科技学院 - 莞香广科团队 http://www.gxgkcat.com

school-map's People

Contributors

nullying avatar dairoot avatar jocelee avatar roseauhan avatar cool-echo avatar atom077 avatar end-travel avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.