Package | com.google.maps.services |
Class | public class ClientGeocoderOptions |
Property | Defined by | ||
---|---|---|---|
countryCode : String
The countryCode for geocoding queries.
| ClientGeocoderOptions | ||
language : String
The language for geocoding queries.
| ClientGeocoderOptions | ||
viewport : LatLngBounds
The viewport for geocoding queries.
| ClientGeocoderOptions |
Method | Defined by | ||
---|---|---|---|
ClientGeocoderOptions(param:Object = null)
Constructs a new ClientGeocoderOptions object, optionally initializing
it from an object.
| ClientGeocoderOptions | ||
toString():String
Returns a String representation of this object.
| ClientGeocoderOptions |
countryCode | property |
countryCode:String
[read-write]The countryCode for geocoding queries. This is specified as a standard two-letter country code, for example "US", "DE". When omitted, the browser's preferred language setting is used.
Implementation public function get countryCode():String
public function set countryCode(value:String):void
language | property |
language:String
[read-write]The language for geocoding queries. This is specified as a standard two letter language code, for example "en", "fr". When omitted, the browser's preferred language setting is used.
Implementation public function get language():String
public function set language(value:String):void
viewport | property |
viewport:LatLngBounds
[read-write]The viewport for geocoding queries. The geocoder will attempt only to return results which lie within or near the viewport.
Implementation public function get viewport():LatLngBounds
public function set viewport(value:LatLngBounds):void
ClientGeocoderOptions | () | constructor |
public function ClientGeocoderOptions(param:Object = null)
Constructs a new ClientGeocoderOptions object, optionally initializing it from an object.
Parametersparam:Object (default = null ) — An initialization object containing a set of
values that supplement the default set.
|
var options:ClientGeocoderOptions = new ClientGeocoderOptions({ language: 'en', countryCode: 'CA' });
toString | () | method |
public function toString():String
Returns a String representation of this object.
ReturnsString — String representation of this object.
|