http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/69cacfc4/frameworks/projects/GoogleMaps/as/src/org/apache/flex/maps/google/beads/MapView_original.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/org/apache/flex/maps/google/beads/MapView_original.as b/frameworks/projects/GoogleMaps/as/src/org/apache/flex/maps/google/beads/MapView_original.as deleted file mode 100644 index d21314e..0000000 --- a/frameworks/projects/GoogleMaps/as/src/org/apache/flex/maps/google/beads/MapView_original.as +++ /dev/null @@ -1,515 +0,0 @@ -//////////////////////////////////////////////////////////////////////////////// -// -// 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. -// -//////////////////////////////////////////////////////////////////////////////// - -/** - * NOTE - * - * THIS IS THE OLD MapView. The new one is GoogleMapView. This code exists to preserve - * the AS/HTMLLoader version for use with AIR. Someday we will come back to this and make - * it work again. - */ -package org.apache.flex.maps.google.beads -{ - COMPILE::AS3 { - import flash.events.Event; - import flash.html.HTMLLoader; - import flash.net.URLRequest; - } - - import org.apache.flex.core.BeadViewBase; - import org.apache.flex.core.IBeadModel; - import org.apache.flex.core.IBeadView; - import org.apache.flex.core.IStrand; - import org.apache.flex.core.UIBase; - import org.apache.flex.events.Event; - import org.apache.flex.events.IEventDispatcher; - import org.apache.flex.maps.google.GoogleMap; - import org.apache.flex.maps.google.models.MapModel; - - /** - * The MapView bead class displays a Google Map using HTMLLoader. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - COMPILE::JS - public class MapView_original extends BeadViewBase implements IBeadView - { - public function MapView_original() - { - super(); - } - - private var _strand:IStrand; - - override public function set strand(value:IStrand):void - { - super.strand = value; - _strand = value; - - var token:String = (_strand as GoogleMap).token; - var src:String = 'https://maps.googleapis.com/maps/api/js?v=3.exp'; - if (token) - src += '&key=' + token; - src += '&libraries=places&sensor=false&callback=mapInit'; - - var script:HTMLScriptElement = document.createElement('script') as HTMLScriptElement; - script.type = 'text/javascript'; - script.src = src; - -/** window.mapView = this; - window['mapInit'] = function() { - (this.mapView._strand as GoogleMap).finishInitialization(); - } -**/ - document.head.appendChild(script); - } - } - - COMPILE::AS3 - public class MapView_original extends BeadViewBase implements IBeadView - { - /** - * Constructor. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public function MapView_original() - { - } - - private var _loader:HTMLLoader; - - /** - * @copy org.apache.flex.core.IBead#strand - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - override public function set strand(value:IStrand):void - { - super.strand = value; - - _loader = new HTMLLoader(); - _loader.x = 0; - _loader.y = 0; - _loader.width = UIBase(value).width; - _loader.height = UIBase(value).height; - - IEventDispatcher(_strand).addEventListener("widthChanged",handleSizeChange); - IEventDispatcher(_strand).addEventListener("heightChanged",handleSizeChange); - - var model:IBeadModel = _strand.getBeadByType(IBeadModel) as IBeadModel; - model.addEventListener("zoomChanged", handleZoomChange); - model.addEventListener("currentLocationChanged", handleCurrentLocationChange); - - (_strand as UIBase).addChild(_loader); - - var token:String = Map(_strand).token; - if (token) - page = pageTemplateStart + "&key=" + token + pageTemplateEnd; - else - page = pageTemplateStart + pageTemplateEnd; - - if (page) { - _loader.loadString(page); - _loader.addEventListener(flash.events.Event.COMPLETE, completeHandler); - } - } - - private function completeHandler(event:flash.events.Event):void - { - trace("htmlLoader complete"); - - if (_loader && page) { - _loader.window.map.center_changed = onMapCentered; - _loader.window.map.bounds_changed = onMapBoundsChanged; - _loader.window.map.zoom_changed = onMapZoomChanged; - _loader.window.map.dragend = onMapDragEnd; - - // custom event handlers - _loader.window.addEventListener("searchResults",onSearchResults); - _loader.window.addEventListener("markerClicked",onMarkerClicked); - } - - IEventDispatcher(_strand).dispatchEvent(new org.apache.flex.events.Event("ready")); - } - - private function handleZoomChange(event:org.apache.flex.events.Event):void - { - if (_loader && page) { - var model:MapModel = _strand.getBeadByType(IBeadModel) as MapModel; - setZoom(model.zoom); - } - } - - private function handleCurrentLocationChange(event:org.apache.flex.events.Event):void - { - if (_loader && page) { - var model:MapModel = _strand.getBeadByType(IBeadModel) as MapModel; - setCenter(model.currentLocation.location); - } - } - - private var page:String; - - /** - * Adjusts the map to the given coordinate and zoom level. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public function mapit(lat:Number, lng:Number, zoomLevel:Number):void - { - if (_loader && page) { - _loader.window.mapit(lat,lng,zoomLevel); - } - } - - /** - * 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 - */ - public function geoCodeAndMarkAddress(address:String):void - { - if (_loader && page) { - _loader.window.codeaddress(address); - } - } - - /** - * Centers the map on the address given. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public function centerOnAddress(address:String):void - { - if (_loader && page) { - _loader.window.centeronaddress(address); - } - } - - /** - * Marks the current center of the map. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public function markCurrentLocation():void - { - if (_loader && page) { - _loader.window.markcurrentlocation(); - } - } - - /** - * Performs a search near the center of map. The result is a set of - * markers displayed on the map. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public function nearbySearch(placeName:String):void - { - if (_loader && page) { - _loader.window.nearbysearch(placeName); - } - } - - /** - * Removes all of the markers from the map - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public function removeAllMarkers():void - { - if (_loader && page) { - _loader.window.clearmarkers(); - } - } - - /** - * Sets the zoom factor of the map. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public function setZoom(zoom:Number):void - { - if (_loader && page) { - _loader.window.map.setZoom(zoom); - } - } - - /** - * Sets the center of the map. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public function setCenter( location:LatLng ):void - { - if (_loader && page) { - _loader.window.setCenter(location.lat, location.lng); - } - } - - /** - * @private - */ - private function handleSizeChange(event:org.apache.flex.events.Event):void - { - _loader.width = UIBase(_strand).width; - _loader.height = UIBase(_strand).height; - } - - /** - * @private - */ - private function onMapCentered():void - { - IEventDispatcher(_strand).dispatchEvent( new org.apache.flex.events.Event("centered") ); - } - - /** - * @private - */ - private function onMapBoundsChanged():void - { - IEventDispatcher(_strand).dispatchEvent( new org.apache.flex.events.Event("boundsChanged") ); - } - - /** - * @private - */ - private function onMapZoomChanged():void - { - IEventDispatcher(_strand).dispatchEvent( new org.apache.flex.events.Event("zoomChanged") ); - } - - /** - * @private - */ - private function onMapDragEnd():void - { - IEventDispatcher(_strand).dispatchEvent( new org.apache.flex.events.Event("dragEnd") ); - } - - /** - * @private - */ - private function onSearchResults(event:*):void - { - var results:Array = []; - for(var i:int=0; i < event.results.length; i++) { - var result:Place = new Place(); - result.geometry.location.lat = event.results[i].geometry.location.lat(); - result.geometry.location.lng = event.results[i].geometry.location.lng(); - result.icon = event.results[i].icon; - result.id = event.results[i].id; - result.name = event.results[i].name; - result.reference = event.results[i].reference; - result.vicinity = event.results[i].vicinity; - results.push(result); - } - - var model:MapModel = _strand.getBeadByType(IBeadModel) as MapModel; - model.searchResults = results; - } - - /** - * @private - */ - private function onMarkerClicked(event:*):void - { - var marker:Marker = new Marker(); - marker.position.lat = event.marker.position.lat(); - marker.position.lng = event.marker.position.lng(); - marker.title = event.marker.title; - marker.map = Map(_strand); - - var model:MapModel = _strand.getBeadByType(IBeadModel) as MapModel; - model.selectedMarker = marker; - - IEventDispatcher(_strand).dispatchEvent(new org.apache.flex.events.Event("markerClicked")); - } - - /** - * @private - * This page definition is used with HTMLLoader to bring in the Google Maps - * API (a Google APP token is required). - */ - private static var pageTemplateStart:String = '<!DOCTYPE html>'+ - '<html>'+ - ' <head>'+ - ' <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />'+ - ' <style type="text/css">'+ - ' html { height: 100% }'+ - ' body { height: 100%; margin: 0; padding: 0 }'+ - ' #map-canvas { height: 100% }'+ - ' </style>'+ - ' <script type="text/javascript"'+ - ' src="https://maps.googleapis.com/maps/api/js?v=3.exp'; - - private static var pageTemplateEnd:String = '&libraries=places&sensor=false">'+ - ' </script>'+ - ' <script type="text/javascript">'+ - ' var map;'+ - ' var geocoder;'+ - ' var currentCenter;' + - ' var service;' + - ' var places;' + - ' var markers;'+ - ' function mapit(lat, lng, zoomLevel) {' + - ' currentCenter = new google.maps.LatLng(lat, lng);'+ - ' if (map == null) {' + - ' var mapOptions = {'+ - ' center: currentCenter,'+ - ' zoom: zoomLevel'+ - ' };'+ - ' map = new google.maps.Map(document.getElementById("map-canvas"),'+ - ' mapOptions);' + - ' }' + - ' google.maps.event.addListener(map, "center_changed", function() {' + - ' currentCenter = map.getCenter();' + - ' });' + - ' google.maps.event.addListener(map, "bounds_changed", function() {' + - ' currentCenter = map.getCenter();' + - ' });' + - ' map.setCenter(currentCenter);'+ - ' };' + - ' function setCenter(lat, lng) {' + - ' currentCenter = new google.maps.LatLng(lat,lng);' + - ' map.setCenter(currentCenter);' + - ' };'+ - ' function codeaddress(address) {'+ - ' if (!geocoder) geocoder = new google.maps.Geocoder();'+ - ' geocoder.geocode( { "address": address}, function(results, status) {'+ - ' if (status == google.maps.GeocoderStatus.OK) {'+ - ' currentCenter = results[0].geometry.location;'+ - ' map.setCenter(currentCenter);'+ - ' var marker = new google.maps.Marker({'+ - ' map: map,'+ - ' position: currentCenter,'+ - ' });'+ - ' } else {'+ - ' alert("Geocode was not successful for the following reason: " + status);'+ - ' }'+ - ' });'+ - ' };'+ - ' function centeronaddress(address) {'+ - ' if (!geocoder) geocoder = new google.maps.Geocoder();'+ - ' geocoder.geocode( { "address": address}, function(results, status) {'+ - ' if (status == google.maps.GeocoderStatus.OK) {'+ - ' currentCenter = results[0].geometry.location;'+ - ' map.setCenter(currentCenter);' + - ' } else {'+ - ' alert("Geocode was not successful for the following reason: " + status);'+ - ' }'+ - ' });'+ - ' };'+ - ' function markcurrentlocation() {'+ - ' createMarker(currentCenter);'+ - ' };' + - ' function createMarker(location) {' + - ' var marker = new google.maps.Marker({'+ - ' map: map,'+ - ' position: location,'+ - ' });' + - ' google.maps.event.addListener(marker, "click", function() {' + - ' markerClicked(marker);' + - ' });'+ - ' return marker;'+ - ' };' + - ' function clearmarkers() {' + - ' if (markers) {' + - ' for(var i=0; i < markers.length; i++) {' + - ' markers[i].setMap(null);' + - ' }' + - ' markers = null;' + - ' }' + - ' };'+ - ' function nearbysearch(placename) {' + - ' if (markers == null) markers = [];' + - ' service = new google.maps.places.PlacesService(map);'+ - ' service.nearbySearch({"location": currentCenter,' + - ' "radius": 5000,' + - ' "name": placename}, function(results, status) {' + - ' places = results;' + - ' if (status == google.maps.places.PlacesServiceStatus.OK) {' + - ' for(var i=0; i < results.length; i++) {' + - ' var place = results[i];' + - ' var marker = createMarker(place.geometry.location);' + - ' marker.title = place.name;' + - ' markers.push(marker);' + - ' }' + - ' var event = document.createEvent("Event");' + - ' event.results = places;'+ - ' event.initEvent("searchResults", true, true);' + - ' window.dispatchEvent(event);' + - ' }' + - ' });'+ - ' };' + - ' function markerClicked(marker) {' + - ' var newEvent = document.createEvent("Event");' + - ' newEvent.marker = marker;' + - ' newEvent.initEvent("markerClicked", true, true);' + - ' window.dispatchEvent(newEvent);' + - ' };'+ - ' function initialize() {'+ - ' mapit(37.333, -121.900, 12);'+ - ' };'+ - ' google.maps.event.addDomListener(window, "load", initialize);'+ - ' </script>'+ - ' </head>'+ - ' <body>'+ - ' <div id="map-canvas"></div>'+ - ' </body>'+ - '</html>'; - } - -}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/69cacfc4/frameworks/projects/GoogleMaps/as/src/org/apache/flex/maps/google/models/MapModel.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/as/src/org/apache/flex/maps/google/models/MapModel.as b/frameworks/projects/GoogleMaps/as/src/org/apache/flex/maps/google/models/MapModel.as deleted file mode 100644 index 6184143..0000000 --- a/frameworks/projects/GoogleMaps/as/src/org/apache/flex/maps/google/models/MapModel.as +++ /dev/null @@ -1,165 +0,0 @@ -//////////////////////////////////////////////////////////////////////////////// -// -// 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.maps.google.models -{ - import org.apache.flex.core.IBeadModel; - import org.apache.flex.core.IStrand; - import org.apache.flex.events.Event; - import org.apache.flex.events.EventDispatcher; - - import google.maps.LatLng; - import google.maps.Marker; - - /** - * The data model for the Map class, this holds the maps current center - * location, its current zoom level, the last marker selected, and any - * search results. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public class MapModel extends EventDispatcher implements IBeadModel - { - /** - * Constructor. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public function MapModel() - { - super(); - } - - private var _strand:IStrand; - - /** - * @copy org.apache.flex.core.IBead#strand - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public function set strand(value:IStrand):void - { - _strand = value; - } - - private var _token:String; - - public function get token():String - { - return _token; - } - public function set token(value:String):void - { - _token = value; - dispatchEvent(new Event("tokenChanged")); - } - - private var _currentCenter:LatLng; - - /** - * The current center of the map. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public function get currentCenter():LatLng - { - return _currentCenter; - } - - public function set currentCenter(value:LatLng):void - { - _currentCenter = value; - dispatchEvent( new Event("currentCenterChanged") ); - } - - private var _selectedMarker:Marker; - - /** - * The last marker selected, if any. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public function get selectedMarker():Marker - { - return _selectedMarker; - } - - public function set selectedMarker(value:Marker):void - { - _selectedMarker = value; - dispatchEvent( new Event("selectedMarkerChanged") ); - } - - private var _zoom:Number; - - /** - * The current zoom level. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public function get zoom():Number - { - return _zoom; - } - public function set zoom(value:Number):void - { - if (value != _zoom) { - _zoom = value; - dispatchEvent( new Event("zoomChanged") ); - } - } - - private var _searchResults:Array; - - /** - * Results from the last search. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion FlexJS 0.0 - */ - public function get searchResults():Array - { - return _searchResults; - } - public function set searchResults(value:Array):void - { - _searchResults = value; - dispatchEvent( new Event("searchResultsChanged") ); - } - } -} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/69cacfc4/frameworks/projects/GoogleMaps/compile-asjs-config.xml ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/compile-asjs-config.xml b/frameworks/projects/GoogleMaps/compile-asjs-config.xml deleted file mode 100644 index 52a9e48..0000000 --- a/frameworks/projects/GoogleMaps/compile-asjs-config.xml +++ /dev/null @@ -1,75 +0,0 @@ -<!-- - - 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. - ---> -<flex-config> - - <compiler> - <accessible>false</accessible> - - - <mxml> - <children-as-data>true</children-as-data> - </mxml> - <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event> - <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind> - <binding-value-change-event-type>valueChange</binding-value-change-event-type> - - <keep-as3-metadata> - <name>Bindable</name> - <name>Managed</name> - <name>ChangeEvent</name> - <name>NonCommittingChangeEvent</name> - <name>Transient</name> - </keep-as3-metadata> - - <locale/> - - <library-path> - <!-- asjscompc won't 'link' these classes in, but will list their requires - if these swcs are on the external-library-path then their requires - will not be listed --> - <path-element>../../externs/Core.swc</path-element> - </library-path> - - <namespaces> - <namespace> - <uri>library://ns.apache.org/flexjs/google</uri> - <manifest>google-manifest.xml</manifest> - </namespace> - </namespaces> - - <source-path> - <path-element>as/src</path-element> - </source-path> - - <warn-no-constructor>false</warn-no-constructor> - </compiler> - - <include-classes> - <class>GoogleStubClasses</class> - <class>GoogleMapsClasses</class> - </include-classes> - - <include-namespaces> - <uri>library://ns.apache.org/flexjs/google</uri> - </include-namespaces> - - <target-player>${playerglobal.version}</target-player> - - -</flex-config> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/69cacfc4/frameworks/projects/GoogleMaps/compile-config.xml ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/compile-config.xml b/frameworks/projects/GoogleMaps/compile-config.xml deleted file mode 100644 index 7a80279..0000000 --- a/frameworks/projects/GoogleMaps/compile-config.xml +++ /dev/null @@ -1,83 +0,0 @@ -<!-- - - 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. - ---> -<flex-config> - - <compiler> - <accessible>false</accessible> - - <external-library-path> - <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element> - <path-element>../../libs/Core.swc</path-element> - </external-library-path> - - <mxml> - <children-as-data>true</children-as-data> - </mxml> - <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event> - <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind> - <binding-value-change-event-type>valueChange</binding-value-change-event-type> - - <keep-as3-metadata> - <name>Bindable</name> - <name>Managed</name> - <name>ChangeEvent</name> - <name>NonCommittingChangeEvent</name> - <name>Transient</name> - </keep-as3-metadata> - - <locale/> - - <library-path/> - - <namespaces> - <namespace> - <uri>library://ns.apache.org/flexjs/google</uri> - <manifest>google-manifest.xml</manifest> - </namespace> - </namespaces> - - <source-path> - <path-element>as/src</path-element> - </source-path> - - <warn-no-constructor>false</warn-no-constructor> - </compiler> - - <include-file> - <name>defaults.css</name> - <path>as/defaults.css</path> - </include-file> - <include-file> - <name>js/out/*</name> - <path>js/out/*</path> - </include-file> - - <include-classes> - <class>GoogleStubClasses</class> - <class>GoogleMapsClasses</class> - </include-classes> - - <include-namespaces> - <uri>library://ns.apache.org/flexjs/google</uri> - </include-namespaces> - - <target-player>${playerglobal.version}</target-player> - - -</flex-config> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/69cacfc4/frameworks/projects/GoogleMaps/google-manifest.xml ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/google-manifest.xml b/frameworks/projects/GoogleMaps/google-manifest.xml deleted file mode 100644 index f843c0c..0000000 --- a/frameworks/projects/GoogleMaps/google-manifest.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0"?> -<!-- - - 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. - ---> - - -<componentPackage> - <component id="Map" class="org.apache.flex.maps.google.GoogleMap" /> -</componentPackage> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/GoogleMapsClasses.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/GoogleMapsClasses.as b/frameworks/projects/GoogleMaps/src/main/flex/GoogleMapsClasses.as new file mode 100644 index 0000000..6445519 --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/GoogleMapsClasses.as @@ -0,0 +1,36 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// 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 GoogleMapsClasses +{ + import org.apache.flex.maps.google.GoogleMap; GoogleMap; + import org.apache.flex.maps.google.models.MapModel; MapModel; + import org.apache.flex.maps.google.beads.GoogleMapView; GoogleMapView; +} + +} + http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/GoogleStubClasses.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/GoogleStubClasses.as b/frameworks/projects/GoogleMaps/src/main/flex/GoogleStubClasses.as new file mode 100644 index 0000000..9f6da21 --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Animation.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Animation.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Animation.as new file mode 100644 index 0000000..8a76edf --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/BicyclingLayer.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/BicyclingLayer.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/BicyclingLayer.as new file mode 100644 index 0000000..5dab300 --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Circle.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Circle.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Circle.as new file mode 100644 index 0000000..2d95c54 --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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<?,string>|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<?,string>|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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ControlPosition.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ControlPosition.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ControlPosition.as new file mode 100644 index 0000000..5ef0a2a --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DirectionsRenderer.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DirectionsRenderer.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DirectionsRenderer.as new file mode 100644 index 0000000..71661ce --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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<?,string>|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<?,string>|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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DirectionsService.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DirectionsService.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DirectionsService.as new file mode 100644 index 0000000..3070674 --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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<?,string>|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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DirectionsStatus.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DirectionsStatus.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DirectionsStatus.as new file mode 100644 index 0000000..e34bf53 --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DistanceMatrixElementStatus.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DistanceMatrixElementStatus.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DistanceMatrixElementStatus.as new file mode 100644 index 0000000..510c17f --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DistanceMatrixService.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DistanceMatrixService.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DistanceMatrixService.as new file mode 100644 index 0000000..035e63d --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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<?,string>|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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DistanceMatrixStatus.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DistanceMatrixStatus.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/DistanceMatrixStatus.as new file mode 100644 index 0000000..b168675 --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ElevationService.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ElevationService.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ElevationService.as new file mode 100644 index 0000000..261da53 --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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<?,string>|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<?,string>|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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ElevationStatus.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ElevationStatus.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ElevationStatus.as new file mode 100644 index 0000000..dfc5e3f --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesHeatmap.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesHeatmap.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesHeatmap.as new file mode 100644 index 0000000..28400bc --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesLayer.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesLayer.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesLayer.as new file mode 100644 index 0000000..f185b75 --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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<?,string>|google.maps.FusionTablesLayerOptions|null)] + * @see [google_maps_api_v3_11] + */ + public function FusionTablesLayer(options:Object) { + super(); + } + + /** + * @param options [(Object<?,string>|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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesMarkerOptions.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesMarkerOptions.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesMarkerOptions.as new file mode 100644 index 0000000..dcd8a4b --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesPolygonOptions.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesPolygonOptions.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesPolygonOptions.as new file mode 100644 index 0000000..2730d85 --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesPolylineOptions.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesPolylineOptions.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesPolylineOptions.as new file mode 100644 index 0000000..4c0ab0b --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesQuery.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesQuery.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesQuery.as new file mode 100644 index 0000000..83dbe8b --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesStyle.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesStyle.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/FusionTablesStyle.as new file mode 100644 index 0000000..7eb675a --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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<?,string>|google.maps.FusionTablesPolygonOptions|null)] + * @see [google_maps_api_v3_11] + */ + public var polygonOptions:Object; + + /** + * @see JSType - [(Object<?,string>|google.maps.FusionTablesPolylineOptions|null)] + * @see [google_maps_api_v3_11] + */ + public var polylineOptions:Object; + + /** + * @see JSType - [(Object<?,string>|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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Geocoder.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Geocoder.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/Geocoder.as new file mode 100644 index 0000000..f13a2d5 --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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<?,string>|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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderAddressComponent.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderAddressComponent.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderAddressComponent.as new file mode 100644 index 0000000..82a36ae --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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<string>|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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderGeometry.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderGeometry.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderGeometry.as new file mode 100644 index 0000000..6ba4aff --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderLocationType.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderLocationType.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderLocationType.as new file mode 100644 index 0000000..f1b6379 --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderResult.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderResult.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderResult.as new file mode 100644 index 0000000..300d662 --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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<string>|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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderStatus.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderStatus.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GeocoderStatus.as new file mode 100644 index 0000000..07b0817 --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GroundOverlay.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GroundOverlay.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/GroundOverlay.as new file mode 100644 index 0000000..e82daa6 --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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<?,string>|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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ImageMapType.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ImageMapType.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/ImageMapType.as new file mode 100644 index 0000000..afd2704 --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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<?,string>|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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/InfoWindow.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/InfoWindow.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/InfoWindow.as new file mode 100644 index 0000000..99df034 --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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<?,string>|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<?,string>|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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlAuthor.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlAuthor.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlAuthor.as new file mode 100644 index 0000000..57472e4 --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlFeatureData.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlFeatureData.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlFeatureData.as new file mode 100644 index 0000000..4730d83 --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlLayer.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlLayer.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlLayer.as new file mode 100644 index 0000000..75b4595 --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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<?,string>|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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlLayerMetadata.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlLayerMetadata.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlLayerMetadata.as new file mode 100644 index 0000000..c224108 --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlLayerStatus.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlLayerStatus.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlLayerStatus.as new file mode 100644 index 0000000..e21bcb9 --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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/69cacfc4/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlMouseEvent.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlMouseEvent.as b/frameworks/projects/GoogleMaps/src/main/flex/google/maps/KmlMouseEvent.as new file mode 100644 index 0000000..2fe0883 --- /dev/null +++ b/frameworks/projects/GoogleMaps/src/main/flex/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; + +} +}
