diff --git a/.travis.yml b/.travis.yml index 9c351ab34..1b566b16e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ language: node_js node_js: - - "0.10" + - "6.9" script: - "gulp test" diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 000000000..fdbcc758a --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,72 @@ +Release Notes +=============== + +# 1.17.0 + + * UMD + +# 1.15.0 + + * All attributes can have `{{}}` expression evaluated. + +# 1.14.0 + + * Prepared for Angular2 transition by removing all scopes + * NgMap service is introduced + * Refactored + +# 1.13.0 + + * New directive `custom-marker` + +# 1.12.0 + + * Refactored documentation with angular-jsdoc + +# 1.10.0 + + * Added an event `objectChanged` to broadcast change of objects in map. e.g., markers, shapes, etc + +# 1.9.0 + + * Refactored directory structure + +# 1.7.0 + + * added **directions** directive + [Example](https://rawgit.com/allenhwkim/angularjs-google-maps/master/testapp/directions.html) + * added **places-auto-complete** for input tag. + [Example](https://rawgit.com/allenhwkim/angularjs-google-maps/master/testapp/places-auto-complete.html) + +# 1.6.0 + + * added **street-view-panorama** directive with its examples; + [street view with marker](https://rawgit.com/allenhwkim/angularjs-google-maps/master/testapp/street-view-panorama.html) and + [street view in its own container](https://rawgit.com/allenhwkim/angularjs-google-maps/master/testapp/street-view-panorama_container.html) + +# 1.5.0 + + * added **geo-callback attribute** for map, marker, shape, and info-window. + [Example](https://rawgit.com/allenhwkim/angularjs-google-maps/master/testapp/map_with_current_position.html) + +# 1.4.0 + + * support lazy loading of maps js with directive, **map-lazy-load**, which does not require to `https://maps.google.com/maps/api/js` + [Example](https://rawgit.com/allenhwkim/angularjs-google-maps/master/testapp/map-lazy-load.html) + +# 1.3.0 + + * added **drawing-manager** directive. Thanks to Fangming Du + [Example](https://rawgit.com/allenhwkim/angularjs-google-maps/master/testapp/drawing-manager.html) + +# 1.2.0 + + * events with `controller as` syntax, thanks to Simon + +# 1.1.0 + + * marker directive can have icon attribute as JSON + * map with init-event attribute for initialization by an event + +# 1.0.0 + * Cover all official google maps v3 examples using directives. diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 5d9b76442..42cfd2668 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -1,20 +1,33 @@ #Angularjs-Google-Maps Is Only Possible By; - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ## We Love You All diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md new file mode 100644 index 000000000..3dd868246 --- /dev/null +++ b/ISSUE_TEMPLATE.md @@ -0,0 +1,21 @@ +**IMPORTANT**: + +This repository's issues are reserved for feature requests and bug reports. +Do not submit support questions or request here. Please use stackoverflow instead + + +**Steps to reproduce and a minimal demo(Plunker Example)** + + - _What steps should we try in your demo to see the problem?_ + +**Current behavior** + + - + +**Expected/desired behavior** + + - + +**Other information** + + - diff --git a/LICENSE b/LICENSE index c959483dd..de0e461c0 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014, 2015 Allen Kim +Copyright (c) 2014, 2015, 2016 Allen Kim Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in diff --git a/README.md b/README.md index b9604e57b..420cc4575 100755 --- a/README.md +++ b/README.md @@ -1,85 +1,123 @@ -GoogleMap AngularJS Directive +Google Maps AngularJS Directive ============================= - + -[Demo](http://ngmap.github.io) +[Demo](https://ngmap.github.io) [Documentation](https://rawgithub.amrom.workers.dev/allenhwkim/angularjs-google-maps/master/build/docs/index.html) [Road Trip By StreetView](https://rawgit.com/allenhwkim/angularjs-google-maps/master/testapp/street-view_road_trip.html) -[**NEW** Maps Can Talk](https://rawgit.com/allenhwkim/angularjs-google-maps/master/testapp/custom-marker.html) | +[Maps Can Talk](https://rawgit.com/allenhwkim/angularjs-google-maps/master/testapp/custom-marker.html) | [Custom Marker](https://rawgit.com/allenhwkim/angularjs-google-maps/master/testapp/custom-marker-2.html) -There is already [one](https://github.com/nlaplante/angular-google-maps) for this. However, I found myself doing totally different approach than the existing one, such as; +If you like this, you also may like these: +* [ng2-map](https://github.com/ng2-ui/map) Google Maps Wrapper for Angular 2+ +* [react-openlayers](https://github.com/allenhwkim/react-openlayers) React + OpenLayers -1. **Everything in tag and attributes.** - Thus, basic users don't even have to know what Javascript is. +Background +----------------- +There is already [one](https://github.com/nlaplante/angular-google-maps) for this. However, I found myself taking a totally different approach than the existing one, such as: -2. **Expose all original Google Maps V3 api to the user.** - No hiding, no wraping, or whatsoever. +1. **Everything in tag and attributes.** + Thus, users don't even need knowledge of JavaScript. + +2. **Expose all original Google Maps V3 API to the user.** + No hiding, no wrapping or whatsoever. By doing so, programmers don't need to learn how to use this module. You only need to know Google Maps V3 API. There is a blog that introduces this module. The title of it is '[Google Map As The Simplest Way](http://allenhwkim.tumblr.com/post/70986888283/google-map-as-the-simplest-way)' -To Get Started +To get started -------------- -For Bower users, +For Bower users, `$ bower install ngmap` -1. Include `ng-map.min.js` as well as google maps. +1. Include `ng-map.min.js`: + `` + +2. Include Google Maps: `` -2. name angular app as ngMap, or add it as a dependency +2. Name your AngularJS app ngMap, or add it as a dependency `var myApp = angular.module('myApp', ['ngMap']);` -After map is initialized, you will have one event and map instances - -Event: +To get the map instance use the `NgMap.getMap()` function - * `mapInitialized` with parameter with map + app.controller('MyController', function(NgMap) { + NgMap.getMap().then(function(map) { + console.log(map.getCenter()); + console.log('markers', map.markers); + console.log('shapes', map.shapes); + }); + }); - In case your map directive scope is different from your controller scope, - use this event to get the map instance. +For npm users, -
-      app.controller('parentParentController', function($scope) {
-        $scope.$on('mapInitialized', function(event, map) {
-          map.setCenter( .... )
-          ..
-        });
-      });
-    
- -Instances: + `$ npm install ngmap` - * `$scope.map` - * `$scope.map.markers` - * `$scope.map.shapes` - * etc +For Meteor users: https://atmospherejs.com/wormy/angularjs-google-maps -Lazy Loading ------------- - Simply wrap the map tag with `map-lazy-load="http://maps.google.com/maps/api/js"`. +Lazy loading of Google Maps JavaScript +--------------------------------------- + Simply wrap the map tag with `map-lazy-load="https://maps.google.com/maps/api/js"`. -
- +
+
- If you need to pass in an API key to the javascript, you can set a scope variable in your controller (e.g. `$scope.googleMapsUrl="http://maps.google.com/maps/api/js?v=3.20&client=XXXXenter-api-keyXXXX";`). + If you need to pass in an API key to the javascript, you can set a scope + variable in your controller (e.g. `$scope.googleMapsUrl="https://maps.googleapis.com/maps/api/js?key=YOUR_KEY_HERE";`). This can be set from a constant value in your app to standardise the API key to pass to google for multiple controllers. -
- +
+
+FAQ +---- +## Grey area in Google Maps + +The usual reason why this happens is that the size of the map is changed after the map has been initialized. If you for some reason change the size of the div, you need to trigger the "resize" event and possible recenter the map. + + var center = map.getCenter(); + google.maps.event.trigger(map, "resize"); + map.setCenter(center); + +Ref. + * http://stackoverflow.com/questions/13901520/grey-area-in-google-maps + * http://blog.codebusters.pl/en/google-maps-in-hidden-div/ + +## Check if a marker is within `Map`, `Rectangle`, or `Circle` + + `map.getBounds().contains(marker.getPosition());` + + * http://stackoverflow.com/questions/3648545/how-can-i-check-the-marker-is-or-isnt-in-the-bounds-using-google-maps-v3 + * https://developers.google.com/maps/documentation/javascript/3.exp/reference#Map + * https://developers.google.com/maps/documentation/javascript/3.exp/reference#Rectangle + * https://developers.google.com/maps/documentation/javascript/3.exp/reference#Circle + +## Calculate distance between two position + +You can check this out: https://developers.google.com/maps/documentation/javascript/distancematrix. +As you see, DistanceMatrix does not require map nor directive. + +Another way to do this, is to use directions directive. As you see it here: https://rawgit.com/allenhwkim/angularjs-google-maps/master/testapp/directions2.html, you have access to DirectionsRenderer by using `map.directionsRenderers[id]` + +https://developers.google.com/maps/documentation/javascript/reference?hl=en#DirectionsRenderer + +You use `getDirections()` or `directions`, then calculate the distance from there. e.g., + + Distance: + `{{ map.directionsRenderers[0].directions.routes[0].legs[0].distance }}` + Directives ---------- * bicycling-layer - * cloud-layer * custom-control * custom-marker (NEW) * directions (NEW) @@ -102,88 +140,30 @@ Directives * street-view-panorama (NEW) * traffic-layer * transit-layer - * weather-layer -Advanced Examples +Advanced examples ------------------- - [Marker Clusterer](https://rawgit.com/allenhwkim/angularjs-google-maps/master/testapp/marker-clusterer.html) - [Starbucks World Wide](https://rawgit.com/allenhwkim/angularjs-google-maps/master/testapp/map_app.html) -- [Road Trip By StreetView](https://rawgit.com/allenhwkim/angularjs-google-maps/master/testapp/street-view_road_trip.html) +- [Road Trip By StreetView](https://rawgit.com/allenhwkim/angularjs-google-maps/master/testapp/street-view_road_trip.html) - [Maps Can Talk](https://rawgit.com/allenhwkim/angularjs-google-maps/master/testapp/custom-marker.html) -- [Custom Marker](https://rawgit.com/allenhwkim/angularjs-google-maps/master/testapp/custom-marker-2.html) +- [Custom Marker](https://rawgit.com/allenhwkim/angularjs-google-maps/master/testapp/custom-marker-2.html) [Contributors](CONTRIBUTORS.md) =============================== Contributing ============ -- Clone the repository from github -- Change to the folder dowloaded +- Clone the repository from GitHub. +- Change to the cloned directory. - **npm install** to install the build tools -- **gulp build** to build the javascript & doc files in the /build folder & run the unit tests. -- **gulp clean** to cleanup the repository from a previous build ? does this work ? -- **gulp test** to run the Karma unit test suite. -- **gulp test-e2e** to run the Protractor test suite. For the first test run, you may need to update the protractor webdriver manager. It will show the command on screen if this is required (node_modules/gulp-protractor/node_modules/protractor/bin/webdriver-manager update). -- **gulp testapp-server** will start a web server for the testapp on http://localhost:8888 - -Release Notes -=============== -**1.13.0** - - * New directive `custom-marker` - -**1.12.0** - - * Refactored documentation with angular-jsdoc - -**1.10.0** - - * Added an event `objectChanged` to broadcast change of objects in map. e.g., markers, shapes, etc - -**1.9.0** - - * Refactored directory structure - -**1.7.0** - - * added **directions** directive - [Example](https://rawgit.com/allenhwkim/angularjs-google-maps/master/testapp/directions.html) - * added **places-auto-complete** for input tag. - [Example](https://rawgit.com/allenhwkim/angularjs-google-maps/master/testapp/places-auto-complete.html) - -**1.6.0** - - * added **street-view-panorama** directive with its examples; - [street view with marker](https://rawgit.com/allenhwkim/angularjs-google-maps/master/testapp/street-view-panorama.html) and - [street view in its own container](https://rawgit.com/allenhwkim/angularjs-google-maps/master/testapp/street-view-panorama_container.html) - -**1.5.0** - - * added **geo-callback attribute** for map, marker, shape, and info-window. - [Example](https://rawgit.com/allenhwkim/angularjs-google-maps/master/testapp/map_with_current_position.html) - -**1.4.0** - - * support lazy loading of maps js with directive, **map-lazy-load**, which does not require to `https://maps.google.com/maps/api/js` - [Example](https://rawgit.com/allenhwkim/angularjs-google-maps/master/testapp/map-lazy-load.html) - -**1.3.0** - - * added **drawing-manager** directive. Thanks to Fangming Du - [Example](https://rawgit.com/allenhwkim/angularjs-google-maps/master/testapp/drawing-manager.html) - -**1.2.0** - - * events with `controller as` syntax, thanks to Simon - -**1.1.0** - - * marker directive can have icon attribute as JSON - * map with init-event attribute for initialization by an event - -**1.0.0 (covers All official google maps v3 examples using directives).** +- **gulp build** to build the JavaScript & doc files in the /build folder & run the unit tests. +- **gulp clean** to clean up the repository by removing files and folders from previous build. +- **gulp test** to run the Karma unit test suite. +- **gulp test:e2e** to run the Protractor test suite. For the first test run, you may need to update the protractor webdriver manager. It will show the command on screen if this is required (node_modules/gulp-protractor/node_modules/protractor/bin/webdriver-manager update). +- **gulp test:server** will start a web server for the testapp on http://localhost:8888 -license +License ======= [MIT License](https://github.com/allenhwkim/angularjs-google-maps/blob/master/LICENSE) diff --git a/app.js b/app.js index 16d18cd78..9d07ac6d8 100644 --- a/app.js +++ b/app.js @@ -1 +1,25 @@ +/** + * AngularJS Google Maps + * + * The MIT License (MIT) + * + * Copyright (c) 2014, 2015, 1016 Allen Kim + * + * Permission is hereby granted, free of charge, to any person obtaining a copy of + * this software and associated documentation files (the "Software"), to deal in + * the Software without restriction, including without limitation the rights to + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of + * the Software, and to permit persons to whom the Software is furnished to do so, + * subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ angular.module('ngMap', []); diff --git a/bower.json b/bower.json index 56d8dc5cc..97889d16f 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "ngmap", - "version": "1.13.8", + "version": "1.18.4", "main": "./build/scripts/ng-map.js", "homepage": "https://github.com/allenhwkim/angularjs-google-maps", "authors": [ diff --git a/build/docs/Attr2MapOptions.html b/build/docs/Attr2MapOptions.html new file mode 100644 index 000000000..b8c74f948 --- /dev/null +++ b/build/docs/Attr2MapOptions.html @@ -0,0 +1,7 @@ + JSDoc: Attr2MapOptions

