Return-Path: X-Original-To: apmail-flex-commits-archive@www.apache.org Delivered-To: apmail-flex-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5F979185EC for ; Mon, 1 Feb 2016 15:40:18 +0000 (UTC) Received: (qmail 50535 invoked by uid 500); 1 Feb 2016 15:40:05 -0000 Delivered-To: apmail-flex-commits-archive@flex.apache.org Received: (qmail 50375 invoked by uid 500); 1 Feb 2016 15:40:05 -0000 Mailing-List: contact commits-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list commits@flex.apache.org Received: (qmail 50215 invoked by uid 99); 1 Feb 2016 15:40:05 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2016 15:40:05 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 56EA7E031B; Mon, 1 Feb 2016 15:40:05 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: pent@apache.org To: commits@flex.apache.org Date: Mon, 01 Feb 2016 15:40:07 -0000 Message-Id: <9b2a0a2757fd4486bb18eef0f888896c@git.apache.org> In-Reply-To: <627f25b4e0a14238a6e11e35f20e14a8@git.apache.org> References: <627f25b4e0a14238a6e11e35f20e14a8@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [3/3] git commit: [flex-asjs] [refs/heads/develop] - Updates the GoogleMap project. Updates the GoogleMap project. Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/ceb75a72 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/ceb75a72 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/ceb75a72 Branch: refs/heads/develop Commit: ceb75a727c13a33a9aff17af14d9ab6283380a68 Parents: b3e7785 Author: Peter Ent Authored: Mon Feb 1 10:39:49 2016 -0500 Committer: Peter Ent Committed: Mon Feb 1 10:39:49 2016 -0500 ---------------------------------------------------------------------- examples/flexjs/DesktopMap/DesktopMap-app.xml | 6 +- examples/flexjs/DesktopMap/build.xml | 4 +- frameworks/projects/Core/as/src/CoreClasses.as | 1 + .../flex/events/utils/IHandlesOriginalEvent.as | 35 ++ .../flex/events/utils/MouseEventConverter.as | 7 + .../as/src/org/apache/flex/utils/HTMLLoader.as | 42 +++ .../GoogleMaps/as/src/GoogleStubClasses.as | 42 +++ .../GoogleMaps/as/src/google/maps/Animation.as | 24 ++ .../as/src/google/maps/BicyclingLayer.as | 29 ++ .../GoogleMaps/as/src/google/maps/Circle.as | 108 ++++++ .../as/src/google/maps/ControlPosition.as | 94 +++++ .../as/src/google/maps/DirectionsRenderer.as | 76 ++++ .../as/src/google/maps/DirectionsService.as | 24 ++ .../as/src/google/maps/DirectionsStatus.as | 66 ++++ .../google/maps/DistanceMatrixElementStatus.as | 31 ++ .../as/src/google/maps/DistanceMatrixService.as | 24 ++ .../as/src/google/maps/DistanceMatrixStatus.as | 59 +++ .../as/src/google/maps/ElevationService.as | 32 ++ .../as/src/google/maps/ElevationStatus.as | 45 +++ .../as/src/google/maps/FusionTablesHeatmap.as | 22 ++ .../as/src/google/maps/FusionTablesLayer.as | 37 ++ .../google/maps/FusionTablesMarkerOptions.as | 22 ++ .../google/maps/FusionTablesPolygonOptions.as | 46 +++ .../google/maps/FusionTablesPolylineOptions.as | 34 ++ .../as/src/google/maps/FusionTablesQuery.as | 52 +++ .../as/src/google/maps/FusionTablesStyle.as | 40 ++ .../GoogleMaps/as/src/google/maps/Geocoder.as | 24 ++ .../src/google/maps/GeocoderAddressComponent.as | 34 ++ .../as/src/google/maps/GeocoderGeometry.as | 40 ++ .../as/src/google/maps/GeocoderLocationType.as | 38 ++ .../as/src/google/maps/GeocoderResult.as | 40 ++ .../as/src/google/maps/GeocoderStatus.as | 59 +++ .../as/src/google/maps/GroundOverlay.as | 57 +++ .../as/src/google/maps/ImageMapType.as | 30 ++ .../GoogleMaps/as/src/google/maps/InfoWindow.as | 77 ++++ .../GoogleMaps/as/src/google/maps/KmlAuthor.as | 34 ++ .../as/src/google/maps/KmlFeatureData.as | 52 +++ .../GoogleMaps/as/src/google/maps/KmlLayer.as | 61 +++ .../as/src/google/maps/KmlLayerMetadata.as | 40 ++ .../as/src/google/maps/KmlLayerStatus.as | 73 ++++ .../as/src/google/maps/KmlMouseEvent.as | 34 ++ .../GoogleMaps/as/src/google/maps/LatLng.as | 78 ++++ .../as/src/google/maps/LatLngBounds.as | 96 +++++ .../GoogleMaps/as/src/google/maps/MVCArray.as | 85 +++++ .../GoogleMaps/as/src/google/maps/MVCObject.as | 103 ++++++ .../GoogleMaps/as/src/google/maps/Map.as | 168 +++++++++ .../as/src/google/maps/MapCanvasProjection.as | 52 +++ .../GoogleMaps/as/src/google/maps/MapPanes.as | 58 +++ .../as/src/google/maps/MapTypeControlStyle.as | 31 ++ .../GoogleMaps/as/src/google/maps/MapTypeId.as | 38 ++ .../as/src/google/maps/MapTypeRegistry.as | 17 + .../as/src/google/maps/MapsEventListener.as | 16 + .../GoogleMaps/as/src/google/maps/Marker.as | 299 +++++++++++++++ .../as/src/google/maps/MaxZoomService.as | 24 ++ .../as/src/google/maps/MaxZoomStatus.as | 24 ++ .../GoogleMaps/as/src/google/maps/MouseEvent.as | 28 ++ .../as/src/google/maps/OverlayView.as | 59 +++ .../GoogleMaps/as/src/google/maps/Point.as | 43 +++ .../as/src/google/maps/PolyMouseEvent.as | 34 ++ .../GoogleMaps/as/src/google/maps/Polygon.as | 102 +++++ .../GoogleMaps/as/src/google/maps/Polyline.as | 89 +++++ .../GoogleMaps/as/src/google/maps/Rectangle.as | 89 +++++ .../as/src/google/maps/ScaleControlStyle.as | 17 + .../GoogleMaps/as/src/google/maps/Size.as | 45 +++ .../src/google/maps/StreetViewCoverageLayer.as | 29 ++ .../as/src/google/maps/StreetViewPanorama.as | 108 ++++++ .../as/src/google/maps/StreetViewPov.as | 28 ++ .../as/src/google/maps/StreetViewService.as | 33 ++ .../as/src/google/maps/StreetViewStatus.as | 31 ++ .../as/src/google/maps/StrokePosition.as | 31 ++ .../as/src/google/maps/StyledMapType.as | 18 + .../GoogleMaps/as/src/google/maps/SymbolPath.as | 45 +++ .../as/src/google/maps/TrafficLayer.as | 29 ++ .../as/src/google/maps/TransitLayer.as | 29 ++ .../GoogleMaps/as/src/google/maps/TravelMode.as | 38 ++ .../GoogleMaps/as/src/google/maps/UnitSystem.as | 24 ++ .../as/src/google/maps/ZoomControlStyle.as | 31 ++ .../GoogleMaps/as/src/google/maps/adsense.as | 27 ++ .../as/src/google/maps/adsense/AdFormat.as | 136 +++++++ .../as/src/google/maps/adsense/AdUnit.as | 146 ++++++++ .../GoogleMaps/as/src/google/maps/drawing.as | 33 ++ .../src/google/maps/drawing/DrawingManager.as | 53 +++ .../google/maps/drawing/OverlayCompleteEvent.as | 28 ++ .../as/src/google/maps/drawing/OverlayType.as | 45 +++ .../GoogleMaps/as/src/google/maps/event.as | 83 +++++ .../GoogleMaps/as/src/google/maps/geometry.as | 33 ++ .../as/src/google/maps/geometry/encoding.as | 28 ++ .../as/src/google/maps/geometry/poly.as | 34 ++ .../as/src/google/maps/geometry/spherical.as | 86 +++++ .../GoogleMaps/as/src/google/maps/panoramio.as | 30 ++ .../src/google/maps/panoramio/PanoramioLayer.as | 66 ++++ .../GoogleMaps/as/src/google/maps/places.as | 103 ++++++ .../as/src/google/maps/places/Autocomplete.as | 54 +++ .../google/maps/places/AutocompleteService.as | 32 ++ .../google/maps/places/ComponentRestrictions.as | 22 ++ .../as/src/google/maps/places/PhotoOptions.as | 28 ++ .../src/google/maps/places/PlaceAspectRating.as | 28 ++ .../as/src/google/maps/places/PlaceGeometry.as | 31 ++ .../as/src/google/maps/places/PlaceResult.as | 142 +++++++ .../as/src/google/maps/places/PlaceReview.as | 40 ++ .../google/maps/places/PlaceSearchPagination.as | 28 ++ .../as/src/google/maps/places/PlacesService.as | 49 +++ .../google/maps/places/PlacesServiceStatus.as | 52 +++ .../as/src/google/maps/places/RankBy.as | 24 ++ .../as/src/google/maps/places/SearchBox.as | 40 ++ .../as/src/google/maps/visualization.as | 74 ++++ .../maps/visualization/DemographicsLayer.as | 65 ++++ .../google/maps/visualization/HeatmapLayer.as | 47 +++ .../maps/visualization/MapsEngineLayer.as | 91 +++++ .../maps/visualization/MapsEngineStatus.as | 31 ++ .../GoogleMaps/as/src/google/maps/weather.as | 60 +++ .../as/src/google/maps/weather/CloudLayer.as | 32 ++ .../as/src/google/maps/weather/LabelColor.as | 24 ++ .../src/google/maps/weather/TemperatureUnit.as | 24 ++ .../as/src/google/maps/weather/WeatherLayer.as | 40 ++ .../as/src/google/maps/weather/WindSpeedUnit.as | 31 ++ .../org/apache/flex/maps/google/GoogleMap.as | 2 +- .../flex/maps/google/beads/GoogleMapView.as | 370 +++++++++++++++++-- frameworks/projects/GoogleMaps/build.xml | 2 +- .../projects/GoogleMaps/compile-asjs-config.xml | 1 + .../projects/GoogleMaps/compile-config.xml | 1 + 121 files changed, 6132 insertions(+), 28 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/examples/flexjs/DesktopMap/DesktopMap-app.xml ---------------------------------------------------------------------- diff --git a/examples/flexjs/DesktopMap/DesktopMap-app.xml b/examples/flexjs/DesktopMap/DesktopMap-app.xml index 9c10a05..70c4c50 100644 --- a/examples/flexjs/DesktopMap/DesktopMap-app.xml +++ b/examples/flexjs/DesktopMap/DesktopMap-app.xml @@ -17,7 +17,7 @@ limitations under the License. --> - + - + 640 - + 720 http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/examples/flexjs/DesktopMap/build.xml ---------------------------------------------------------------------- diff --git a/examples/flexjs/DesktopMap/build.xml b/examples/flexjs/DesktopMap/build.xml index 2c71d9b..8d66e75 100644 --- a/examples/flexjs/DesktopMap/build.xml +++ b/examples/flexjs/DesktopMap/build.xml @@ -51,10 +51,10 @@ - + - + http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/Core/as/src/CoreClasses.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/Core/as/src/CoreClasses.as b/frameworks/projects/Core/as/src/CoreClasses.as index d43ea81..ee984aa 100644 --- a/frameworks/projects/Core/as/src/CoreClasses.as +++ b/frameworks/projects/Core/as/src/CoreClasses.as @@ -123,6 +123,7 @@ internal class CoreClasses import org.apache.flex.utils.PNGEncoder; PNGEncoder; import org.apache.flex.utils.SolidBorderUtil; SolidBorderUtil; import org.apache.flex.utils.StringTrimmer; StringTrimmer; + import org.apache.flex.utils.HTMLLoader; HTMLLoader; } import org.apache.flex.utils.Timer; Timer; import org.apache.flex.utils.UIUtils; UIUtils; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/Core/as/src/org/apache/flex/events/utils/IHandlesOriginalEvent.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/Core/as/src/org/apache/flex/events/utils/IHandlesOriginalEvent.as b/frameworks/projects/Core/as/src/org/apache/flex/events/utils/IHandlesOriginalEvent.as new file mode 100644 index 0000000..f9f035d --- /dev/null +++ b/frameworks/projects/Core/as/src/org/apache/flex/events/utils/IHandlesOriginalEvent.as @@ -0,0 +1,35 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// Licensed to the Apache Software Foundation (ASF) under one or more +// contributor license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright ownership. +// The ASF licenses this file to You under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance with +// the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +//////////////////////////////////////////////////////////////////////////////// +package org.apache.flex.events.utils +{ + /** + * The presence of this interface indicates that the event.target being + * processed by a converter, such as MouseEventConverter, should be ignored. + * + * @langversion 3.0 + * @playerversion Flash 10.2 + * @playerversion AIR 2.6 + * @productversion FlexJS 0.0 + */ + COMPILE::AS3 + public interface IHandlesOriginalEvent + { + + } +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/Core/as/src/org/apache/flex/events/utils/MouseEventConverter.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/Core/as/src/org/apache/flex/events/utils/MouseEventConverter.as b/frameworks/projects/Core/as/src/org/apache/flex/events/utils/MouseEventConverter.as index a969a44..1c015fd 100644 --- a/frameworks/projects/Core/as/src/org/apache/flex/events/utils/MouseEventConverter.as +++ b/frameworks/projects/Core/as/src/org/apache/flex/events/utils/MouseEventConverter.as @@ -23,6 +23,7 @@ package org.apache.flex.events.utils import flash.events.MouseEvent; import org.apache.flex.events.MouseEvent; + import org.apache.flex.events.utils.IHandlesOriginalEvent; /** * Mouse events conversion. @@ -76,6 +77,12 @@ package org.apache.flex.events.utils { if (event is flash.events.MouseEvent && (!(event is org.apache.flex.events.MouseEvent))) { + var p:* = event.target; + while (p != null) { + if (p is IHandlesOriginalEvent) return; + p = p.parent; + } + var newEvent:org.apache.flex.events.MouseEvent = convert(flash.events.MouseEvent(event)); if (newEvent) http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/Core/as/src/org/apache/flex/utils/HTMLLoader.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/Core/as/src/org/apache/flex/utils/HTMLLoader.as b/frameworks/projects/Core/as/src/org/apache/flex/utils/HTMLLoader.as new file mode 100644 index 0000000..ac8a7c1 --- /dev/null +++ b/frameworks/projects/Core/as/src/org/apache/flex/utils/HTMLLoader.as @@ -0,0 +1,42 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// Licensed to the Apache Software Foundation (ASF) under one or more +// contributor license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright ownership. +// The ASF licenses this file to You under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance with +// the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +//////////////////////////////////////////////////////////////////////////////// +package org.apache.flex.utils +{ +COMPILE::AS3 +{ + import flash.html.HTMLLoader; + import org.apache.flex.events.utils.IHandlesOriginalEvent; +} + +/** + * The Timer class dispatches events based on a delay + * and repeat count. + * + * @langversion 3.0 + * @playerversion Flash 10.2 + * @playerversion AIR 2.6 + * @productversion FlexJS 0.0 + */ +COMPILE::AS3 +public class HTMLLoader extends flash.html.HTMLLoader implements IHandlesOriginalEvent +{ + +} + +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/GoogleStubClasses.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/GoogleStubClasses.as b/frameworks/projects/GoogleMaps/as/src/GoogleStubClasses.as new file mode 100644 index 0000000..9f6da21 --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/GoogleStubClasses.as @@ -0,0 +1,42 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// Licensed to the Apache Software Foundation (ASF) under one or more +// contributor license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright ownership. +// The ASF licenses this file to You under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance with +// the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +//////////////////////////////////////////////////////////////////////////////// +package +{ + +/** + * @private + * This class is used to link additional classes into rpc.swc + * beyond those that are found by dependecy analysis starting + * from the classes specified in manifest.xml. + */ +internal class GoogleStubClasses +{ + COMPILE::AS3 { + import google.maps.Animation; Animation; + import google.maps.LatLng; LatLng; + import google.maps.Marker; Marker; + import google.maps.Geocoder; Geocoder; + import google.maps.Map; Map; + import google.maps.places.PlaceResult; PlaceResult; + import google.maps.places.PlacesService; PlacesService; + } +} + +} + http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/Animation.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/Animation.as b/frameworks/projects/GoogleMaps/as/src/google/maps/Animation.as new file mode 100644 index 0000000..8a76edf --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/Animation.as @@ -0,0 +1,24 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor */ +public class Animation { + + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const BOUNCE:Number = 0; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const DROP:Number = 1; + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/BicyclingLayer.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/BicyclingLayer.as b/frameworks/projects/GoogleMaps/as/src/google/maps/BicyclingLayer.as new file mode 100644 index 0000000..5dab300 --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/BicyclingLayer.as @@ -0,0 +1,29 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor extends google.maps.MVCObject */ +public class BicyclingLayer extends google.maps.MVCObject { + + /** + * @see [google_maps_api_v3_11] + */ + public function BicyclingLayer() { + super(); + } + + /** + * @param map [(google.maps.Map|null)] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setMap(map:google.maps.Map):Object /* undefined */ { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {(google.maps.Map|null)} + */ + public function getMap():google.maps.Map { return null; } + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/Circle.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/Circle.as b/frameworks/projects/GoogleMaps/as/src/google/maps/Circle.as new file mode 100644 index 0000000..2d95c54 --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/Circle.as @@ -0,0 +1,108 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor extends google.maps.MVCObject */ +public class Circle extends google.maps.MVCObject { + + /** + * @param opt_opts [(Object|google.maps.CircleOptions|null|undefined)] + * @see [google_maps_api_v3_11] + */ + public function Circle(opt_opts:Object = null) { + super(); + } + + /** + * @see [google_maps_api_v3_11] + * @returns {boolean} + */ + public function getEditable():Boolean { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {(google.maps.LatLng|null)} + */ + public function getCenter():google.maps.LatLng { return null; } + + /** + * @param draggable [boolean] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setDraggable(draggable:Boolean):Object /* undefined */ { return null; } + + /** + * @param visible [boolean] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setVisible(visible:Boolean):Object /* undefined */ { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {number} + */ + public function getRadius():Number { return 0; } + + /** + * @param map [(google.maps.Map|null)] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setMap(map:google.maps.Map):Object /* undefined */ { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {(google.maps.Map|null)} + */ + public function getMap():google.maps.Map { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {boolean} + */ + public function getVisible():Boolean { return null; } + + /** + * @param editable [boolean] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setEditable(editable:Boolean):Object /* undefined */ { return null; } + + /** + * @param options [(Object|google.maps.CircleOptions|null)] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setOptions(options:Object):Object /* undefined */ { return null; } + + /** + * @param radius [number] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setRadius(radius:Number):Object /* undefined */ { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {(google.maps.LatLngBounds|null)} + */ + public function getBounds():google.maps.LatLngBounds { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {boolean} + */ + public function getDraggable():Boolean { return null; } + + /** + * @param center [(google.maps.LatLng|null)] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setCenter(center:google.maps.LatLng):Object /* undefined */ { return null; } + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/ControlPosition.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/ControlPosition.as b/frameworks/projects/GoogleMaps/as/src/google/maps/ControlPosition.as new file mode 100644 index 0000000..5ef0a2a --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/ControlPosition.as @@ -0,0 +1,94 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor */ +public class ControlPosition { + + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const RIGHT_TOP:Number = 0; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const RIGHT_BOTTOM:Number = 1; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const TOP_RIGHT:Number = 2; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const BOTTOM_LEFT:Number = 3; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const RIGHT_CENTER:Number = 4; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const BOTTOM_CENTER:Number = 5; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const TOP_LEFT:Number = 6; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const LEFT_CENTER:Number = 7; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const LEFT_BOTTOM:Number = 8; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const TOP_CENTER:Number = 9; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const BOTTOM_RIGHT:Number = 10; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const LEFT_TOP:Number = 11; + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/DirectionsRenderer.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/DirectionsRenderer.as b/frameworks/projects/GoogleMaps/as/src/google/maps/DirectionsRenderer.as new file mode 100644 index 0000000..71661ce --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/DirectionsRenderer.as @@ -0,0 +1,76 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor extends google.maps.MVCObject */ +public class DirectionsRenderer extends google.maps.MVCObject { + + /** + * @param opt_opts [(Object|google.maps.DirectionsRendererOptions|null|undefined)] + * @see [google_maps_api_v3_11] + */ + public function DirectionsRenderer(opt_opts:Object = null) { + super(); + } + + /** + * @see [google_maps_api_v3_11] + * @returns {number} + */ + public function getRouteIndex():Number { return 0; } + + /** + * @param routeIndex [number] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setRouteIndex(routeIndex:Number):Object /* undefined */ { return null; } + + /** + * @param panel [(Node|null)] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setPanel(panel:Node):Object /* undefined */ { return null; } + + /** + * @param options [(Object|google.maps.DirectionsRendererOptions|null)] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setOptions(options:Object):Object /* undefined */ { return null; } + + /** + * @param directions [(google.maps.DirectionsResult|null)] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setDirections(directions:google.maps.DirectionsResult):Object /* undefined */ { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {(google.maps.DirectionsResult|null)} + */ + public function getDirections():google.maps.DirectionsResult { return null; } + + /** + * @param map [(google.maps.Map|null)] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setMap(map:google.maps.Map):Object /* undefined */ { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {(Node|null)} + */ + public function getPanel():Node { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {(google.maps.Map|null)} + */ + public function getMap():google.maps.Map { return null; } + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/DirectionsService.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/DirectionsService.as b/frameworks/projects/GoogleMaps/as/src/google/maps/DirectionsService.as new file mode 100644 index 0000000..3070674 --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/DirectionsService.as @@ -0,0 +1,24 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor */ +public class DirectionsService { + + /** + * @see [google_maps_api_v3_11] + */ + public function DirectionsService() { + super(); + } + + /** + * @param request [(Object|google.maps.DirectionsRequest|null)] + * @param callback [function ((google.maps.DirectionsResult|null), (google.maps.DirectionsStatus|null)): ?] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function route(request:Object, callback:Object):Object /* undefined */ { return null; } + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/DirectionsStatus.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/DirectionsStatus.as b/frameworks/projects/GoogleMaps/as/src/google/maps/DirectionsStatus.as new file mode 100644 index 0000000..e34bf53 --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/DirectionsStatus.as @@ -0,0 +1,66 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor */ +public class DirectionsStatus { + + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const OK:String = '4'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const NOT_FOUND:String = '3'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const OVER_QUERY_LIMIT:String = '5'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const REQUEST_DENIED:String = '6'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const MAX_WAYPOINTS_EXCEEDED:String = '2'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const ZERO_RESULTS:String = ''; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const INVALID_REQUEST:String = '1'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const UNKNOWN_ERROR:String = '7'; + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/DistanceMatrixElementStatus.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/DistanceMatrixElementStatus.as b/frameworks/projects/GoogleMaps/as/src/google/maps/DistanceMatrixElementStatus.as new file mode 100644 index 0000000..510c17f --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/DistanceMatrixElementStatus.as @@ -0,0 +1,31 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor */ +public class DistanceMatrixElementStatus { + + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const OK:String = '2'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const NOT_FOUND:String = '1'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const ZERO_RESULTS:String = '3'; + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/DistanceMatrixService.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/DistanceMatrixService.as b/frameworks/projects/GoogleMaps/as/src/google/maps/DistanceMatrixService.as new file mode 100644 index 0000000..035e63d --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/DistanceMatrixService.as @@ -0,0 +1,24 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor */ +public class DistanceMatrixService { + + /** + * @see [google_maps_api_v3_11] + */ + public function DistanceMatrixService() { + super(); + } + + /** + * @param request [(Object|google.maps.DistanceMatrixRequest|null)] + * @param callback [function ((google.maps.DistanceMatrixResponse|null), (google.maps.DistanceMatrixStatus|null)): ?] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function getDistanceMatrix(request:Object, callback:Object):Object /* undefined */ { return null; } + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/DistanceMatrixStatus.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/DistanceMatrixStatus.as b/frameworks/projects/GoogleMaps/as/src/google/maps/DistanceMatrixStatus.as new file mode 100644 index 0000000..b168675 --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/DistanceMatrixStatus.as @@ -0,0 +1,59 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor */ +public class DistanceMatrixStatus { + + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const MAX_ELEMENTS_EXCEEDED:String = '3'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const OK:String = '4'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const OVER_QUERY_LIMIT:String = '5'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const REQUEST_DENIED:String = '6'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const MAX_DIMENSIONS_EXCEEDED:String = '2'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const INVALID_REQUEST:String = '1'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const UNKNOWN_ERROR:String = ''; + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/ElevationService.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/ElevationService.as b/frameworks/projects/GoogleMaps/as/src/google/maps/ElevationService.as new file mode 100644 index 0000000..261da53 --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/ElevationService.as @@ -0,0 +1,32 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor */ +public class ElevationService { + + /** + * @see [google_maps_api_v3_11] + */ + public function ElevationService() { + super(); + } + + /** + * @param request [(Object|google.maps.PathElevationRequest|null)] + * @param callback [function ((Array<(google.maps.ElevationResult|null)>|null), (google.maps.ElevationStatus|null)): ?] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function getElevationAlongPath(request:Object, callback:Object):Object /* undefined */ { return null; } + + /** + * @param request [(Object|google.maps.LocationElevationRequest|null)] + * @param callback [function ((Array<(google.maps.ElevationResult|null)>|null), (google.maps.ElevationStatus|null)): ?] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function getElevationForLocations(request:Object, callback:Object):Object /* undefined */ { return null; } + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/ElevationStatus.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/ElevationStatus.as b/frameworks/projects/GoogleMaps/as/src/google/maps/ElevationStatus.as new file mode 100644 index 0000000..dfc5e3f --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/ElevationStatus.as @@ -0,0 +1,45 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor */ +public class ElevationStatus { + + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const OK:String = '2'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const OVER_QUERY_LIMIT:String = '3'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const REQUEST_DENIED:String = '4'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const INVALID_REQUEST:String = '1'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const UNKNOWN_ERROR:String = ''; + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/FusionTablesHeatmap.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/FusionTablesHeatmap.as b/frameworks/projects/GoogleMaps/as/src/google/maps/FusionTablesHeatmap.as new file mode 100644 index 0000000..28400bc --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/FusionTablesHeatmap.as @@ -0,0 +1,22 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor */ +public class FusionTablesHeatmap { + + /** + * @see [google_maps_api_v3_11] + */ + public function FusionTablesHeatmap() { + super(); + } + + /** + * @see JSType - [boolean] + * @see [google_maps_api_v3_11] + */ + public var enabled:Boolean; + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/FusionTablesLayer.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/FusionTablesLayer.as b/frameworks/projects/GoogleMaps/as/src/google/maps/FusionTablesLayer.as new file mode 100644 index 0000000..f185b75 --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/FusionTablesLayer.as @@ -0,0 +1,37 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor extends google.maps.MVCObject */ +public class FusionTablesLayer extends google.maps.MVCObject { + + /** + * @param options [(Object|google.maps.FusionTablesLayerOptions|null)] + * @see [google_maps_api_v3_11] + */ + public function FusionTablesLayer(options:Object) { + super(); + } + + /** + * @param options [(Object|google.maps.FusionTablesLayerOptions|null)] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setOptions(options:Object):Object /* undefined */ { return null; } + + /** + * @param map [(google.maps.Map|null)] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setMap(map:google.maps.Map):Object /* undefined */ { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {(google.maps.Map|null)} + */ + public function getMap():google.maps.Map { return null; } + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/FusionTablesMarkerOptions.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/FusionTablesMarkerOptions.as b/frameworks/projects/GoogleMaps/as/src/google/maps/FusionTablesMarkerOptions.as new file mode 100644 index 0000000..dcd8a4b --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/FusionTablesMarkerOptions.as @@ -0,0 +1,22 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor */ +public class FusionTablesMarkerOptions { + + /** + * @see [google_maps_api_v3_11] + */ + public function FusionTablesMarkerOptions() { + super(); + } + + /** + * @see JSType - [string] + * @see [google_maps_api_v3_11] + */ + public var iconName:String; + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/FusionTablesPolygonOptions.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/FusionTablesPolygonOptions.as b/frameworks/projects/GoogleMaps/as/src/google/maps/FusionTablesPolygonOptions.as new file mode 100644 index 0000000..2730d85 --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/FusionTablesPolygonOptions.as @@ -0,0 +1,46 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor */ +public class FusionTablesPolygonOptions { + + /** + * @see [google_maps_api_v3_11] + */ + public function FusionTablesPolygonOptions() { + super(); + } + + /** + * @see JSType - [string] + * @see [google_maps_api_v3_11] + */ + public var fillColor:String; + + /** + * @see JSType - [string] + * @see [google_maps_api_v3_11] + */ + public var strokeColor:String; + + /** + * @see JSType - [number] + * @see [google_maps_api_v3_11] + */ + public var strokeWeight:Number; + + /** + * @see JSType - [number] + * @see [google_maps_api_v3_11] + */ + public var strokeOpacity:Number; + + /** + * @see JSType - [number] + * @see [google_maps_api_v3_11] + */ + public var fillOpacity:Number; + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/FusionTablesPolylineOptions.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/FusionTablesPolylineOptions.as b/frameworks/projects/GoogleMaps/as/src/google/maps/FusionTablesPolylineOptions.as new file mode 100644 index 0000000..4c0ab0b --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/FusionTablesPolylineOptions.as @@ -0,0 +1,34 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor */ +public class FusionTablesPolylineOptions { + + /** + * @see [google_maps_api_v3_11] + */ + public function FusionTablesPolylineOptions() { + super(); + } + + /** + * @see JSType - [string] + * @see [google_maps_api_v3_11] + */ + public var strokeColor:String; + + /** + * @see JSType - [number] + * @see [google_maps_api_v3_11] + */ + public var strokeWeight:Number; + + /** + * @see JSType - [number] + * @see [google_maps_api_v3_11] + */ + public var strokeOpacity:Number; + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/FusionTablesQuery.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/FusionTablesQuery.as b/frameworks/projects/GoogleMaps/as/src/google/maps/FusionTablesQuery.as new file mode 100644 index 0000000..83dbe8b --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/FusionTablesQuery.as @@ -0,0 +1,52 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor */ +public class FusionTablesQuery { + + /** + * @see [google_maps_api_v3_11] + */ + public function FusionTablesQuery() { + super(); + } + + /** + * @see JSType - [number] + * @see [google_maps_api_v3_11] + */ + public var limit:Number; + + /** + * @see JSType - [string] + * @see [google_maps_api_v3_11] + */ + public var orderBy:String; + + /** + * @see JSType - [string] + * @see [google_maps_api_v3_11] + */ + public var select:String; + + /** + * @see JSType - [string] + * @see [google_maps_api_v3_11] + */ + public var from:String; + + /** + * @see JSType - [string] + * @see [google_maps_api_v3_11] + */ + public var where:String; + + /** + * @see JSType - [number] + * @see [google_maps_api_v3_11] + */ + public var offset:Number; + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/FusionTablesStyle.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/FusionTablesStyle.as b/frameworks/projects/GoogleMaps/as/src/google/maps/FusionTablesStyle.as new file mode 100644 index 0000000..7eb675a --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/FusionTablesStyle.as @@ -0,0 +1,40 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor */ +public class FusionTablesStyle { + + /** + * @see [google_maps_api_v3_11] + */ + public function FusionTablesStyle() { + super(); + } + + /** + * @see JSType - [(Object|google.maps.FusionTablesPolygonOptions|null)] + * @see [google_maps_api_v3_11] + */ + public var polygonOptions:Object; + + /** + * @see JSType - [(Object|google.maps.FusionTablesPolylineOptions|null)] + * @see [google_maps_api_v3_11] + */ + public var polylineOptions:Object; + + /** + * @see JSType - [(Object|google.maps.FusionTablesMarkerOptions|null)] + * @see [google_maps_api_v3_11] + */ + public var markerOptions:Object; + + /** + * @see JSType - [string] + * @see [google_maps_api_v3_11] + */ + public var where:String; + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/Geocoder.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/Geocoder.as b/frameworks/projects/GoogleMaps/as/src/google/maps/Geocoder.as new file mode 100644 index 0000000..f13a2d5 --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/Geocoder.as @@ -0,0 +1,24 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor */ +public class Geocoder { + + /** + * @see [google_maps_api_v3_11] + */ + public function Geocoder() { + super(); + } + + /** + * @param request [(Object|google.maps.GeocoderRequest|null)] + * @param callback [function ((Array<(google.maps.GeocoderResult|null)>|null), (google.maps.GeocoderStatus|null)): ?] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function geocode(request:Object, callback:Object):Object /* undefined */ { return null; } + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/GeocoderAddressComponent.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/GeocoderAddressComponent.as b/frameworks/projects/GoogleMaps/as/src/google/maps/GeocoderAddressComponent.as new file mode 100644 index 0000000..82a36ae --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/GeocoderAddressComponent.as @@ -0,0 +1,34 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor */ +public class GeocoderAddressComponent { + + /** + * @see [google_maps_api_v3_11] + */ + public function GeocoderAddressComponent() { + super(); + } + + /** + * @see JSType - [string] + * @see [google_maps_api_v3_11] + */ + public var long_name:String; + + /** + * @see JSType - [(Array|null)] + * @see [google_maps_api_v3_11] + */ + public var types:Array; + + /** + * @see JSType - [string] + * @see [google_maps_api_v3_11] + */ + public var short_name:String; + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/GeocoderGeometry.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/GeocoderGeometry.as b/frameworks/projects/GoogleMaps/as/src/google/maps/GeocoderGeometry.as new file mode 100644 index 0000000..6ba4aff --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/GeocoderGeometry.as @@ -0,0 +1,40 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor */ +public class GeocoderGeometry { + + /** + * @see [google_maps_api_v3_11] + */ + public function GeocoderGeometry() { + super(); + } + + /** + * @see JSType - [(google.maps.LatLngBounds|null)] + * @see [google_maps_api_v3_11] + */ + public var bounds:google.maps.LatLngBounds; + + /** + * @see JSType - [(google.maps.LatLngBounds|null)] + * @see [google_maps_api_v3_11] + */ + public var viewport:google.maps.LatLngBounds; + + /** + * @see JSType - [(google.maps.GeocoderLocationType|null)] + * @see [google_maps_api_v3_11] + */ + public var location_type:google.maps.GeocoderLocationType; + + /** + * @see JSType - [(google.maps.LatLng|null)] + * @see [google_maps_api_v3_11] + */ + public var location:google.maps.LatLng; + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/GeocoderLocationType.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/GeocoderLocationType.as b/frameworks/projects/GoogleMaps/as/src/google/maps/GeocoderLocationType.as new file mode 100644 index 0000000..f1b6379 --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/GeocoderLocationType.as @@ -0,0 +1,38 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor */ +public class GeocoderLocationType { + + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const ROOFTOP:String = '4'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const RANGE_INTERPOLATED:String = '3'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const APPROXIMATE:String = '1'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const GEOMETRIC_CENTER:String = '2'; + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/GeocoderResult.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/GeocoderResult.as b/frameworks/projects/GoogleMaps/as/src/google/maps/GeocoderResult.as new file mode 100644 index 0000000..300d662 --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/GeocoderResult.as @@ -0,0 +1,40 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor */ +public class GeocoderResult { + + /** + * @see [google_maps_api_v3_11] + */ + public function GeocoderResult() { + super(); + } + + /** + * @see JSType - [(Array<(google.maps.GeocoderAddressComponent|null)>|null)] + * @see [google_maps_api_v3_11] + */ + public var address_components:Array; + + /** + * @see JSType - [string] + * @see [google_maps_api_v3_11] + */ + public var formatted_address:String; + + /** + * @see JSType - [(Array|null)] + * @see [google_maps_api_v3_11] + */ + public var types:Array; + + /** + * @see JSType - [(google.maps.GeocoderGeometry|null)] + * @see [google_maps_api_v3_11] + */ + public var geometry:google.maps.GeocoderGeometry; + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/GeocoderStatus.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/GeocoderStatus.as b/frameworks/projects/GoogleMaps/as/src/google/maps/GeocoderStatus.as new file mode 100644 index 0000000..07b0817 --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/GeocoderStatus.as @@ -0,0 +1,59 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor */ +public class GeocoderStatus { + + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const OK:String = '3'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const OVER_QUERY_LIMIT:String = '4'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const REQUEST_DENIED:String = '5'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const ZERO_RESULTS:String = ''; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const ERROR:String = '1'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const INVALID_REQUEST:String = '2'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const UNKNOWN_ERROR:String = '6'; + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/GroundOverlay.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/GroundOverlay.as b/frameworks/projects/GoogleMaps/as/src/google/maps/GroundOverlay.as new file mode 100644 index 0000000..e82daa6 --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/GroundOverlay.as @@ -0,0 +1,57 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor extends google.maps.MVCObject */ +public class GroundOverlay extends google.maps.MVCObject { + + /** + * @param url [string] + * @param bounds [(google.maps.LatLngBounds|null)] + * @param opt_opts [(Object|google.maps.GroundOverlayOptions|null|undefined)] + * @see [google_maps_api_v3_11] + */ + public function GroundOverlay(url:String, bounds:google.maps.LatLngBounds, opt_opts:Object = null) { + super(); + } + + /** + * @see [google_maps_api_v3_11] + * @returns {string} + */ + public function getUrl():String { return null; } + + /** + * @param opacity [number] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setOpacity(opacity:Number):Object /* undefined */ { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {(google.maps.LatLngBounds|null)} + */ + public function getBounds():google.maps.LatLngBounds { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {number} + */ + public function getOpacity():Number { return 0; } + + /** + * @param map [(google.maps.Map|null)] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setMap(map:google.maps.Map):Object /* undefined */ { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {(google.maps.Map|null)} + */ + public function getMap():google.maps.Map { return null; } + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/ImageMapType.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/ImageMapType.as b/frameworks/projects/GoogleMaps/as/src/google/maps/ImageMapType.as new file mode 100644 index 0000000..afd2704 --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/ImageMapType.as @@ -0,0 +1,30 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor extends google.maps.MVCObject */ +public class ImageMapType extends google.maps.MVCObject { + + /** + * @param opts [(Object|google.maps.ImageMapTypeOptions|null)] + * @see [google_maps_api_v3_11] + */ + public function ImageMapType(opts:Object) { + super(); + } + + /** + * @param opacity [number] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setOpacity(opacity:Number):Object /* undefined */ { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {number} + */ + public function getOpacity():Number { return 0; } + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/InfoWindow.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/InfoWindow.as b/frameworks/projects/GoogleMaps/as/src/google/maps/InfoWindow.as new file mode 100644 index 0000000..99df034 --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/InfoWindow.as @@ -0,0 +1,77 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor extends google.maps.MVCObject */ +public class InfoWindow extends google.maps.MVCObject { + + /** + * @param opt_opts [(Object|google.maps.InfoWindowOptions|null|undefined)] + * @see [google_maps_api_v3_11] + */ + public function InfoWindow(opt_opts:Object = null) { + super(); + } + + /** + * @param zIndex [number] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setZIndex(zIndex:Number):Object /* undefined */ { return null; } + + /** + * @param opt_map [(google.maps.Map|google.maps.StreetViewPanorama|null|undefined)] + * @param opt_anchor [(google.maps.MVCObject|null|undefined)] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function open(opt_map:Object = null, opt_anchor:google.maps.MVCObject = null):Object /* undefined */ { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {(Node|null|string)} + */ + public function getContent():Object { return null; } + + /** + * @param options [(Object|google.maps.InfoWindowOptions|null)] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setOptions(options:Object):Object /* undefined */ { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {number} + */ + public function getZIndex():Number { return 0; } + + /** + * @param position [(google.maps.LatLng|null)] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setPosition(position:google.maps.LatLng):Object /* undefined */ { return null; } + + /** + * @param content [(Node|null|string)] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setContent(content:Object):Object /* undefined */ { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {(google.maps.LatLng|null)} + */ + public function getPosition():google.maps.LatLng { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function close():Object /* undefined */ { return null; } + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/KmlAuthor.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/KmlAuthor.as b/frameworks/projects/GoogleMaps/as/src/google/maps/KmlAuthor.as new file mode 100644 index 0000000..57472e4 --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/KmlAuthor.as @@ -0,0 +1,34 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor */ +public class KmlAuthor { + + /** + * @see [google_maps_api_v3_11] + */ + public function KmlAuthor() { + super(); + } + + /** + * @see JSType - [string] + * @see [google_maps_api_v3_11] + */ + public var email:String; + + /** + * @see JSType - [string] + * @see [google_maps_api_v3_11] + */ + public var name:String; + + /** + * @see JSType - [string] + * @see [google_maps_api_v3_11] + */ + public var uri:String; + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/KmlFeatureData.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/KmlFeatureData.as b/frameworks/projects/GoogleMaps/as/src/google/maps/KmlFeatureData.as new file mode 100644 index 0000000..4730d83 --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/KmlFeatureData.as @@ -0,0 +1,52 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor */ +public class KmlFeatureData { + + /** + * @see [google_maps_api_v3_11] + */ + public function KmlFeatureData() { + super(); + } + + /** + * @see JSType - [string] + * @see [google_maps_api_v3_11] + */ + public var id:String; + + /** + * @see JSType - [(google.maps.KmlAuthor|null)] + * @see [google_maps_api_v3_11] + */ + public var author:google.maps.KmlAuthor; + + /** + * @see JSType - [string] + * @see [google_maps_api_v3_11] + */ + public var description:String; + + /** + * @see JSType - [string] + * @see [google_maps_api_v3_11] + */ + public var name:String; + + /** + * @see JSType - [string] + * @see [google_maps_api_v3_11] + */ + public var infoWindowHtml:String; + + /** + * @see JSType - [string] + * @see [google_maps_api_v3_11] + */ + public var snippet:String; + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/KmlLayer.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/KmlLayer.as b/frameworks/projects/GoogleMaps/as/src/google/maps/KmlLayer.as new file mode 100644 index 0000000..75b4595 --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/KmlLayer.as @@ -0,0 +1,61 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor extends google.maps.MVCObject */ +public class KmlLayer extends google.maps.MVCObject { + + /** + * @param opt_opts [(Object|google.maps.KmlLayerOptions|null|undefined)] + * @see [google_maps_api_v3_11] + */ + public function KmlLayer(opt_opts:Object = null) { + super(); + } + + /** + * @see [google_maps_api_v3_11] + * @returns {(google.maps.KmlLayerStatus|null)} + */ + public function getStatus():google.maps.KmlLayerStatus { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {string} + */ + public function getUrl():String { return null; } + + /** + * @param url [string] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setUrl(url:String):Object /* undefined */ { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {(google.maps.LatLngBounds|null)} + */ + public function getDefaultViewport():google.maps.LatLngBounds { return null; } + + /** + * @param map [(google.maps.Map|null)] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setMap(map:google.maps.Map):Object /* undefined */ { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {(google.maps.KmlLayerMetadata|null)} + */ + public function getMetadata():google.maps.KmlLayerMetadata { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {(google.maps.Map|null)} + */ + public function getMap():google.maps.Map { return null; } + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/KmlLayerMetadata.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/KmlLayerMetadata.as b/frameworks/projects/GoogleMaps/as/src/google/maps/KmlLayerMetadata.as new file mode 100644 index 0000000..c224108 --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/KmlLayerMetadata.as @@ -0,0 +1,40 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor */ +public class KmlLayerMetadata { + + /** + * @see [google_maps_api_v3_11] + */ + public function KmlLayerMetadata() { + super(); + } + + /** + * @see JSType - [(google.maps.KmlAuthor|null)] + * @see [google_maps_api_v3_11] + */ + public var author:google.maps.KmlAuthor; + + /** + * @see JSType - [string] + * @see [google_maps_api_v3_11] + */ + public var description:String; + + /** + * @see JSType - [string] + * @see [google_maps_api_v3_11] + */ + public var name:String; + + /** + * @see JSType - [string] + * @see [google_maps_api_v3_11] + */ + public var snippet:String; + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/KmlLayerStatus.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/KmlLayerStatus.as b/frameworks/projects/GoogleMaps/as/src/google/maps/KmlLayerStatus.as new file mode 100644 index 0000000..e21bcb9 --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/KmlLayerStatus.as @@ -0,0 +1,73 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor */ +public class KmlLayerStatus { + + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const OK:String = '7'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const LIMITS_EXCEEDED:String = '6'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const UNKNOWN:String = ''; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const INVALID_REQUEST:String = '5'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const DOCUMENT_NOT_FOUND:String = '1'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const INVALID_DOCUMENT:String = '4'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const FETCH_ERROR:String = '3'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const DOCUMENT_TOO_LARGE:String = '2'; + + /** + * Generated doc for missing field JSDoc. + * + * @see [google_maps_api_v3_11] + */ + public static const TIMED_OUT:String = '8'; + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/KmlMouseEvent.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/KmlMouseEvent.as b/frameworks/projects/GoogleMaps/as/src/google/maps/KmlMouseEvent.as new file mode 100644 index 0000000..2fe0883 --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/KmlMouseEvent.as @@ -0,0 +1,34 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor */ +public class KmlMouseEvent { + + /** + * @see [google_maps_api_v3_11] + */ + public function KmlMouseEvent() { + super(); + } + + /** + * @see JSType - [(google.maps.KmlFeatureData|null)] + * @see [google_maps_api_v3_11] + */ + public var featureData:google.maps.KmlFeatureData; + + /** + * @see JSType - [(google.maps.LatLng|null)] + * @see [google_maps_api_v3_11] + */ + public var latLng:google.maps.LatLng; + + /** + * @see JSType - [(google.maps.Size|null)] + * @see [google_maps_api_v3_11] + */ + public var pixelOffset:google.maps.Size; + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/LatLng.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/LatLng.as b/frameworks/projects/GoogleMaps/as/src/google/maps/LatLng.as new file mode 100644 index 0000000..fbedaea --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/LatLng.as @@ -0,0 +1,78 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// Licensed to the Apache Software Foundation (ASF) under one or more +// contributor license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright ownership. +// The ASF licenses this file to You under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance with +// the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +//////////////////////////////////////////////////////////////////////////////// +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor */ +public class LatLng { + + /** + * @param lat [number] + * @param lng [number] + * @param opt_noWrap [(boolean|undefined)] + * @see [google_maps_api_v3_11] + */ + public function LatLng(lat:Number, lng:Number, opt_noWrap:Boolean = false) { + super(); + _lat = lat; + _lng = lng; + } + + private var _lat:Number; + private var _lng:Number; + + /** + * @param other [(google.maps.LatLng|null)] + * @see [google_maps_api_v3_11] + * @returns {boolean} + */ + public function equals(other:google.maps.LatLng):Boolean { + return other.lat() == _lat && other.lng() == _lng; + } + + /** + * @see [google_maps_api_v3_11] + * @returns {string} + */ + public function toString():String { + return String(_lat)+", "+String(_lng); + } + + /** + * @see [google_maps_api_v3_11] + * @returns {number} + */ + public function lng():Number { return _lng; } + + /** + * @param opt_precision [(number|undefined)] + * @see [google_maps_api_v3_11] + * @returns {string} + */ + public function toUrlValue(opt_precision:Number = 0):String { return toString(); } + + /** + * @see [google_maps_api_v3_11] + * @returns {number} + */ + public function lat():Number { return _lat; } + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/LatLngBounds.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/LatLngBounds.as b/frameworks/projects/GoogleMaps/as/src/google/maps/LatLngBounds.as new file mode 100644 index 0000000..6384733 --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/LatLngBounds.as @@ -0,0 +1,96 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor */ +public class LatLngBounds { + + /** + * @param opt_sw [(google.maps.LatLng|null|undefined)] + * @param opt_ne [(google.maps.LatLng|null|undefined)] + * @see [google_maps_api_v3_11] + */ + public function LatLngBounds(opt_sw:google.maps.LatLng = null, opt_ne:google.maps.LatLng = null) { + super(); + } + + /** + * @see [google_maps_api_v3_11] + * @returns {(google.maps.LatLng|null)} + */ + public function getNorthEast():google.maps.LatLng { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {boolean} + */ + public function isEmpty():Boolean { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {(google.maps.LatLng|null)} + */ + public function toSpan():google.maps.LatLng { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {(google.maps.LatLng|null)} + */ + public function getCenter():google.maps.LatLng { return null; } + + /** + * @param other [(google.maps.LatLngBounds|null)] + * @see [google_maps_api_v3_11] + * @returns {boolean} + */ + public function equals(other:google.maps.LatLngBounds):Boolean { return null; } + + /** + * @param point [(google.maps.LatLng|null)] + * @see [google_maps_api_v3_11] + * @returns {(google.maps.LatLngBounds|null)} + */ + public function extend(point:google.maps.LatLng):google.maps.LatLngBounds { return null; } + + /** + * @param other [(google.maps.LatLngBounds|null)] + * @see [google_maps_api_v3_11] + * @returns {(google.maps.LatLngBounds|null)} + */ + public function union(other:google.maps.LatLngBounds):google.maps.LatLngBounds { return null; } + + /** + * @param other [(google.maps.LatLngBounds|null)] + * @see [google_maps_api_v3_11] + * @returns {boolean} + */ + public function intersects(other:google.maps.LatLngBounds):Boolean { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {string} + */ + public function toString():String { return null; } + + /** + * @param latLng [(google.maps.LatLng|null)] + * @see [google_maps_api_v3_11] + * @returns {boolean} + */ + public function contains(latLng:google.maps.LatLng):Boolean { return null; } + + /** + * @param opt_precision [(number|undefined)] + * @see [google_maps_api_v3_11] + * @returns {string} + */ + public function toUrlValue(opt_precision:Number = 0):String { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {(google.maps.LatLng|null)} + */ + public function getSouthWest():google.maps.LatLng { return null; } + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/MVCArray.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/MVCArray.as b/frameworks/projects/GoogleMaps/as/src/google/maps/MVCArray.as new file mode 100644 index 0000000..356444f --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/MVCArray.as @@ -0,0 +1,85 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor extends google.maps.MVCObject */ +public class MVCArray extends google.maps.MVCObject { + + /** + * @param opt_array [(Array|null|undefined)] + * @see [google_maps_api_v3_11] + */ + public function MVCArray(opt_array:Array = null) { + super(); + } + + /** + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function clear():Object /* undefined */ { return null; } + + /** + * @param i [number] + * @see [google_maps_api_v3_11] + * @returns {*} + */ + public function removeAt(i:Number):* { return null; } + + /** + * @param i [number] + * @param elem [*] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function insertAt(i:Number, elem:*):Object /* undefined */ { return null; } + + /** + * @param callback [function (?, number): ?] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function forEach(callback:Function /* function (?, number): ? */):Object /* undefined */ { return null; } + + /** + * @param i [number] + * @see [google_maps_api_v3_11] + * @returns {*} + */ + public function getAt(i:Number):* { return null; } + + /** + * @param i [number] + * @param elem [*] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setAt(i:Number, elem:*):Object /* undefined */ { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {*} + */ + public function pop():* { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {number} + */ + public function getLength():Number { return 0; } + + /** + * @param elem [*] + * @see [google_maps_api_v3_11] + * @returns {number} + */ + public function push(elem:*):Number { return 0; } + + /** + * @see [google_maps_api_v3_11] + * @returns {(Array|null)} + */ + public function getArray():Array { return null; } + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/MVCObject.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/MVCObject.as b/frameworks/projects/GoogleMaps/as/src/google/maps/MVCObject.as new file mode 100644 index 0000000..ea9d213 --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/MVCObject.as @@ -0,0 +1,103 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor */ +public class MVCObject { + + /** + * @see [google_maps_api_v3_11] + */ + public function MVCObject() { + super(); + _dictionary = new Object(); + } + + private var _dictionary:Object; + + /** + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function unbindAll():Object /* undefined */ { + return undefined; + } + + /** + * @param key [string] + * @see [google_maps_api_v3_11] + * @returns {*} + */ + public function get(key:String):* { + if (_dictionary.hasOwnProperty(key)) { + return _dictionary[key]; + } + else { + return undefined; + } + } + + /** + * @param values [(Object|null|undefined)] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setValues(values:Object):Object /* undefined */ { + for (var id:String in values) { + _dictionary[id] = values[id]; + } + return undefined; + } + + /** + * @param key [string] + * @param value [?] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function set(key:String, value:Object /* ? */):Object /* undefined */ { + _dictionary[key] = value; + return undefined; + } + + /** + * @param key [string] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function notify(key:String):Object /* undefined */ { return null; } + + /** + * @param key [string] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function unbind(key:String):Object /* undefined */ { return null; } + + /** + * @param key [string] + * @param target [(google.maps.MVCObject|null)] + * @param opt_targetKey [(null|string|undefined)] + * @param opt_noNotify [(boolean|undefined)] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function bindTo(key:String, target:google.maps.MVCObject, opt_targetKey:String = '', opt_noNotify:Boolean = false):Object /* undefined */ { return null; } + + /** + * @param eventName [string] + * @param handler [Function] + * @see [google_maps_api_v3_11] + * @returns {(google.maps.MapsEventListener|null)} + */ + public function addListener(eventName:String, handler:Function /* Function */):google.maps.MapsEventListener { return null; } + + /** + * @param key [string] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function changed(key:String):Object /* undefined */ { return null; } + +} +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ceb75a72/frameworks/projects/GoogleMaps/as/src/google/maps/Map.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/google/maps/Map.as b/frameworks/projects/GoogleMaps/as/src/google/maps/Map.as new file mode 100644 index 0000000..23f8e3f --- /dev/null +++ b/frameworks/projects/GoogleMaps/as/src/google/maps/Map.as @@ -0,0 +1,168 @@ +package google.maps { + +/** + * @see [google_maps_api_v3_11] + * @constructor extends google.maps.MVCObject */ +public class Map extends google.maps.MVCObject { + + /** + * @param mapDiv [(Node|null)] + * @param opt_opts [(Object|google.maps.MapOptions|null|undefined)] + * @see [google_maps_api_v3_11] + */ + public function Map(mapDiv:Object, opt_opts:Object = null) { + super(); + } + + /** + * @see JSType - [(Array<(google.maps.MVCArray|null)>|null)] + * @see [google_maps_api_v3_11] + */ + public var controls:Array; + + /** + * @see JSType - [(google.maps.MapTypeRegistry|null)] + * @see [google_maps_api_v3_11] + */ + public var mapTypes:google.maps.MapTypeRegistry; + + /** + * @see JSType - [(google.maps.MVCArray|null)] + * @see [google_maps_api_v3_11] + */ + public var overlayMapTypes:google.maps.MVCArray; + + /** + * @see [google_maps_api_v3_11] + * @returns {(google.maps.LatLng|null)} + */ + public function getCenter():google.maps.LatLng { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {number} + */ + public function getTilt():Number { return 0; } + + /** + * @see [google_maps_api_v3_11] + * @returns {(Node|null)} + */ + public function getDiv():Object { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {(google.maps.Projection|null)} + */ + public function getProjection():Object { return null; } //google.maps.Projection { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {number} + */ + public function getHeading():Number { return 0; } + + /** + * @see [google_maps_api_v3_11] + * @returns {(google.maps.MapTypeId|null|string)} + */ + public function getMapTypeId():Object { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {(google.maps.StreetViewPanorama|null)} + */ + public function getStreetView():google.maps.StreetViewPanorama { return null; } + + /** + * @param x [number] + * @param y [number] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function panBy(x:Number, y:Number):Object /* undefined */ { return null; } + + /** + * @param panorama [(google.maps.StreetViewPanorama|null)] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setStreetView(panorama:google.maps.StreetViewPanorama):Object /* undefined */ { return null; } + + /** + * @param bounds [(google.maps.LatLngBounds|null)] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function fitBounds(bounds:google.maps.LatLngBounds):Object /* undefined */ { return null; } + + /** + * @param options [(Object|google.maps.MapOptions|null)] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setOptions(options:Object):Object /* undefined */ { return null; } + + /** + * @param zoom [number] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setZoom(zoom:Number):Object /* undefined */ { return null; } + + /** + * @param tilt [number] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setTilt(tilt:Number):Object /* undefined */ { return null; } + + /** + * @param mapTypeId [(google.maps.MapTypeId|null|string)] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setMapTypeId(mapTypeId:Object):Object /* undefined */ { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {(google.maps.LatLngBounds|null)} + */ + public function getBounds():google.maps.LatLngBounds { return null; } + + /** + * @see [google_maps_api_v3_11] + * @returns {number} + */ + public function getZoom():Number { return 0; } + + /** + * @param latLng [(google.maps.LatLng|null)] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function panTo(latLng:google.maps.LatLng):Object /* undefined */ { return null; } + + /** + * @param latLngBounds [(google.maps.LatLngBounds|null)] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function panToBounds(latLngBounds:google.maps.LatLngBounds):Object /* undefined */ { return null; } + + /** + * @param heading [number] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setHeading(heading:Number):Object /* undefined */ { return null; } + + /** + * @param latlng [(google.maps.LatLng|null)] + * @see [google_maps_api_v3_11] + * @returns {undefined} + */ + public function setCenter(latlng:google.maps.LatLng):Object /* undefined */ { return null; } + +} +}