Repository: flex-asjs Updated Branches: refs/heads/develop c9d4b2f4a -> 5984b1b9f
Updated sample README to reflect change in SDK (no longer need to edit the index.html file). Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/5984b1b9 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/5984b1b9 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/5984b1b9 Branch: refs/heads/develop Commit: 5984b1b9f01fa5db134b5c192270207b5dc136f5 Parents: c9d4b2f Author: Peter Ent <[email protected]> Authored: Wed May 14 16:25:24 2014 -0400 Committer: Peter Ent <[email protected]> Committed: Wed May 14 16:25:24 2014 -0400 ---------------------------------------------------------------------- examples/DesktopMap/README.txt | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5984b1b9/examples/DesktopMap/README.txt ---------------------------------------------------------------------- diff --git a/examples/DesktopMap/README.txt b/examples/DesktopMap/README.txt index bb145ec..ca46f87 100644 --- a/examples/DesktopMap/README.txt +++ b/examples/DesktopMap/README.txt @@ -7,13 +7,9 @@ The ActionScript side is an AIR app that uses HTMLLoader to bring in the Google also try to use an iFrame with a web application (there are examples of iFrame and Flex scattered around the web). You can also cross-compile this sample into JavaScript. This is possible because there is a JavaScript version of the -ActionScript Map class. When you generate the JavaScript code, an index.html file is created. You must add the following -<script> lines to that index.html file in order to make the JavaScript version work (the ActionScript version of the Map -class dynamically creates the <script> include statements): - - <script type="text/javascript" - src="https://maps.googleapis.com/maps/api/js?key={your-key-here}&sensor=false"> - </script> +ActionScript Map class. The JavaScript Map class loads the Google MAP API asynchronously and dispatches a "ready" +event when the load and initialization of the API is complete. -You will need a Google API developer key. When you have it, replace {your-key-here} with your real key. +You will need a Google API developer key. When you have it, replace --put your Google API dev token here-- with +your developer token in the MyInitialView.mxml <basic:Map> tag.
