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
Note: Baidu-map API currently doesn't support
https
, switch to a-map API if you plan deploying to anhttps
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
To run the demo page, just run
npm start
and open your browser on http://localhost:8080/
.
The API specification documented at API Docs.