Angular service

Attr2MapOptions source

Description

Converts tag attributes to options used by google api v3 objects

Methods

filter (attrs) -> Hash

filters attributes by skipping angularjs methods $.. $$..

Parameters

NameTypeDescription
attrs Hash

tag attributes

Returns

TypeDescription
Hash

filterd attributes

getControlOptions (filtered) -> Hash

control means map controls, i.e streetview, pan, etc, not a general control

Parameters

NameTypeDescription
filtered Hash

filtered tag attributes

Returns

TypeDescription
Hash

Google Map options

getEvents (scope, attrs) -> Hash

converts attributes hash to scope-specific event function

Parameters

NameTypeDescription
scope scope

angularjs scope

attrs Hash

tag attributes

Returns

TypeDescription
Hash

events converted events

getOptions (attrs, options) -> Hash

converts attributes hash to Google Maps API v3 options

+
 . converts numbers to number
+ . converts class-like string to google maps instance
+   i.e. `LatLng(1,1)` to `new google.maps.LatLng(1,1)`
+ . converts constant-like string to google maps constant
+   i.e. `MapTypeId.HYBRID` to `google.maps.MapTypeId.HYBRID`
+   i.e. `HYBRID"` to `google.maps.MapTypeId.HYBRID`

Parameters

NameTypeDescription
attrs Hash

tag attributes

options Hash

Returns

TypeDescription
Hash

options converted attributess

orgAttributes (el) -> Hash

Returns the attributes of an element as hash

Parameters

NameTypeDescription
el HTMLElement

html element

Returns

TypeDescription
Hash

attributes

\ No newline at end of file diff --git a/build/docs/Attr2Options.html b/build/docs/Attr2Options.html deleted file mode 100644 index 604b590a6..000000000 --- a/build/docs/Attr2Options.html +++ /dev/null @@ -1,405 +0,0 @@ - - - - - JSDoc: service:Attr2Options - - - - - - - - - -
-

- service:Attr2Options - source -

-
- - - -
-
-
-
-
-

Converts tag attributes to options used by google api v3 objects, map, marker, polygon, circle, etc.

-
-
-
-
-
-
-

Methods

-
-
- -

- filter - (attrs) - - -> Hash - -

-
-
-
-
-

filters attributes by skipping angularjs methods $.. $$..

-
-
-
Parameters:
- - - - - - - - - - - -
NameTypeDescription
attrs - Hash -

tag attributes

-
-
-
Returns:
-

filterd attributes

-
-
-
-
- -

- getControlOptions - (filtered) - - -> Hash - -

-
-
-
-
-

control means map controls, i.e streetview, pan, etc, not a general control

-
-
-
Parameters:
- - - - - - - - - - - -
NameTypeDescription
filtered - Hash -

filtered tag attributes

-
-
-
Returns:
-

Google Map options

-
-
-
-
- -

- getEvents - (scope, attrs) - - -> Hash - -

-
-
-
-
-

converts attributes hash to scope-specific event function

-
-
-
Parameters:
- - - - - - - - - - - - - - - -
NameTypeDescription
scope - scope -

angularjs scope

attrs - Hash -

tag attributes

-
-
-
Returns:
-

events converted events

-
-
-
-
- -

- getOptions - (attrs, scope) - - -> Hash - -

-
-
-
-
-

converts attributes hash to Google Maps API v3 options

-
 . converts numbers to number   
- . converts class-like string to google maps instance   
-   i.e. `LatLng(1,1)` to `new google.maps.LatLng(1,1)`  
- . converts constant-like string to google maps constant    
-   i.e. `MapTypeId.HYBRID` to `google.maps.MapTypeId.HYBRID`   
-   i.e. `HYBRID"` to `google.maps.MapTypeId.HYBRID`
-
-
-
Parameters:
- - - - - - - - - - - - - - - -
NameTypeDescription
attrs - Hash -

tag attributes

scope - scope -

angularjs scope

-
-
-
Returns:
-

options converted attributess

-
-
-
-
- -

- orgAttributes - (el) - - -> Hash - -

-
-
-
-
-

Returns the attributes of an element as hash

-
-
-
Parameters:
- - - - - - - - - - - -
NameTypeDescription
el - HTMLElement -

html element

-
-
-
Returns:
-

attributes

-
-
-
-
-
-
-
- -
- - - - \ No newline at end of file diff --git a/build/docs/GeoCoder.html b/build/docs/GeoCoder.html index 6097bdebf..440715d2d 100644 --- a/build/docs/GeoCoder.html +++ b/build/docs/GeoCoder.html @@ -1,242 +1,6 @@ - - - - - JSDoc: service:GeoCoder - - - - - - - - - -
-

- service:GeoCoder - source -

-
- - - -
-
-
-
-
-

Provides defered/promise API service for Google Geocoder service

-
-
-
-
-
-
-

Methods

-
-
- -

- geocode - (options) - - -> HttpPromise - -

