update docs
This commit is contained in:
parent
b960ef3ea4
commit
abc6e948e0
1 changed files with 40 additions and 40 deletions
|
@ -1,13 +1,11 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
/*@
|
/*@
|
||||||
Ox.Map <f:Ox.Element> Basic map object
|
Ox.Map <f> Basic map object
|
||||||
# DESCRIPTION --------------------------------------------------------------
|
# DESCRIPTION --------------------------------------------------------------
|
||||||
<code>Ox.Map</code> is a wrapper around the
|
<code>Ox.Map</code> is a wrapper around the
|
||||||
<a href="http://code.google.com/apis/maps/documentation/javascript/">Google
|
<a href="http://code.google.com/apis/maps/documentation/javascript/">Google
|
||||||
Maps API</a>.
|
Maps API</a>.
|
||||||
# USAGE --------------------------------------------------------------------
|
|
||||||
([options[, self]]) -> <o> Map object
|
|
||||||
# ARGUMENTS ----------------------------------------------------------------
|
# ARGUMENTS ----------------------------------------------------------------
|
||||||
options <o|{}> options
|
options <o|{}> options
|
||||||
clickable <b|false> If true, clicking on the map finds a place
|
clickable <b|false> If true, clicking on the map finds a place
|
||||||
|
@ -38,44 +36,46 @@ Ox.Map <f:Ox.Element> Basic map object
|
||||||
showZoombar <b|false> If true, the map has a zoombar
|
showZoombar <b|false> If true, the map has a zoombar
|
||||||
zoomOnlyWhenFocused <b|false> If true, scroll-zoom only when focused
|
zoomOnlyWhenFocused <b|false> If true, scroll-zoom only when focused
|
||||||
self <o|{}> Shared private variable
|
self <o|{}> Shared private variable
|
||||||
# EVENTS -------------------------------------------------------------------
|
# USAGE --------------------------------------------------------------------
|
||||||
addplace <!> Fires when a place has been added
|
([options[, self]]) -> <o:Ox.Element> Map object
|
||||||
place <o> Place object
|
# EVENTS ---------------------------------------------------------------
|
||||||
editplace <!> Fires when a place has been edited
|
addplace <!> Fires when a place has been added
|
||||||
place <o> Place object
|
place <o> Place object
|
||||||
geocode <!> Fires when a google geocode request returns
|
editplace <!> Fires when a place has been edited
|
||||||
latLng <o|u> Query coordinates, or undefined
|
place <o> Place object
|
||||||
lat <n> latitude
|
geocode <!> Fires when a google geocode request returns
|
||||||
lng <n> longitude
|
latLng <o|u> Query coordinates, or undefined
|
||||||
address <s|u> Query string, or undefined
|
lat <n> latitude
|
||||||
results <[o]> Google Maps geocode results
|
lng <n> longitude
|
||||||
address_components <[o]> Address components
|
address <s|u> Query string, or undefined
|
||||||
long_name <s> Long name
|
results <[o]> Google Maps geocode results
|
||||||
short_name <s> Short name
|
address_components <[o]> Address components
|
||||||
|
long_name <s> Long name
|
||||||
|
short_name <s> Short name
|
||||||
|
types <[s]> Types (like "country" or "political")
|
||||||
|
formatted_address <s> Formatted address
|
||||||
|
geometry <o> Geometry
|
||||||
|
bounds <o> Bounds
|
||||||
|
northEast <o> North-east corner
|
||||||
|
lat <n> Latitude
|
||||||
|
lng <n> Longitude
|
||||||
|
southWest <o> South-west corner
|
||||||
|
lat <n> Latitude
|
||||||
|
lng <n> Longitude
|
||||||
|
location <o> Location
|
||||||
|
lat <n> Latitude
|
||||||
|
lng <n> Longitude
|
||||||
|
location_type <s> Location type (like "APPROXIMATE")
|
||||||
|
viewport <o> Viewport
|
||||||
|
northEast <o> North-east corner
|
||||||
|
lat <n> Latitude
|
||||||
|
lng <n> Longitude
|
||||||
|
southWest <o> South-west corner
|
||||||
|
lat <n> Latitude
|
||||||
|
lng <n> Longitude
|
||||||
types <[s]> Types (like "country" or "political")
|
types <[s]> Types (like "country" or "political")
|
||||||
formatted_address <s> Formatted address
|
selectplace <!> Fires when a place has been selected or deselected
|
||||||
geometry <o> Geometry
|
place <o> Place object
|
||||||
bounds <o> Bounds
|
|
||||||
northEast <o> North-east corner
|
|
||||||
lat <n> Latitude
|
|
||||||
lng <n> Longitude
|
|
||||||
southWest <o> South-west corner
|
|
||||||
lat <n> Latitude
|
|
||||||
lng <n> Longitude
|
|
||||||
location <o> Location
|
|
||||||
lat <n> Latitude
|
|
||||||
lng <n> Longitude
|
|
||||||
location_type <s> Location type (like "APPROXIMATE")
|
|
||||||
viewport <o> Viewport
|
|
||||||
northEast <o> North-east corner
|
|
||||||
lat <n> Latitude
|
|
||||||
lng <n> Longitude
|
|
||||||
southWest <o> South-west corner
|
|
||||||
lat <n> Latitude
|
|
||||||
lng <n> Longitude
|
|
||||||
types <[s]> Types (like "country" or "political")
|
|
||||||
selectplace <!> Fires when a place has been selected or deselected
|
|
||||||
place <o> Place object
|
|
||||||
# EXAMPLES -----------------------------------------------------------------
|
# EXAMPLES -----------------------------------------------------------------
|
||||||
<script>
|
<script>
|
||||||
// simple
|
// simple
|
||||||
|
|
Loading…
Reference in a new issue