We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92e3ddd commit 4a0ea1bCopy full SHA for 4a0ea1b
testapp/ui-router.html
@@ -17,12 +17,22 @@
17
});
18
myapp.controller('fooCtrl', function(NgMap){
19
NgMap.getMap({id:'foomap'}).then(function(map) {
20
+ console.log('NgMap.getMap in fooCtrl', map);
21
map.setZoom(4);
22
+ var marker = new google.maps.Marker({
23
+ position: new google.maps.LatLng(40.74, -74.18),
24
+ map: map
25
+ });
26
27
28
myapp.controller('barCtrl', function(NgMap){
29
NgMap.getMap({id:'barmap'}).then(function(map) {
30
+ console.log('NgMap.getMap in barCtrl', map);
31
map.setZoom(11);
32
33
+ position: new google.maps.LatLng(41.74, -75.18),
34
35
36
37
38
</script>
0 commit comments