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

Unified Diff: src/site/samples/google_maps/index.markdown

Issue 59753006: Added dart:js samples landing pages. (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: Post lgtm tweaks 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/site/samples/gauge/index.markdown ('k') | src/site/samples/jsonp/example/index.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/site/samples/google_maps/index.markdown
diff --git a/src/site/samples/google_maps/index.markdown b/src/site/samples/google_maps/index.markdown
new file mode 100644
index 0000000000000000000000000000000000000000..c474735c5df3ae1c4a61354a7dce6b7ae7044ca6
--- /dev/null
+++ b/src/site/samples/google_maps/index.markdown
@@ -0,0 +1,32 @@
+---
+layout: default
+title: Google Maps API and dart:js
+live_example_url: example/index.html
+
+header:
+ css: ["/samples/samples.css"]
+---
+
+## {{ page.title }}
+
+This code derives from a Google Maps JavaScript API
+[Hello World]( https://developers.google.com/maps/documentation/javascript/tutorial#HelloWorld)
+example. The example uses the `dart:js` library for Dart and JavaScript
+interoperability.
+
+See the
+[original
+example](https://developers.google.com/maps/documentation/javascript/examples/map-simple).
+
+Read the [dart:js API
+docs](http://api.dartlang.org/docs/releases/latest/dart_js.html).
+
+Read the
+[source](https://code.google.com/p/dart/source/browse/#svn%2Fbranches%2Fbleeding_edge%2Fdart%2Fsamples%2Fgoogle_maps).
+
+<iframe class="running-app-frame"
+ style="height:500px;width:100%;"
+ src="{{page.live_example_url}}">
+</iframe>
+
+See all [samples](/samples/)
« no previous file with comments | « src/site/samples/gauge/index.markdown ('k') | src/site/samples/jsonp/example/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698