@Deprecated public class AjaxGMap extends AjaxComponent
ajax.google.maps.apiKey.| Bindings | |
id | the id of the div that the map is rendered into. If none is given, a unique id will be generated. This is also the name of the map javascript object, which can be accessed after the map has been instantiated. |
address | The address that the map will be centered on at load. |
lng | longitude for map center (must be paired with lat, cannot coexist with address) |
lat | latitude for map center (must be paired with lng, cannot coexist with address) |
width | the width of the map (does not have to be specified here, but must be specified somewhere [ie. css]) |
height | the height of the map (does not have to be specified here, but must be specified somewhere [ie. css]) |
control | control type name. Will automatically append a 'G' before and 'Control' after the name given, possible values here: http://www.google.com/apis/maps/documentation/reference.html#GControlImpl |
zoomLevel | zoom level of map (will default to 13 is not specified). Higher is closer. |
apiKey | apiKey to use for the map, if you want to ovverride the property below |
| Properties | |
ajax.google.maps.apiKey | an api key you can get from http://www.google.com/apis/maps/ . If your app runs on http://ip:port/cgi-bin/WebObjects/GoogleMaps.woa, register the key for http://ip:port/cgi-bin/WebObjects/ . Using a fixed WO port is recommended (unless you want to get a new api key everytime you restart your server). AjaxGMaps will not work without an Api Key. |
WOComponent._EventLoggingEnabler, WOComponent.EventNSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.UtilityNSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessorNSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException_Extension, _IsEventLoggingEnabled, _keyAssociations_CLASS_CLASS, _KeyPathSeparatorChar, KeyPathSeparatorNullValue_CLASS| Constructor and Description |
|---|
AjaxGMap(WOContext context)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addRequiredWebResources(WOResponse response)
Deprecated.
Override this method to append the needed scripts for this component.
|
protected java.lang.String |
apiKey()
Deprecated.
|
WOActionResults |
handleRequest(WORequest request,
WOContext context)
Deprecated.
Override this method to return the response for an Ajax request.
|
java.lang.String |
id()
Deprecated.
|
java.lang.String |
mapContainerStyle()
Deprecated.
|
boolean |
synchronizesVariablesWithBindings()
Deprecated.
|
_containerID, addScriptResourceInHead, addScriptResourceInHead, addStylesheetResourceInHead, addStylesheetResourceInHead, appendTagAttributeToResponse, appendToResponse, booleanValueForBinding, invokeAction, safeElementID, shouldHandleRequest, valueForBinding, valueForBinding, valueForBinding__valueForBinding, _associationWithName, _awakeInContext, _childTemplate, _cleanUpStatelessComponent, _componentDefinition, _componentUnroll, _isPage, _setContext, _setIsPage, _setParent, _setSubcomponent, _sleepInContext, _subcomponentForElementWithID, _templateNameForClass, _unroll, application, awake, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, isCachingEnabled, isEventLoggingEnabled, isStateless, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, reset, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, setVariableValueForName, sleep, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding, variableValueForName, variableWithNamepublic AjaxGMap(WOContext context)
public boolean synchronizesVariablesWithBindings()
synchronizesVariablesWithBindings in class WOComponentprotected void addRequiredWebResources(WOResponse response)
AjaxComponentaddRequiredWebResources in class AjaxComponentresponse - the response to write topublic java.lang.String id()
protected java.lang.String apiKey()
public WOActionResults handleRequest(WORequest request, WOContext context)
AjaxComponenthandleRequest in interface IAjaxElementhandleRequest in class AjaxComponentrequest - the requestcontext - the contextpublic java.lang.String mapContainerStyle()
Copyright © 2002 – 2022 Project Wonder.