-
-
-
-
-
-
-
Example
-
```
+

  
    
    JSDoc: GeoCoder
    
    
  
  
    
    

Angular service

GeoCoder source

Description

Provides defered/promise API + service for Google Geocoder service

Methods

geocodeFunc (options) -> HttpPromise

Example

```
   GeoCoder.geocode({address: 'the cn tower'}).then(function(result) {
     //... do something with result
   });
-```
-
-
-
Parameters:
- - - - - - - - - - - -
NameTypeDescription
options - Hash -

https://developers.google.com/maps/documentation/geocoding/#geocoding

-
-
-
Returns:
-

Future object

-
-
-
-
-
-
-
- -
- - - - \ No newline at end of file +```

Parameters

NameTypeDescription
options Hash

https://developers.google.com/maps/documentation/geocoding/#geocoding

Returns

TypeDescription
HttpPromise

Future object

\ No newline at end of file diff --git a/build/docs/GoogleMapsApi.html b/build/docs/GoogleMapsApi.html new file mode 100644 index 000000000..eae35dfbf --- /dev/null +++ b/build/docs/GoogleMapsApi.html @@ -0,0 +1,3 @@ + JSDoc: GoogleMapsApi

Angular service

GoogleMapsApi source

Description

Load Google Maps API Service

Methods

load (mapsUrl)

Load google maps into document by creating a script tag

Example

GoogleMapsApi.load(myUrl).then(function() {
+    console.log('google map has been loaded')
+  });

Parameters

NameTypeDescription
mapsUrl string
\ No newline at end of file diff --git a/build/docs/MapController.html b/build/docs/MapController.html deleted file mode 100644 index 22e9a8786..000000000 --- a/build/docs/MapController.html +++ /dev/null @@ -1,456 +0,0 @@ - - - - - JSDoc: controller:MapController - - - - - - - - - -
-

- controller:MapController - source -

-
- - - -
-
-
-
-
-
-
-
-
Dependencies:
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
$scope - service -
$q - service -

promise Q

NavigatorGeolocation - service -
GeoCoder - service -
Attr2Options - service -

convert html attribute to Gogole map api options

-
-
-
Properties:
- - - - - - - - - - - - - - - - - - - -
NameTypeDescription
controls - Hash -

collection of Controls initiated within map directive

markers - Hash -

collection of Markers initiated within map directive

shapes - Hash -

collection of shapes initiated within map directive

-
-
-
-
-
-

Methods

-
-
- -

- addObject - (groupName, obj) -

-
-
-
-
-

Add an object to the collection of group

-
-
-
Parameters:
- - - - - - - - - - - - - - - -
NameTypeDescription
groupName -

the name of collection that object belongs to

obj -

an object to add into a collection, i.e. marker, shape

-
-
-
-
- -

- addObjects - (objects) -

-
-
-
-
-

Add collected objects to map

-
-
-
Parameters:
- - - - - - - - - - - -
NameTypeDescription
objects - Array -

the collection of objects. i.e., map.markers

-
-
-
-
- -

- deleteObject - (objs, obj) -

-
-
-
-
-

Delete an object from the collection and remove from map

-
-
-
Parameters:
- - - - - - - - - - - - - - - -
NameTypeDescription
objs - Array -

the collection of objects. i.e., map.markers

obj - Object -

the object to be removed. i.e., marker

-
-
-
-
- -

- getGeoLocation - (string, geoLocationOptions) - - -> Promise - -

-
-
-
-
-

returns the location of an address or 'current-location'

-
-
-
Parameters:
- - - - - - - - - - - - - - - -
NameTypeDescription
string - String -

an address to find the location

geoLocationOptions - Object -

the navigator geolocation options. i.e. { maximumAge: 3000, timeout: 5000, enableHighAccuracy: true }. If none specified, { timeout: 5000 }. If timeout not specified, timeout: 5000 added

-
-
-
Returns:
-

latlng the location of the address

-
-
-
-
- -

- observeAttrSetObj - (orgAttrs, attrs, obj) -

-
-
-
-
-

watch changes of attribute values and do appropriate action based on attribute name

-
-
-
Parameters:
- - - - - - - - - - - - - - - - - - - -
NameTypeDescription
orgAttrs - Hash -

attributes before its initialization

attrs - Hash -

attributes after its initialization

obj - Object -

map object that an action is to be done

-
-
-
-
-
-
-
- -
- - - - \ No newline at end of file diff --git a/build/docs/NavigatorGeolocation.html b/build/docs/NavigatorGeolocation.html index b2d96e899..7b5aceb72 100644 --- a/build/docs/NavigatorGeolocation.html +++ b/build/docs/NavigatorGeolocation.html @@ -1,256 +1,11 @@ - - - - - JSDoc: service:NavigatorGeolocation - - - - - - - - - -
-

- service:NavigatorGeolocation - source -

-
- - - -
-
-
-
-
-

Provides defered/promise API service for navigator.geolocation methods

-
-
-
-
-
-
-

Methods

-
-
- -

- getCurrentPosition - (geoLocationOptions, success, failure) - - -> HttpPromise - -

-
-
-
-
-
-
-
Example
-
```
+

  
    
    JSDoc: NavigatorGeolocation
    
    
  
  
    
    

Angular service

NavigatorGeolocation source

Description

Provides defered/promise API + service for navigator.geolocation methods

Methods

getCurrentPosition (geoLocationOptions, success, failure) -> HttpPromise

Example

```
  NavigatorGeolocation.getCurrentPosition()
    .then(function(position) {
      var lat = position.coords.latitude, lng = position.coords.longitude;
      .. do something lat and lng
    });
-```
-
-
-
Parameters:
- - - - - - - - - - - - - - - - - - - -
NameTypeDescription
geoLocationOptions - Object -

the navigator geolocations options. i.e. { maximumAge: 3000, timeout: 5000, enableHighAccuracy: true }. If none specified, { timeout: 5000 }. If timeout not specified, timeout: 5000 added

success - function -

success callback function

failure - function -

failure callback function

-
-
-
Returns:
-

Future object

-
-
-
-
-
-
-
- -
- - - - \ No newline at end of file +```

Parameters

NameTypeDescription
geoLocationOptions Object

the navigator geolocations options. + i.e. { maximumAge: 3000, timeout: 5000, enableHighAccuracy: true }. + If none specified, { timeout: 5000 }. + If timeout not specified, timeout: 5000 added

success function

success callback function

failure function

failure callback function

Returns

TypeDescription
HttpPromise

Future object

\ No newline at end of file diff --git a/build/docs/NgMap.html b/build/docs/NgMap.html new file mode 100644 index 000000000..b09736546 --- /dev/null +++ b/build/docs/NgMap.html @@ -0,0 +1,7 @@ + JSDoc: NgMap

Angular provider

NgMap source

Description

common utility service for ng-map

Methods

addMap (mapController)

Parameters

NameTypeDescription
mapController __MapContoller

a map controller

deleteMap (mapController)

Parameters

NameTypeDescription
mapController __MapContoller

a map controller

getGeoLocation (address, options)

Parameters

NameTypeDescription
address String
options Hash

geo options

getMap (optional,)

Parameters

NameTypeDescription
optional, String

id e.g., 'foo'

initMap

observeAndSet (attrName, object)

Parameters

NameTypeDescription
attrName String

attribute name

object Object

A Google maps object to be changed

setDefaultOptions (options)

Example

app.config(function(NgMapProvider) {
+   NgMapProvider.setDefaultOptions({
+     marker: {
+       optimized: false
+     }
+   });
+ });

Parameters

NameTypeDescription
options Hash

setStyle (map)

set display, width, height of map container element

Parameters

NameTypeDescription
map HtmlElement

contriner element

\ No newline at end of file diff --git a/build/docs/NgMapPool.html b/build/docs/NgMapPool.html new file mode 100644 index 000000000..2a8281a03 --- /dev/null +++ b/build/docs/NgMapPool.html @@ -0,0 +1,2 @@ + JSDoc: NgMapPool

Angular factory

NgMapPool source

Description

Provide map instance to avoid memory leak

Members

NameTypeDescription
mapInstances

map instance pool



Methods

deleteMapInstance

delete a mapInstance

getMapInstance (el)

Parameters

NameTypeDescription
el HtmlElement

map container element

resetMapInstances

resets mapInstance array

returnMapInstance (an)

sets the flag inUse of the given map instance to false, so that it +can be reused later

Parameters

NameTypeDescription
an Map

instance of google.maps.Map

\ No newline at end of file diff --git a/build/docs/StreetView.html b/build/docs/StreetView.html index d2cb1a66f..4d115f441 100644 --- a/build/docs/StreetView.html +++ b/build/docs/StreetView.html @@ -1,289 +1,6 @@ - - - - - JSDoc: service:StreetView - - - - - - - - - -
-

- service:StreetView - source -

-
- - - -
-
-
-
-
-

Provides defered/promise API service - for Google StreetViewService

-
-
-
-
-
-
-

Methods

-
-
- -

- getPanorama - (map, latlng) - - -> HttpPromise - -

-
-
-
-
-

Retrieves panorama id from the given map (and or position)

