Repository: flex-asjs
Updated Branches:
  refs/heads/develop 04b995459 -> ed352e6ee


Made a private function public to fix compilation issue.


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/ed352e6e
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/ed352e6e
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/ed352e6e

Branch: refs/heads/develop
Commit: ed352e6ee50d5afb60e09f1d8eced12d55068ba5
Parents: 04b9954
Author: Peter Ent <[email protected]>
Authored: Wed May 28 09:56:40 2014 -0400
Committer: Peter Ent <[email protected]>
Committed: Wed May 28 09:56:40 2014 -0400

----------------------------------------------------------------------
 .../src/org/apache/flex/maps/google/beads/MapView.as  | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ed352e6e/frameworks/as/projects/FlexJSUI/src/org/apache/flex/maps/google/beads/MapView.as
----------------------------------------------------------------------
diff --git 
a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/maps/google/beads/MapView.as
 
b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/maps/google/beads/MapView.as
index a78a45a..324c367 100644
--- 
a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/maps/google/beads/MapView.as
+++ 
b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/maps/google/beads/MapView.as
@@ -108,10 +108,15 @@ package org.apache.flex.maps.google.beads
                }
                
                /**
-                * @private
-                * This function may be dropped.
+                *  Finds the given address and places a marker on it. This 
function may be dropped
+                *  since centerOnAddress + markCurrentLocation does the same 
thing.
+                *  
+                *  @langversion 3.0
+                *  @playerversion Flash 10.2
+                *  @playerversion AIR 2.6
+                *  @productversion FlexJS 0.0
                 */
-               private function geoCodeAndMarkAddress(address:String):void
+               public function geoCodeAndMarkAddress(address:String):void
                {
                        if (_loader && page) {
                                _loader.window.codeaddress(address);
@@ -312,7 +317,8 @@ package org.apache.flex.maps.google.beads
                        '                    var place = results[i];' +
                        '                    
markers.push(createMarker(place.geometry.location));' +
                        '                 }' +
-                       '                 var event = 
document.createEvent("Event");'+
+                       '                 var event = 
document.createEvent("Event");' +
+                       '                 event.results = markers;'+
             '                 event.initEvent("searchResults", true, true);' +
                        '                 window.dispatchEvent(event);' +
                        '              }' +

Reply via email to