Coder Social home page Coder Social logo

vue_baidu_map's Introduction

vue-baidu-map 组件下载,打包网页引入方法:

1. 下载百度地图:   
	vue-baidu-map   https://github.com/Dafrok/vue-baidu-map.git
	地图中文文档: https://dafrok.github.io/vue-baidu-map/#/zh/index
	vue:https://cn.vuejs.org/v2/guide/installation.html
2. 下载nodejs并安装
    - 切换淘宝源cnpm   'npm install -g cnpm --registry=https://registry.npm.taobao.org'
3. 安装依赖, 打包地图
    进入地图组件目录:
	C:\Users\Administrator\Desktop\map\vue-baidu-map-master
	cmd:
	cnpm install
    npm run build	   生成地图组件打包后的js文件-----index.js
	构建地图组件(用webpack打包供浏览器使用--不然不支持)
4. HTML页面中引入打包后的地图index.js以及vue.js,即可使用
5. 参考文件地址:
	http://weixin.jrcad.com/map/location.html
	http://weixin.jrcad.com/map/station.html
	http://weixin.jrcad.com/map/path.html

vue_baidu_map's People

Contributors

jrtkcoder avatar

Watchers

James Cloos avatar  avatar

Forkers

tsuyoii

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.