-
-
-
Example
-
StreetView.getPanorama(map).then(function(panoId) {
+

  
    
    JSDoc: StreetView
    
    
  
  
    
    

Angular service

StreetView source

Description

Provides defered/promise API + service for [Google StreetViewService] + (https://developers.google.com/maps/documentation/javascript/streetview)

Methods

getPanorama (map, latlng) -> HttpPromise

Retrieves panorama id from the given map (and or position)

Example

StreetView.getPanorama(map).then(function(panoId) {
     $scope.panoId = panoId;
-  });
-
-
-
Parameters:
- - - - - - - - - - - - - - - -
NameTypeDescription
map - map -

Google map instance

latlng - LatLng -

Google LatLng instance
default: the center of the map

-
-
-
Returns:
-

Future object

-
-
-
-
- -

- setPanorama - (map, panoId) -

-
-
-
-
-

Set panorama view on the given map with the panorama id

-
-
-
Example
-
StreetView.setPanorama(map, panoId);
-
-
-
Parameters:
- - - - - - - - - - - - - - - -
NameTypeDescription
map - map -

Google map instance

panoId - String -

Panorama id fro getPanorama method

-
-
-
-
-
-
-
- -
- - - - \ No newline at end of file + });

Parameters

NameTypeDescription
map map

Google map instance

latlng LatLng

Google LatLng instance + default: the center of the map

Returns

TypeDescription
HttpPromise

Future object

setPanorama (map, panoId)

Set panorama view on the given map with the panorama id

Example

StreetView.setPanorama(map, panoId);

Parameters

NameTypeDescription
map map

Google map instance

panoId String

Panorama id fro getPanorama method

\ No newline at end of file diff --git a/build/docs/bicycling-layer.html b/build/docs/bicycling-layer.html index ab35246b5..13085ec67 100644 --- a/build/docs/bicycling-layer.html +++ b/build/docs/bicycling-layer.html @@ -1,218 +1,4 @@ - - - - - JSDoc: directive:bicycling-layer - - - - - - - - - -
-

- directive:bicycling-layer - source -

-
- - - -
-
-
-
-
-

Requires: map directive - Restrict To: Element

-
-
-
-
Dependencies:
- - - - - - - - - - - -
NameTypeDescription
Attr2Options - service -

convert html attribute to Gogole map api options

-
-
-
Example
-
Example: 
-  <map zoom="13" center="34.04924594193164, -118.24104309082031">
+

  
    
    JSDoc: bicycling-layer
    
    
  
  
    
    

Angular directive

bicycling-layer source

Description

Requires: map directive + Restrict To: Element

Parameters

NameTypeDescription
Attr2Options service

convert html attribute to Google map api options

Example

<map zoom="13" center="34.04924594193164, -118.24104309082031">
     <bicycling-layer></bicycling-layer>
-   </map>
-
-
-
-
-
-
-
- -
- - - - \ No newline at end of file + </map> \ No newline at end of file diff --git a/build/docs/cloud-layer.html b/build/docs/cloud-layer.html deleted file mode 100644 index eac7e4b7d..000000000 --- a/build/docs/cloud-layer.html +++ /dev/null @@ -1,218 +0,0 @@ - - - - - JSDoc: directive:cloud-layer - - - - - - - - - -
-

- directive:cloud-layer - source -

-
- - - -
-
-
-
-
-

Requires: map directive - Restrict To: Element

-
-
-
-
Dependencies:
- - - - - - - - - - - -
NameTypeDescription
Attr2Options - service -

convert html attribute to Gogole map api options

-
-
-
Example
-
Example: 
-  <map zoom="13" center="34.04924594193164, -118.24104309082031">
-    <cloud-layer></cloud-layer>
-   </map>
-
-
-
-
-
-
-
- -
- - - - \ No newline at end of file diff --git a/build/docs/css/custom.css b/build/docs/css/custom.css deleted file mode 100644 index f128a2f0c..000000000 --- a/build/docs/css/custom.css +++ /dev/null @@ -1,67 +0,0 @@ -html * { - box-sizing: border-box; - -ms-box-sizing: border-box; - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; -} - -body { - font-family: "Open Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif; - font-weight: 300; - font-size: 1rem; - line-height: 1.5rem; - color: #5c5c5c; - background-color: white; - padding: 10px; -} - -h1 { - font-family: "Arquitecta"; - font-size: 3rem; - line-height: 3rem; - margin-top: 3.1875rem; - margin-bottom: 1.3125rem; - font-weight: 300; -} - -footer { - margin: 0rem; - padding: 1.5rem; - text-align: right; - background-color: #554f4e; - overflow-y: auto; - color: #fff; -} - -nav { - margin-top: 0px; - padding-top: 50px; - background-color: #fff; -} - -#main { - float: none; - width: auto; -} - -.page-wrap { - padding: 1.5rem 14px; - margin-bottom: 0rem; - background-color: #6c6463; - width: 70%; -} -.page-wrap h1 { - margin-top: -0.375rem; - color: #FFFFFF; -} -.big-container { - padding: 0rem; - background-color: #FFFFFF; - border-top: solid 1px #828282; - min-height: 24rem; - overflow: hidden; - background-repeat: repeat-x; - background-position: top; - margin-bottom: 1.5rem; - padding: 2.0rem 1.5rem 3rem 1.5rem; -} diff --git a/build/docs/css/jsdoc-default.css b/build/docs/css/site.css similarity index 60% rename from build/docs/css/jsdoc-default.css rename to build/docs/css/site.css index e033f0515..1cf921ed0 100644 --- a/build/docs/css/jsdoc-default.css +++ b/build/docs/css/site.css @@ -1,50 +1,109 @@ -/** - * This is enhanced theme by Umut Topuzoglu. Thanks, Umut - */ -@font-face { - font-family: 'Open Sans'; - font-weight: normal; - font-style: normal; - src: url('../fonts/OpenSans-Regular-webfont.eot'); - src: - local('Open Sans'), - local('OpenSans'), - url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'), - url('../fonts/OpenSans-Regular-webfont.woff') format('woff'), - url('../fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg'); -} - -@font-face { - font-family: 'Open Sans Light'; - font-weight: normal; - font-style: normal; - src: url('../fonts/OpenSans-Light-webfont.eot'); - src: - local('Open Sans Light'), - local('OpenSans Light'), - url('../fonts/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'), - url('../fonts/OpenSans-Light-webfont.woff') format('woff'), - url('../fonts/OpenSans-Light-webfont.svg#open_sanslight') format('svg'); -} - * { box-sizing: border-box } -html -{ +html { overflow: auto; background-color: #fff; font-size: 14px; } -body -{ - font-family: 'Open Sans', sans-serif; - line-height: 1.5; - color: #4d4e53; +body { + font-family: "Open Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif; + font-weight: 300; + font-size: 1rem; + line-height: 1.5rem; + color: #5c5c5c; background-color: white; + padding: 10px; + position: relative; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + font-family: 'Source Sans Pro', Helvetica, sans-serif; +} + +.h1 { font-size: 2rem } +.h2 { font-size: 1.5rem } +.h3 { font-size: 1.25rem } +.h4 { font-size: 1rem } +.h5 { font-size: .875rem } +.h6 { font-size: .75rem } + +nav { + margin-top: 28px; + padding-bottom: 30px; + width: 27%; + padding-left: 2%; + position: absolute; + top: 0; + right: 0; +} + +nav ul { + font-family: 'Source Sans Pro', Helvetica, sans-serif; + font-size: 100%; + line-height: 17px; + padding: 0; + margin: 0; + list-style-type: none; +} + +nav ul a, nav ul a:visited, nav ul a:active { + font-family: 'Source Sans Pro', Helvetica, sans-serif; + line-height: 18px; + color: #4D4E53; +} + +nav h3 { + margin-top: 12px; + margin-bottom: 2px; +} + +nav li { + margin-top: 6px; + margin-left: 2px; +} + +footer { + margin: 0rem; + padding: 10px; + text-align: right; + color: gray; } -a, a:visited, a:active { +.page-wrap { + padding: 1rem 3%; + margin-bottom: 0rem; + width: 70%; + margin-right: 30%; +} + +#main { + float: none; + width: auto; + padding-right: 20px; +} + +.page-wrap #main h1 { + color: inherit; +} + +.big-container { + padding: 0rem; + background-color: #FFFFFF; + border-top: solid 1px #828282; + min-height: 510px; + overflow: hidden; + background-repeat: repeat-x; + background-position: top; + margin-bottom: 1.5rem; + padding: 2.0rem 1.5rem 3rem 1.5rem; +} +h2.module a, a, a:visited, a:active { color: #0095dd; text-decoration: none; } @@ -76,12 +135,6 @@ tt, code, kbd, samp { margin: 0; } -#main { - float: left; - width: 70%; - padding-right: 20px; -} - article dl { margin-bottom: 40px; } @@ -105,99 +158,6 @@ section font-style: italic; font-weight: lighter; } - -nav -{ - display: block; - float: right; - margin-top: 28px; - width: 30%; - box-sizing: border-box; - border-left: 1px solid #ccc; - padding-left: 16px; -} - -nav ul { - font-family: 'Lucida Grande', 'Lucida Sans Unicode', arial, sans-serif; - font-size: 100%; - line-height: 17px; - padding: 0; - margin: 0; - list-style-type: none; -} - -nav ul a, nav ul a:visited, nav ul a:active { - font-family: Consolas, Monaco, 'Andale Mono', monospace; - line-height: 18px; - color: #4D4E53; -} - -nav h3 { - margin-top: 12px; -} - -nav ul { - margin-top: 1.5em; -} - -nav li { - margin-top: 6px; - margin-left: 10px; -} - -footer { - display: block; - padding: 6px; - margin-top: 12px; - font-style: italic; - font-size: 90%; -} - -h1, h2, h3, h4 { - font-weight: 200; - margin: 0; -} - -h1 -{ - font-family: 'Open Sans Light', sans-serif; - font-size: 48px; - letter-spacing: -2px; - margin: 12px 24px 20px; -} - -h2, h3 -{ - font-size: 30px; - font-weight: 700; - letter-spacing: -1px; - margin-bottom: 12px; -} - -h4 -{ - font-size: 18px; - letter-spacing: -0.33px; - margin-bottom: 12px; - color: #4d4e53; -} - -h5, .container-overview .subsection-title -{ - font-size: 120%; - font-weight: bold; - letter-spacing: -0.01em; - margin: 8px 0 3px 0; -} - -h6 -{ - font-size: 100%; - letter-spacing: -0.01em; - margin: 6px 0 3px 0; - font-style: italic; -} - .ancestors { color: #999; } .ancestors a { @@ -347,14 +307,18 @@ h6 .params thead .last, .props thead .last { border-right: 1px solid #ddd; } .params td.description > p:first-child, -.props td.description > p:first-child +.props td.description > p:first-child, +.params td.description span > p:first-child, +.props td.description span > p:first-child { margin-top: 0; padding-top: 0; } .params td.description > p:last-child, -.props td.description > p:last-child +.props td.description > p:last-child, +.params td.description span > p:last-child, +.props td.description span > p:last-child { margin-bottom: 0; padding-bottom: 0; @@ -363,3 +327,85 @@ h6 .disabled { color: #454545; } + +.chips { + float: right; + list-style-type: none; + margin: 0; + padding: 0; +} + +.chips:after { + content: ''; + display: block; +} + +.chip { + display: block; + float: left; + background: #eee; + border-radius: 4px; + border: 1px solid #ccc; + padding: 4px 8px; + margin-right: 4px; + font-size: 11px; + line-height: 13px; + font-weight: bold; +} + +.chip:last-child { + margin-right: 0; +} + +.clearfix { + clear: both; +} + +.functions { + margin-top: 16px; +} + +input, +select, +textarea, +fieldset { + font-family: inherit; + font-size: 1rem; + box-sizing: border-box; + margin-top: 0; + margin-bottom: 0; +} +input[type=text], +input[type=date], +input[type=datetime], +input[type=datetime-local], +input[type=email], +input[type=month], +input[type=number], +input[type=password], +input[type=search], +input[type=tel], +input[type=time], +input[type=url], +input[type=week] { + height: 2.25rem; + padding: .5rem .5rem; + vertical-align: middle; + -webkit-appearance: none; +} + +.field { + width: 90%; + border-style: solid; + border-width: 1px; + border-color: rgba(0,0,0,.125); + border-radius: 3px; +} + +.hide { + position: absolute !important; + height: 1px; + width: 1px; + overflow: hidden; + clip: rect(1px, 1px, 1px, 1px); +} \ No newline at end of file diff --git a/build/docs/custom-control.html b/build/docs/custom-control.html index 68da6eac9..5b0fae70a 100644 --- a/build/docs/custom-control.html +++ b/build/docs/custom-control.html @@ -1,255 +1,13 @@ - - - - - JSDoc: directive:custom-control - - - - - - - - - -
-

- directive:custom-control - source -

-
- - - -
-
-
-
-
-

Build custom control and set to the map with position

+ JSDoc: custom-control

Angular directive

custom-control source

Description

Build custom control and set to the map with position

Requires: map directive

-

Restrict To: Element

-
-
-
-
Dependencies:
- - - - - - - - - - - - - - - -
NameTypeDescription
Attr2Options - service -

convert html attribute to Gogole map api options

$compile - service -

AngularJS $compile service

-
-
-
Attributes:
- - - - - - - - -
NameTypeDescription
position - String -

position of this control +

Restrict To: Element

Parameters

NameTypeDescription
Attr2Options service

convert html attribute to Google map api options

$compile service

AngularJS $compile service

Attributes

- - - - - - -
NameTypeDescription
position String

position of this control i.e. TOP_RIGHT

-
index - Number -

index of the control

-
-
-
-
Example
-
Example: 
+            
          
index Number

index of the control

+

Example

Example:
  <map center="41.850033,-87.6500523" zoom="3">
    <custom-control id="home" position="TOP_LEFT" index="1">
      <div style="background-color: white;">
        <b>Home</b>
      </div>
    </custom-control>
- </map>
-
-
-
-
-
-
-
- -
- - - - \ No newline at end of file + </map> \ No newline at end of file diff --git a/build/docs/directions.html b/build/docs/directions.html index cd2ac0c59..981bbe13e 100644 --- a/build/docs/directions.html +++ b/build/docs/directions.html @@ -1,234 +1,15 @@ - - - - - JSDoc: directive:directions - - - - - - - - - -
-

- directive:directions - source -

-
- - - -
-
-
-
-
-

Enable directions on map. e.g., origin, destination, draggable, waypoints, etc

+ JSDoc: directions

Angular directive

directions source

Description

Enable directions on map. + e.g., origin, destination, draggable, waypoints, etc

Requires: map directive

-

Restrict To: Element

-
-
-
-
Attributes:
- - - - - - - - - - - - - - - -
NameTypeDescription
DirectionsRendererOptions - String -

Any DirectionsRendererOptions

-
DirectionsRequestOptions - String -

Any DirectionsRequest options

-
-
-
-
Example
-
Example: 
-  <map zoom="14" center="37.7699298, -122.4469157">
-    <directions 
-      draggable="true"
-      panel="directions-panel"
-      travel-mode="{{travelMode}}"
-      waypoints="[{location:'kingston', stopover:true}]"
-      origin="{{origin}}"
-      destination="{{destination}}">
-    </directions>
-  </map> 
-
-
-
-
-
-
-
- -
- - - - \ No newline at end of file +

Restrict To: Element

Attributes

NameTypeDescription
DirectionsRendererOptions String

Any DirectionsRendererOptions

+
DirectionsRequestOptions String

Any DirectionsRequest options

+

Example

<map zoom="14" center="37.7699298, -122.4469157">
+   <directions
+     draggable="true"
+     panel="directions-panel"
+     travel-mode="{{travelMode}}"
+     waypoints="[{location:'kingston', stopover:true}]"
+     origin="{{origin}}"
+     destination="{{destination}}">
+   </directions>
+ </map>
\ No newline at end of file diff --git a/build/docs/drawing-manager.html b/build/docs/drawing-manager.html index 56f3f10ea..57b892b14 100644 --- a/build/docs/drawing-manager.html +++ b/build/docs/drawing-manager.html @@ -1,221 +1,15 @@ - - - - - JSDoc: directive:drawing-manager - - - - - - - - - -
-

- directive:drawing-manager - source -

-
- - - -
-
-
-
-
-

Requires: map directive - Restrict To: Element

-
-
-
-
Dependencies:
- - - - - - - - - - - -
NameTypeDescription
Attr2Options - service -

convert html attribute to Gogole map api options

-
-
-
Example
-
Example:
+

  
    
    JSDoc: drawing-manager
    
    
  
  
    
    

Angular directive

drawing-manager source

Description

Requires: map directive + Restrict To: Element

Parameters

NameTypeDescription
Attr2Options service

convert html attribute to Google map api options

Example

Example:
  <map zoom="13" center="37.774546, -122.433523" map-type-id="SATELLITE">
-   <drawing-manager  on-overlaycomplete="onMapOverlayCompleted()" position="ControlPosition.TOP_CENTER" drawingModes="POLYGON,CIRCLE" drawingControl="true" circleOptions="fillColor: '#FFFF00';fillOpacity: 1;strokeWeight: 5;clickable: false;zIndex: 1;editable: true;" ></drawing-manager>
+   <drawing-manager
+     on-overlaycomplete="onMapOverlayCompleted()"
+     position="ControlPosition.TOP_CENTER"
+     drawingModes="POLYGON,CIRCLE"
+     drawingControl="true"
+     circleOptions="fillColor: '#FFFF00';fillOpacity: 1;strokeWeight: 5;clickable: false;zIndex: 1;editable: true;" >
+   </drawing-manager>
  </map>
  TODO: Add remove button.
- currently, for out solution, we have the shapes/markers in our own controller, and we use some css classes to change the shape button
- to a remove button (<div>X</div>) and have the remove operation in our own controller.
-
-
-
-
-
-
-
- -
- - - - \ No newline at end of file + currently, for our solution, we have the shapes/markers in our own + controller, and we use some css classes to change the shape button + to a remove button (<div>X</div>) and have the remove operation in our own controller. \ No newline at end of file diff --git a/build/docs/dynamic-maps-engine-layer.html b/build/docs/dynamic-maps-engine-layer.html index d00723729..7775d0339 100644 --- a/build/docs/dynamic-maps-engine-layer.html +++ b/build/docs/dynamic-maps-engine-layer.html @@ -1,201 +1,7 @@ - - - - - JSDoc: directive:dynamic-maps-engine-layer - - - - - - - - - -
-

- directive:dynamic-maps-engine-layer - source -

-
- - - -
-
-
-
-
-

Requires: map directive - Restrict To: Element

-
-
-
-
Example
-
Example: 
+

  
    
    JSDoc: dynamic-maps-engine-layer
    
    
  
  
    
    

Angular directive

dynamic-maps-engine-layer source

Description

Requires: map directive + Restrict To: Element

Example

Example:
   <map zoom="14" center="[59.322506, 18.010025]">
-    <dynamic-maps-engine-layer layer-id="06673056454046135537-08896501997766553811"></dynamic-maps-engine-layer>
-   </map>
-
-
-
-
-
-
-
- -
- - - - \ No newline at end of file + <dynamic-maps-engine-layer + layer-id="06673056454046135537-08896501997766553811"> + </dynamic-maps-engine-layer> + </map> \ No newline at end of file diff --git a/build/docs/fonts/OpenSans-Bold-webfont.eot b/build/docs/fonts/OpenSans-Bold-webfont.eot deleted file mode 100644 index 5d20d9163..000000000 Binary files a/build/docs/fonts/OpenSans-Bold-webfont.eot and /dev/null differ diff --git a/build/docs/fonts/OpenSans-Bold-webfont.svg b/build/docs/fonts/OpenSans-Bold-webfont.svg deleted file mode 100644 index 3ed7be4bc..000000000 --- a/build/docs/fonts/OpenSans-Bold-webfont.svg +++ /dev/null @@ -1,1830 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/build/docs/fonts/OpenSans-Bold-webfont.woff b/build/docs/fonts/OpenSans-Bold-webfont.woff deleted file mode 100644 index 1205787b0..000000000 Binary files a/build/docs/fonts/OpenSans-Bold-webfont.woff and /dev/null differ diff --git a/build/docs/fonts/OpenSans-BoldItalic-webfont.eot b/build/docs/fonts/OpenSans-BoldItalic-webfont.eot deleted file mode 100644 index 1f639a15f..000000000 Binary files a/build/docs/fonts/OpenSans-BoldItalic-webfont.eot and /dev/null differ diff --git a/build/docs/fonts/OpenSans-BoldItalic-webfont.svg b/build/docs/fonts/OpenSans-BoldItalic-webfont.svg deleted file mode 100644 index 6a2607b9d..000000000 --- a/build/docs/fonts/OpenSans-BoldItalic-webfont.svg +++ /dev/null @@ -1,1830 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/build/docs/fonts/OpenSans-BoldItalic-webfont.woff b/build/docs/fonts/OpenSans-BoldItalic-webfont.woff deleted file mode 100644 index ed760c062..000000000 Binary files a/build/docs/fonts/OpenSans-BoldItalic-webfont.woff and /dev/null differ diff --git a/build/docs/fonts/OpenSans-Italic-webfont.eot b/build/docs/fonts/OpenSans-Italic-webfont.eot deleted file mode 100644 index 0c8a0ae06..000000000 Binary files a/build/docs/fonts/OpenSans-Italic-webfont.eot and /dev/null differ diff --git a/build/docs/fonts/OpenSans-Italic-webfont.svg b/build/docs/fonts/OpenSans-Italic-webfont.svg deleted file mode 100644 index e1075dcc2..000000000 --- a/build/docs/fonts/OpenSans-Italic-webfont.svg +++ /dev/null @@ -1,1830 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/build/docs/fonts/OpenSans-Italic-webfont.woff b/build/docs/fonts/OpenSans-Italic-webfont.woff deleted file mode 100644 index ff652e643..000000000 Binary files a/build/docs/fonts/OpenSans-Italic-webfont.woff and /dev/null differ diff --git a/build/docs/fonts/OpenSans-Light-webfont.eot b/build/docs/fonts/OpenSans-Light-webfont.eot deleted file mode 100644 index 14868406a..000000000 Binary files a/build/docs/fonts/OpenSans-Light-webfont.eot and /dev/null differ diff --git a/build/docs/fonts/OpenSans-Light-webfont.svg b/build/docs/fonts/OpenSans-Light-webfont.svg deleted file mode 100644 index 11a472ca8..000000000 --- a/build/docs/fonts/OpenSans-Light-webfont.svg +++ /dev/null @@ -1,1831 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/build/docs/fonts/OpenSans-Light-webfont.woff b/build/docs/fonts/OpenSans-Light-webfont.woff deleted file mode 100644 index e78607481..000000000 Binary files a/build/docs/fonts/OpenSans-Light-webfont.woff and /dev/null differ diff --git a/build/docs/fonts/OpenSans-LightItalic-webfont.eot b/build/docs/fonts/OpenSans-LightItalic-webfont.eot deleted file mode 100644 index 8f445929f..000000000 Binary files a/build/docs/fonts/OpenSans-LightItalic-webfont.eot and /dev/null differ diff --git a/build/docs/fonts/OpenSans-LightItalic-webfont.svg b/build/docs/fonts/OpenSans-LightItalic-webfont.svg deleted file mode 100644 index 431d7e354..000000000 --- a/build/docs/fonts/OpenSans-LightItalic-webfont.svg +++ /dev/null @@ -1,1835 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/build/docs/fonts/OpenSans-LightItalic-webfont.woff b/build/docs/fonts/OpenSans-LightItalic-webfont.woff deleted file mode 100644 index 43e8b9e6c..000000000 Binary files a/build/docs/fonts/OpenSans-LightItalic-webfont.woff and /dev/null differ diff --git a/build/docs/fonts/OpenSans-Regular-webfont.eot b/build/docs/fonts/OpenSans-Regular-webfont.eot deleted file mode 100644 index 6bbc3cf58..000000000 Binary files a/build/docs/fonts/OpenSans-Regular-webfont.eot and /dev/null differ diff --git a/build/docs/fonts/OpenSans-Regular-webfont.svg b/build/docs/fonts/OpenSans-Regular-webfont.svg deleted file mode 100644 index 25a395234..000000000 --- a/build/docs/fonts/OpenSans-Regular-webfont.svg +++ /dev/null @@ -1,1831 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/build/docs/fonts/OpenSans-Regular-webfont.woff b/build/docs/fonts/OpenSans-Regular-webfont.woff deleted file mode 100644 index e231183dc..000000000 Binary files a/build/docs/fonts/OpenSans-Regular-webfont.woff and /dev/null differ diff --git a/build/docs/fusion-tables-layer.html b/build/docs/fusion-tables-layer.html index a94f337a8..09fc1aa62 100644 --- a/build/docs/fusion-tables-layer.html +++ b/build/docs/fusion-tables-layer.html @@ -1,204 +1,8 @@ - - - - - JSDoc: directive:fusion-tables-layer - - - - - - - - - -
-

- directive:fusion-tables-layer - source -

-
- - - -
-
-
-
-
-

Requires: map directive - Restrict To: Element

-
-
-
-
Example
-
Example: 
+

  
    
    JSDoc: fusion-tables-layer
    
    
  
  
    
    

Angular directive

fusion-tables-layer source

Description

Requires: map directive + Restrict To: Element

Example

Example:
   <map zoom="11" center="41.850033, -87.6500523">
     <fusion-tables-layer query="{
       select: 'Geocodable address',
       from: '1mZ53Z70NsChnBMm-qEYmSDOvLXgrreLTkQUvvg'}">
     </fusion-tables-layer>
-  </map>
-
-
-
-
-
-
-
- -
- - - - \ No newline at end of file + </map> \ No newline at end of file diff --git a/build/docs/heatmap-layer.html b/build/docs/heatmap-layer.html index 8d21db3c0..f15daf3e2 100644 --- a/build/docs/heatmap-layer.html +++ b/build/docs/heatmap-layer.html @@ -1,218 +1,4 @@ - - - - - JSDoc: directive:heatmap-layer - - - - - - - - - -
-

- directive:heatmap-layer - source -

-
- - - -
-
-
-
-
-

Requires: map directive - Restrict To: Element

-
-
-
-
Dependencies:
- - - - - - - - - - - -
NameTypeDescription
Attr2Options - service -

convert html attribute to Gogole map api options

-
-
-
Example
-
Example: 
-  <map zoom="11" center="[41.875696,-87.624207]">
-    <heatmap-layer data="taxiData"></heatmap-layer>
-  </map>
-
-
-
-
-
-
-
- -
- - - - \ No newline at end of file + JSDoc: heatmap-layer

Angular directive

heatmap-layer source

Description

Requires: map directive + Restrict To: Element

Parameters

NameTypeDescription
Attr2Options service

convert html attribute to Google map api options

Example

<map zoom="11" center="[41.875696,-87.624207]">
+  <heatmap-layer data="taxiData"></heatmap-layer>
+</map>
\ No newline at end of file diff --git a/build/docs/index.html b/build/docs/index.html index 606d619c4..ad7d79472 100644 --- a/build/docs/index.html +++ b/build/docs/index.html @@ -1,223 +1,77 @@ - - - - - JSDoc: Index - - - - - - - - - -
-

- Index -

-
- - -
-
-

GoogleMap AngularJS Directive

Build Status

-

Demo
Documentation
Road Trip By StreetView
NEW Maps Can Talk | + JSDoc: Index

Index

Google Maps AngularJS Directive

+

Demo
Documentation
Road Trip By StreetView
Maps Can Talk | Custom Marker

-

There is already one for this. However, I found myself doing totally different approach than the existing one, such as;

+

If you like this, you also may like these:

+ +

Background

There is already one for this. However, I found myself taking a totally different approach than the existing one, such as:

    -
  1. Everything in tag and attributes.
    Thus, basic users don't even have to know what Javascript is.

    +
  2. Everything in tag and attributes.
    Thus, users don't even need knowledge of JavaScript.

  3. -
  4. Expose all original Google Maps V3 api to the user.
    No hiding, no wraping, or whatsoever. +

  5. Expose all original Google Maps V3 API to the user.
    No hiding, no wrapping or whatsoever. By doing so, programmers don't need to learn how to use this module. You only need to know Google Maps V3 API.

There is a blog that introduces this module. The title of it is 'Google Map As The Simplest Way'

-

To Get Started

For Bower users,

+

To get started

For Bower users,

$ bower install ngmap

    -
  1. Include ng-map.min.js as well as google maps.
    <script src="http://maps.google.com/maps/api/js"></script>

    +
  2. Include ng-map.min.js: +<script src="/bower_components/ngmap/build/scripts/ng-map.min.js"></script>

  3. -
  4. name angular app as ngMap, or add it as a dependency

    +
  5. Include Google Maps:
    <script src="http://maps.google.com/maps/api/js"></script>

    +
  6. +
  7. Name your AngularJS app ngMap, or add it as a dependency

    var myApp = angular.module('myApp', ['ngMap']);

-

After map is initialized, you will have one event and map instances

-

Event:

-
    -
  • mapInitialized with parameter with map

    -

    In case your map directive scope is different from your controller scope, -use this event to get the map instance.

    -
    -  app.controller('parentParentController', function($scope) {
    -    $scope.$on('mapInitialized', function(event, map) {
    -      map.setCenter( .... )
    -      ..
    -    });
    +

    To get the map instance use the NgMap.getMap() function

    +
    app.controller('MyController', function(NgMap) {
    +  NgMap.getMap().then(function(map) {
    +    console.log(map.getCenter());
    +    console.log('markers', map.markers);
    +    console.log('shapes', map.shapes);
       });
    -
    -
  • -
-

Instances:

-
    -
  • $scope.map
  • -
  • $scope.map.markers
  • -
  • $scope.map.shapes
  • -
  • etc
  • -
-

Lazy Loading

Simply wrap the map tag with map-lazy-load="http://maps.google.com/maps/api/js".

-
<div map-lazy-load="http://maps.google.com/maps/api/js">
-  <map center="41,-87" zoom="3"></map>
-</div>

If you need to pass in an API key to the javascript, you can set a scope variable in your controller (e.g. $scope.googleMapsUrl="http://maps.google.com/maps/api/js?v=3.20&client=XXXXenter-api-keyXXXX";). +});

For npm users,

+

$ npm install ngmap

+

For Meteor users: https://atmospherejs.com/wormy/angularjs-google-maps

+

Lazy loading of Google Maps JavaScript

Simply wrap the map tag with map-lazy-load="https://maps.google.com/maps/api/js".

+
<div map-lazy-load="https://maps.google.com/maps/api/js">
+  <ng-map center="41,-87" zoom="3"></ng-map>
+</div>

If you need to pass in an API key to the javascript, you can set a scope + variable in your controller (e.g. $scope.googleMapsUrl="https://maps.googleapis.com/maps/api/js?key=YOUR_KEY_HERE";). This can be set from a constant value in your app to standardise the API key to pass to google for multiple controllers.

-
<div map-lazy-load="http://maps.google.com/maps/api/js"
-      map-lazy-load-params="{{googleMapsUrl}}">
-  <map center="41,-87" zoom="3"></map>
-</div>

Directives

    +
    <div map-lazy-load="https://maps.google.com/maps/api/js"
    +  map-lazy-load-params="{{googleMapsUrl}}">
    +  <ng-map center="41,-87" zoom="3"></ng-map>
    +</div>

    FAQ

    Grey area in Google Maps

    The usual reason why this happens is that the size of the map is changed after the map has been initialized. If you for some reason change the size of the div, you need to trigger the "resize" event and possible recenter the map.

    +
     var center = map.getCenter();
    + google.maps.event.trigger(map, "resize");
    + map.setCenter(center);

    Ref.

    +
      +
    • http://stackoverflow.com/questions/13901520/grey-area-in-google-maps
    • +
    • http://blog.codebusters.pl/en/google-maps-in-hidden-div/
    • +
    +

    Check if a marker is within Map, Rectangle, or Circle

    `map.getBounds().contains(marker.getPosition());`
      +
    • http://stackoverflow.com/questions/3648545/how-can-i-check-the-marker-is-or-isnt-in-the-bounds-using-google-maps-v3
    • +
    • https://developers.google.com/maps/documentation/javascript/3.exp/reference#Map
    • +
    • https://developers.google.com/maps/documentation/javascript/3.exp/reference#Rectangle
    • +
    • https://developers.google.com/maps/documentation/javascript/3.exp/reference#Circle
    • +
    +

    Calculate distance between two position

    You can check this out: https://developers.google.com/maps/documentation/javascript/distancematrix. +As you see, DistanceMatrix does not require map nor directive.

    +

    Another way to do this, is to use directions directive. As you see it here: https://rawgit.com/allenhwkim/angularjs-google-maps/master/testapp/directions2.html, you have access to DirectionsRenderer by using map.directionsRenderers[id]

    +

    https://developers.google.com/maps/documentation/javascript/reference?hl=en#DirectionsRenderer

    +

    You use getDirections() or directions, then calculate the distance from there. e.g.,

    +

    Distance: + {{ map.directionsRenderers[0].directions.routes[0].legs[0].distance }}

    +

    Directives

    • bicycling-layer
    • -
    • cloud-layer
    • custom-control
    • custom-marker (NEW)
    • directions (NEW)
    • @@ -240,96 +94,22 @@

      Lazy Loading

      Simply wrap the map tag with map-lazy-load="

    • street-view-panorama (NEW)
    • traffic-layer
    • transit-layer
    • -
    • weather-layer
    -

    Advanced Examples

      +

      Advanced examples

      Contributors

      Contributing

        -
      • Clone the repository from github
      • -
      • Change to the folder dowloaded
      • +
      • Clone the repository from GitHub.
      • +
      • Change to the cloned directory.
      • npm install to install the build tools
      • -
      • gulp build to build the javascript & doc files in the /build folder & run the unit tests.
      • -
      • gulp clean to cleanup the repository from a previous build ? does this work ?
      • -
      • gulp test to run the Karma unit test suite.
      • -
      • gulp test-e2e to run the Protractor test suite. For the first test run, you may need to update the protractor webdriver manager. It will show the command on screen if this is required (node_modules/gulp-protractor/node_modules/protractor/bin/webdriver-manager update).
      • -
      • gulp testapp-server will start a web server for the testapp on http://localhost:8888
      • -
      -

      Release Notes

      1.13.0

      -
        -
      • New directive custom-marker
      • -
      -

      1.12.0

      -
        -
      • Refactored documentation with angular-jsdoc
      • -
      -

      1.10.0

      -
        -
      • Added an event objectChanged to broadcast change of objects in map. e.g., markers, shapes, etc
      • -
      -

      1.9.0

      -
        -
      • Refactored directory structure
      • -
      -

      1.7.0

      -
        -
      • added directions directive -Example
      • -
      • added places-auto-complete for input tag. -Example
      • -
      -

      1.6.0

      - -

      1.5.0

      -
        -
      • added geo-callback attribute for map, marker, shape, and info-window. -Example
      • -
      -

      1.4.0

      -
        -
      • support lazy loading of maps js with directive, map-lazy-load, which does not require to https://maps.google.com/maps/api/js -Example
      • -
      -

      1.3.0

      -
        -
      • added drawing-manager directive. Thanks to Fangming Du -Example
      • -
      -

      1.2.0

      -
        -
      • events with controller as syntax, thanks to Simon
      • -
      -

      1.1.0

      -
        -
      • marker directive can have icon attribute as JSON
      • -
      • map with init-event attribute for initialization by an event
      • +
      • gulp build to build the JavaScript & doc files in the /build folder & run the unit tests.
      • +
      • gulp clean to clean up the repository by removing files and folders from previous build.
      • +
      • gulp test to run the Karma unit test suite.
      • +
      • gulp test:e2e to run the Protractor test suite. For the first test run, you may need to update the protractor webdriver manager. It will show the command on screen if this is required (node_modules/gulp-protractor/node_modules/protractor/bin/webdriver-manager update).
      • +
      • gulp test:server will start a web server for the testapp on http://localhost:8888
      -

      1.0.0 (covers All official google maps v3 examples using directives).

      -

      license

      MIT License

      -
-
- -
- -
- - - - \ No newline at end of file +

License

MIT License

\ No newline at end of file diff --git a/build/docs/info-window.html b/build/docs/info-window.html index bd50c7b1a..550cd8119 100644 --- a/build/docs/info-window.html +++ b/build/docs/info-window.html @@ -1,252 +1,18 @@ - - - - - JSDoc: directive:info-window - - - - - - - - - -
-

- directive:info-window - source -

-
- - - -
-
-
-
-
-

Defines infoWindow and provides compile method

-

Requires: map directive

-

Restrict To: Element

-

NOTE: this directive should NOT be used with ng-repeat because InfoWindow itself is a template, - and must be reused by each marker, thus, should not be redefined by ng-repeat.

-
-
-
-
Dependencies:
- - - - - - - - - - - - - - - -
NameTypeDescription
Attr2Options - service -

convert html attribute to Gogole map api options

$compile - service -

$compile service

-
-
-
Attributes:
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
visible - Boolean -

Indicates to show it when map is initialized

-
visible-on-marker - Boolean -

Indicates to show it on a marker when map is initialized

-
geo-callback - Expression -

if position is an address, the expression is will be performed when geo-lookup is successful. e.g., geo-callback="showDetail()"

-
<InfoWindowOption> - String -

Any InfoWindow options, - https://developers.google.com/maps/documentation/javascript/reference?csw=1#InfoWindowOptions

-
<InfoWindowEvent> - String -

Any InfoWindow events, https://developers.google.com/maps/documentation/javascript/reference

-
-
-
-
Example
-
Usage:
+

  
    
    JSDoc: info-window
    
    
  
  
    
    

Angular directive

info-window source

Description

Defines infoWindow and provides compile method

+

Requires: map directive

+

Restrict To: Element

+

NOTE: this directive should NOT be used with ng-repeat + because InfoWindow itself is a template, and a template must be + reused by each marker, thus, should not be redefined repeatedly + by ng-repeat.

Parameters

NameTypeDescription
Attr2MapOptions service

convert html attribute to Google map api options

$compile service

$compile service

Attributes

NameTypeDescription
visible Boolean

Indicates to show it when map is initialized

+
visible-on-marker Boolean

Indicates to show it on a marker when map is initialized

+
geo-callback Expression

if position is an address, the expression is will be performed + when geo-lookup is successful. e.g., geo-callback="showDetail()"

+
<InfoWindowOption> String

Any InfoWindow options, + https://developers.google.com/maps/documentation/javascript/reference?csw=1#InfoWindowOptions

+
<InfoWindowEvent> String

Any InfoWindow events, + https://developers.google.com/maps/documentation/javascript/reference

+

Example

Usage:
   <map MAP_ATTRIBUTES>
    <info-window id="foo" ANY_OPTIONS ANY_EVENTS"></info-window>
   </map>
@@ -261,26 +27,4 @@ 
Example
Tile Coordinate: {{tileCoordinate.x}}, {{tileCoordinate.y}} at Zoom Level {{map.getZoom()}} </div> </info-window> - </map>
-
-
-
-
-
-
-
- -
- - - - \ No newline at end of file + </map> \ No newline at end of file diff --git a/build/docs/js/site.js b/build/docs/js/site.js new file mode 100644 index 000000000..670615421 --- /dev/null +++ b/build/docs/js/site.js @@ -0,0 +1,34 @@ +// Filter UI +var tocElements = document.getElementById('toc').getElementsByTagName('a'); +document.getElementById('filter-input').addEventListener('keyup', function(e) { + + var i, element; + + // enter key + if (e.keyCode === 13) { + // go to the first displayed item in the toc + for (i = 0; i < tocElements.length; i++) { + element = tocElements[i]; + if (!element.classList.contains('hide')) { + location.replace(element.href); + return e.preventDefault(); + } + } + } + + var match = function() { return true; }, + value = this.value.toLowerCase(); + + if (!value.match(/^\s*$/)) { + match = function(text) { return text.toLowerCase().indexOf(value) !== -1; }; + } + + for (i = 0; i < tocElements.length; i++) { + element = tocElements[i]; + if (match(element.innerHTML)) { + element.classList.remove('hide'); + } else { + element.classList.add('hide'); + } + } +}); diff --git a/build/docs/kml-layer.html b/build/docs/kml-layer.html index c8ac8c16a..b5dfaa8bc 100644 --- a/build/docs/kml-layer.html +++ b/build/docs/kml-layer.html @@ -1,255 +1,15 @@ - - - - - JSDoc: directive:kml-layer - - - - - - - - - -
-

- directive:kml-layer - source -

-
- - - -
-
-
-
-
-

renders Kml layer on a map + JSDoc: kml-layer

Angular directive

kml-layer source

Description

renders Kml layer on a map Requires: map directive - Restrict To: Element

-
-
-
-
Dependencies:
- - - - - - - - - - - -
NameTypeDescription
Attr2Options - service -

convert html attribute to Gogole map api options

-
-
-
Attributes:
- - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - Url -

url of the kml layer

-
KmlLayerOptions - KmlLayerOptions -

(https://developers.google.com/maps/documentation/javascript/reference#KmlLayerOptions)

-
<KmlLayerEvent> - String -

Any KmlLayer events, https://developers.google.com/maps/documentation/javascript/reference

-
-
-
-
Example
-
Usage: 
+  Restrict To:  Element

Parameters

NameTypeDescription
Attr2MapOptions service

convert html attribute to Google map api options

Attributes

NameTypeDescription
url Url

url of the kml layer

+
KmlLayerOptions KmlLayerOptions

(https://developers.google.com/maps/documentation/javascript/reference#KmlLayerOptions)

+
<KmlLayerEvent> String

Any KmlLayer events, + https://developers.google.com/maps/documentation/javascript/reference

+

Example

Usage:
   <map MAP_ATTRIBUTES>
    <kml-layer ANY_KML_LAYER ANY_KML_LAYER_EVENTS"></kml-layer>
   </map>
-Example: 
-  <map zoom="11" center="[41.875696,-87.624207]">
-    <kml-layer url="https://gmaps-samples.googlecode.com/svn/trunk/ggeoxml/cta.kml" ></kml-layer>
-   </map>
-
-
-
-
-
-
-
- -
- - - - \ No newline at end of file +Example: +<map zoom="11" center="[41.875696,-87.624207]"> + <kml-layer url="https://gmaps-samples.googlecode.com/svn/trunk/ggeoxml/cta.kml" > + </kml-layer> +</map> \ No newline at end of file diff --git a/build/docs/map-data.html b/build/docs/map-data.html index 3e66c6a97..10aa0c49f 100644 --- a/build/docs/map-data.html +++ b/build/docs/map-data.html @@ -1,219 +1,6 @@ - - - - - JSDoc: directive:map-data - - - - - - - - - -
-

- directive:map-data - source -

-
- - - -
-
-
-
-
-

set map data + JSDoc: map-data

Angular directive

map-data source

Description

set map data Requires: map directive - Restrict To: Element

-
-
-
-
Dependencies:
- - - - - - - - - - - -
NameTypeDescription
Attr2Options - service -

convert html attribute to Gogole map api options

-
-
-
Example
-
Example: 
-  <map zoom="11" center="[41.875696,-87.624207]">
-    <map-data load-geo-json="https://storage.googleapis.com/maps-devrel/google.json"></map-data>
-   </map>
-
-
-
-
-
-
-
- -
- - - - \ No newline at end of file + Restrict To: Element

Parameters

NameTypeDescription
Attr2MapOptions service

convert html attribute to Google map api options

Example

Example:
+ <map zoom="11" center="[41.875696,-87.624207]">
+   <map-data load-geo-json="https://storage.googleapis.com/maps-devrel/google.json"></map-data>
+  </map>
\ No newline at end of file diff --git a/build/docs/map-lazy-load.html b/build/docs/map-lazy-load.html index f2c449f7f..b990ec2cf 100644 --- a/build/docs/map-lazy-load.html +++ b/build/docs/map-lazy-load.html @@ -1,255 +1,21 @@ - - - - - JSDoc: directive:map-lazy-load - - - - - - - - - -
-

- directive:map-lazy-load - source -

-
- - - -
-
-
-
-
-

Requires: Delay the initialization of map directive until the map is ready to be rendered - Restrict To: Attribute

-
-
-
-
Dependencies:
- - - - - - - - - - - -
NameTypeDescription
Attr2Options - service -

convert html attribute to Gogole map api options

-
-
-
Attributes:
- - - - - - - - - - - - - - - -
NameTypeDescription
map-lazy-load - String -

Maps api script source file location. - Example:
'https://maps.google.com/maps/api/js'

-
map-lazy-load-params - String -

Maps api script source file location via angular scope variable. - Also requires the map-lazy-load attribute to be present in the directive. - Example: In your controller, set - $scope.googleMapsURL = 'https://maps.google.com/maps/api/js?v=3.20&client=XXXXXenter-api-key-hereXXXX'

-
-
-
-
Example
-
Example: 
+

  
    
    JSDoc: map-lazy-load
    
    
  
  
    
    

Angular directive

map-lazy-load source

Description

Requires: Delay the initialization of map directive + until the map is ready to be rendered + Restrict To: Attribute

Parameters

NameTypeDescription
Attr2Options service

convert html attribute to Google map api options

Attributes

NameTypeDescription
map-lazy-load String

Maps api script source file location. + Example: + 'https://maps.google.com/maps/api/js'

+
map-lazy-load-params String

Maps api script source file location via angular scope variable. + Also requires the map-lazy-load attribute to be present in the directive. + Example: In your controller, set + $scope.googleMapsURL = 'https://maps.google.com/maps/api/js?v=3.20&client=XXXXXenter-api-key-hereXXXX'

+

Example

Example:
   <div map-lazy-load="http://maps.google.com/maps/api/js">
     <map center="Brampton" zoom="10">
       <marker position="Brampton"></marker>
     </map>
   </div>
-  <div map-lazy-load="http://maps.google.com/maps/api/js" 
+  <div map-lazy-load="http://maps.google.com/maps/api/js"
        map-lazy-load-params="{{googleMapsUrl}}">
     <map center="Brampton" zoom="10">
       <marker position="Brampton"></marker>
     </map>
-  </div>
-
-
-
-
-
-
-
- -
- - - - \ No newline at end of file + </div> \ No newline at end of file diff --git a/build/docs/map-type.html b/build/docs/map-type.html index ced994225..1e412361e 100644 --- a/build/docs/map-type.html +++ b/build/docs/map-type.html @@ -1,218 +1,5 @@ - - - - - JSDoc: directive:map-type - - - - - - - - - -
-

- directive:map-type - source -

-
- - - -
-
-
-
-
-

Requires: map directive - Restrict To: Element

-
-
-
-
Dependencies:
- - - - - - - - - - - -
NameTypeDescription
Attr2Options - service -

convert html attribute to Gogole map api options

-
-
-
Example
-
Example: 
+

  
    
    JSDoc: map-type
    
    
  
  
    
    

Angular directive

map-type source

Description

Requires: map directive + Restrict To: Element

Parameters

NameTypeDescription
Attr2MapOptions service

convert html attribute to Google map api options

Example

Example:
   <map zoom="13" center="34.04924594193164, -118.24104309082031">
     <map-type name="coordinate" object="coordinateMapType"></map-type>
-  </map>
-
-
-
-
-
-
-
- -
- - - - \ No newline at end of file + </map> \ No newline at end of file diff --git a/build/docs/maps-engine-layer.html b/build/docs/maps-engine-layer.html index 9c90d0bf1..eaa249eb4 100644 --- a/build/docs/maps-engine-layer.html +++ b/build/docs/maps-engine-layer.html @@ -1,201 +1,6 @@ - - - - - JSDoc: directive:maps-engine-layer - - - - - - - - - -
-

- directive:maps-engine-layer - source -

-
- - - -
-
-
-
-
-

Requires: map directive - Restrict To: Element

-
-
-
-
Example
-
Example: 
-  <map zoom="14" center="[59.322506, 18.010025]">
-    <maps-engine-layer layer-id="06673056454046135537-08896501997766553811"></maps-engine-layer>
-   </map>
-
-
-
-
-
-
-
- -
- - - - \ No newline at end of file + JSDoc: maps-engine-layer

Angular directive

maps-engine-layer source

Description

Requires: map directive + Restrict To: Element

Example

Example:
+ <map zoom="14" center="[59.322506, 18.010025]">
+   <maps-engine-layer layer-id="06673056454046135537-08896501997766553811">
+   </maps-engine-layer>
+ </map>
\ No newline at end of file diff --git a/build/docs/marker.html b/build/docs/marker.html index 1c0476b7d..ad93f21b1 100644 --- a/build/docs/marker.html +++ b/build/docs/marker.html @@ -1,38 +1,39 @@ - - JSDoc: directive:marker - + + JSDoc: marker - - - - + -