You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pe...@apache.org on 2014/06/19 17:09:55 UTC
git commit: [flex-asjs] [refs/heads/develop] - Updated MapSearch
example to use google.maps.MarkerOptions to debug external-js-lib Falcon
option.
Repository: flex-asjs
Updated Branches:
refs/heads/develop be38826bc -> 65d006145
Updated MapSearch example to use google.maps.MarkerOptions to debug external-js-lib Falcon option.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/65d00614
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/65d00614
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/65d00614
Branch: refs/heads/develop
Commit: 65d006145b631b68662e5ee5d30ad56eb779e3b0
Parents: be38826
Author: Peter Ent <pe...@apache.org>
Authored: Thu Jun 19 11:09:42 2014 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Thu Jun 19 11:09:42 2014 -0400
----------------------------------------------------------------------
examples/MapSearch/src/MyInitialView.mxml | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/65d00614/examples/MapSearch/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/MapSearch/src/MyInitialView.mxml b/examples/MapSearch/src/MyInitialView.mxml
index d8199aa..086f796 100644
--- a/examples/MapSearch/src/MyInitialView.mxml
+++ b/examples/MapSearch/src/MyInitialView.mxml
@@ -23,7 +23,9 @@ limitations under the License.
xmlns:local="*"
initComplete="initControls()">
<fx:Script>
- <![CDATA[
+ <![CDATA[
+ import google.maps.MarkerOptions;
+
import org.apache.flex.maps.google.models.MapModel;
import models.MyModel;
@@ -33,7 +35,9 @@ limitations under the License.
private function initControls() : void
{
-
+ var mo:MarkerOptions = new MarkerOptions();
+ mo.opacity = 0.5;
+ trace("Set opacity to "+mo.opacity);
}
/**