Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Side by Side Diff: dart/samples/google_maps/web/index.dart

Issue 60733003: Version 0.8.10.6 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library google_maps; 5 library google_maps;
6 6
7 // This code is derived from 7 // This code is derived from
8 // https://developers.google.com/maps/documentation/javascript/tutorial#HelloWor ld 8 // https://developers.google.com/maps/documentation/javascript/tutorial#HelloWor ld
9 // You can view the original JavaScript example at 9 // You can view the original JavaScript example at
10 // https://developers.google.com/maps/documentation/javascript/examples/map-simp le 10 // https://developers.google.com/maps/documentation/javascript/examples/map-simp le
(...skipping 16 matching lines...) Expand all
27 // to a collection of JavaScript objects and returns a proxy to it. 27 // to a collection of JavaScript objects and returns a proxy to it.
28 var mapOptions = new JsObject.jsify({ 28 var mapOptions = new JsObject.jsify({
29 "center": center, 29 "center": center,
30 "zoom": 8, 30 "zoom": 8,
31 "mapTypeId": mapTypeId 31 "mapTypeId": mapTypeId
32 }); 32 });
33 33
34 // Nodes are passed though, or transferred, not proxied. 34 // Nodes are passed though, or transferred, not proxied.
35 new JsObject(google_maps['Map'], [querySelector('#map-canvas'), mapOptions]); 35 new JsObject(google_maps['Map'], [querySelector('#map-canvas'), mapOptions]);
36 } 36 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698