Built-In Namespace _global_
Field Attributes | Field Name and Description |
---|---|
An object to manage the saved location select box.
|
Method Attributes | Method Name and Description |
---|---|
addSelectedMarker(GLatLng, object)
Add a marker and select it.
|
|
Note that changes have been successfully saved.
|
|
createMarker(LatLonPoint, GeoMashupAddress)
Create a new marker and select it if there is no selected marker.
|
|
GeoAddress(init_data)
An object prototype for managing data associated with a location.
|
|
handleClick(LatLon, map, args)
Handle a click on the map.
|
|
init()
Initialize the interface when the document and Maps API
are ready.
|
|
searchForLocations(string|LatLonPoint)
Use geocoding services to search for a location.
|
|
searchKey(object, string)
Handle keypresses in the search textbox.
|
|
selectMarker(GMarker)
Select a marker as the desired location.
|
|
setInputs(GLatLng, GeoMashupLocation)
Update form elements with current location information.
|
|
showAddresses(object, status)
Display the results of a geocode request.
|
|
showGeoNames(object)
Display the results of a Geonames search request.
|
|
Parse out a new selected location.
|
Field Detail
GeoMashupLocationEditor
Defined in: location-editor.js.
- Deprecated:
- GeoMashupLocationEditor The camel case name is against convention, since it is not a constructor, and is deprecated. Use geo_mashup_location_editor.
saved_selector
An object to manage the saved location select box.
Defined in: location-editor.js.
Defined in: location-editor.js.
Method Detail
addSelectedMarker(GLatLng, object)
Add a marker and select it.
Defined in: location-editor.js.
Defined in: location-editor.js.
- Parameters:
- GLatLng
- latlng The coordinates for the marker.
- object
- selection Optional init data for a GeoAddress.
clearHaveUnsavedChanges()
Note that changes have been successfully saved.
Defined in: location-editor.js.
Defined in: location-editor.js.
createMarker(LatLonPoint, GeoMashupAddress)
Create a new marker and select it if there is no selected marker.
Defined in: location-editor.js.
Defined in: location-editor.js.
- Parameters:
- LatLonPoint
- latlng The coordinates of the marker.
- GeoMashupAddress
- loc The related Geo Mashup location info.
GeoAddress(init_data)
An object prototype for managing data associated with a location.
Defined in: location-editor.js.
Defined in: location-editor.js.
- Parameters:
- init_data
handleClick(LatLon, map, args)
Handle a click on the map.
Defined in: location-editor.js.
Defined in: location-editor.js.
- Parameters:
- LatLon
- latlon The location of a non-overlay click.
- map
- args
init()
Initialize the interface when the document and Maps API
are ready.
Defined in: location-editor.js.
Defined in: location-editor.js.
searchForLocations(string|LatLonPoint)
Use geocoding services to search for a location.
The search map is cleared and loaded with results.
Defined in: location-editor.js.
Defined in: location-editor.js.
- Parameters:
- string|LatLonPoint
- search Name, address, coordinates, etc.
searchKey(object, string)
Handle keypresses in the search textbox.
Defined in: location-editor.js.
Defined in: location-editor.js.
- Parameters:
- object
- e Event.
- string
- search_text Current contents of the textbox.
selectMarker(GMarker)
Select a marker as the desired location.
Defined in: location-editor.js.
Defined in: location-editor.js.
- Parameters:
- GMarker
- marker The marker to select.
setInputs(GLatLng, GeoMashupLocation)
Update form elements with current location information.
Defined in: location-editor.js.
Defined in: location-editor.js.
- Parameters:
- GLatLng
- latlng The current location coordinates.
- GeoMashupLocation
- loc The related Geo Mashup location info.
showAddresses(object, status)
Display the results of a geocode request.
Defined in: location-editor.js.
Defined in: location-editor.js.
- Parameters:
- object
- response The query response data.
- status
showGeoNames(object)
Display the results of a Geonames search request.
Defined in: location-editor.js.
Defined in: location-editor.js.
- Parameters:
- object
- data The query response data.
updateSelection()
Parse out a new selected location.
Defined in: location-editor.js.
Defined in: location-editor.js.