Skip to content

lifeilu/BaiduMapForAngularJS

 
 

Repository files navigation

Baidu-map For AngularJS

NPM version

A damn easy directive for Baidu Map, and it's totally a re-write version for the previous one, including API updates and offline friendly

Try online demo here: demonstration

If you are using the previous version 1.2.1, read it here

If you are looking for angular2 support, check it here: angular2-baidu-map

Getting started

Note: Baidu-map API currently doesn't support https, switch to a-map API if you plan deploying to an https server.

This is a directive for AngularJS ^1.2.0. And ease the way to display a baidu-map on your page.

If you plan to hack on the directives or want to run the example locally, first thing to do is to install NPM dependencies:

npm install

Launch the demo

To run the demo page, just run

npm start

and open your browser on http://localhost:8080/.

Documentation

The API specification documented at API Docs.

LICENSE

MIT License

Packages

No packages published

Languages

  • JavaScript 94.4%
  • HTML 5.6%