##Project Status Angular Bing Maps is a project that Credera developed as part of a client engagement. All requirements / features were initially driven by client needs, but we are now accepting features from the community. Feel free to submit issues and feature requests. See "Contributing" section below for instructions on how to make changes and submit PRs.
##Getting Started
- Obtain source code for angular-bing-maps
* Via Bower
bower install angular-bing-maps --save
* Via gitgit clone git@github.com:Credera/angular-bing-maps.git
- Include /dist/angular-bing-maps.min.js in your HTML source
*
<script type="text/javascript" src="bower_components/angular-bing-maps/dist/angular-bing-maps.min.js"></script>
- Include Bing Maps' Javascript file in your HTML source
*
<script charset="UTF-8" type="text/javascript" src="http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0"></script>
- Include 'angularBingMaps' module in your angular app dependencies
*
var myApp = angular.module('yourAppName', ['angularBingMaps']);
- Add your parent
<bing-map></bing-map>
directive into your HTML with your Bing Maps API credentials * Please see/example/bing-map-directive.html
for a basic example. * NOTE: Please register for your own Bing Maps API key at https://www.bingmapsportal.com. Login with your Windows Live account and click 'My Account' -> 'Create or view your keys'
##Documentation Proper documentation is in our road map, but currently not implemented. Please view /examples for example usage of each directive.
<bing-map>
<pushpin>
<infobox>
<polygon>
<polyline>
<tile-layer>
<venue-map>
<geo-json>
⭐- Using Earthware Ltd.'s Bing Maps GeoJSON Module from http://bingmapsv7modules.codeplex.com/wikipage?title=GeoJSON%20Module
<wkt>
⭐(Well-Known Text)- Using Ricky Brundritt's Bing Maps WKT Read/Write Module http://bingmapsv7modules.codeplex.com/wikipage?title=Well%20Known%20Text%20Reader%2fWriter
<drawing-tools>
⭐- Using Ricky Brundritt's Bing Maps Drawing Tools Module https://bingmapsv7modules.codeplex.com/wikipage?title=Drawing%20Tools%20Module&version=1
⭐ - Third party modules must be manually included in addition to angular-bing-maps.js. Please use modules found inside this repository under /BingMapModules/{{moduleName}}
##Contributing Feel free to submit PR's for features, but please submit all PR's as candidates for the "develop" branch. Our "master" branch contains the latest stable release. ###Developer Setup To begin contributing to angular-bing-maps:
- Fork it
- Clone your fork
- Checkout the "develop" branch
git checkout devlop
- Create a new feature branch for your changes off the develop branch
git branch my-super-cool-feature
- Install NodeJS developer dependencies
npm install
- Install bower developer dependencies
bower install
- Run the gulp build process to automatically lint and compile the library as you make changes
gulp
- For any signifcant feature additions, please update the documentation / examples to illustrate your new feature to potential users
- Make your changes and commit them to your feature branch
- Note: You will have pending changes to the dist/ directory where the compiled assets are located. Feel free to check these in if you like. I will do my best to ensure the "develop" branch always contains the latest build before pushing to the central repository
- Submit a PR as a candidate for the "develop" branch of the central repository. Please do not submit PR's as candidates for "master". They will be declined.