Skip to content

Commit e4dd10a

Browse files
committed
Merge pull request angular-ui#1361 from wrummler/website
GoogleMapApi and IsReady descriptions are explicit about usage re control object augmentation
2 parents 9455495 + 55bdf5b commit e4dd10a

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

app/views/provider/GoogleMapApi.html

+6
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88
It guarantees that angular-google-maps does not begin processing any directives until all of the Google Maps SDK is fully ready!
99
</li>
1010
</ul>
11+
12+
<div class="alert alert-info">
13+
<code>uiGmapGoogleMapApi</code> (<em>this service</em>) should not be used to wait for directives to finish
14+
augmenting <code>control</code> objects. The <code>uiGmapIsReady</code> service should be used instead.
15+
</div>
16+
1117
To utilize this provider you must load it and configure it properly. Please note the
1218
<a href="https://github.com/angular-ui/angular-google-maps/blob/develop/src/coffee/providers/map-loader.coffee#L31-L50">defaults</a>!
1319

app/views/service/IsReady.html

+5
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
</li>
1414
</ul>
1515

16+
<div class="alert alert-info">
17+
The <code>uiGmapGoogleMapApi</code> service should not be used to wait for directives to finish
18+
augmenting <code>control</code> objects. <code>uiGmapIsReady</code> (<em>this service</em>) should be used instead.
19+
</div>
20+
1621
<a href="https://github.com/angular-ui/angular-google-maps/blob/develop/src/coffee/directives/api/utils/is-ready.coffee">source code</a>
1722

1823
<div hljs language="js">

0 commit comments

Comments
 (0)