public class CCGoogleMap extends AjaxDynamicElement
CCGoogleMap replaces AjaxGmap and will allow you to easily insert a google map inside your page
You must set the property ajax.google.maps.V3.apiKey in your Properties file
please note that is REQUIRED to set the widht height of the map, you can use id, class, or style to do that
Name | Description |
---|---|
id | the id of the div element that CCGoogleMap will generate |
class | the class of the div element |
style | the style of the div element |
zoom | the desidered map startup zoom level |
the | address of the marked, formatted for google, like: 1 Infinite Loop, Cupertino CA, United States |
lat | the latidude of the map center. if lat and lng are specified they will override the address lookup |
lng | the longitude of the map center. if lat and lng are specified they will override the address lookup |
type, | can be ROADMAP, SATELLITE, HYBRID or TERRAIN, default to ROADMAP. all uppercase string |
ERXDynamicElement.ContextData<T>
log
_children
_ConstructorParameters
Constructor and Description |
---|
CCGoogleMap(String aName,
NSDictionary someAssociations,
WOElement template) |
Modifier and Type | Method and Description |
---|---|
protected void |
addRequiredWebResources(WOResponse response,
WOContext context)
Override this method to append the needed scripts for this component.
|
void |
appendToResponse(WOResponse response,
WOContext context)
Overridden to call
AjaxDynamicElement.addRequiredWebResources(WOResponse, WOContext) . |
WOActionResults |
handleRequest(WORequest request,
WOContext context)
Override this method to return the response for an Ajax request.
|
_containerID, addScriptResourceInHead, addScriptResourceInHead, addStylesheetResourceInHead, addStylesheetResourceInHead, invokeAction, shouldHandleRequest
afterProcessing, appendTagAttributeToResponse, arrayValueForBinding, arrayValueForBinding, associations, beforeProcessing, bindingIsSettable, bindingNamed, booleanValueForBinding, booleanValueForBinding, hasBinding, id, integerValueForBinding, nameInContext, secureInContext, setValueForBinding, stringValueForBinding, stringValueForBinding, valueForBinding, valueForBinding
addChildElement, appendChildrenToResponse, childrenElements, EmptyGroup, hasChildrenElements, invokeChildrenAction, takeChildrenValuesFromRequest, takeValuesFromRequest, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
valueForBinding, valueForBinding
public CCGoogleMap(String aName, NSDictionary someAssociations, WOElement template)
public void appendToResponse(WOResponse response, WOContext context)
AjaxDynamicElement
AjaxDynamicElement.addRequiredWebResources(WOResponse, WOContext)
.appendToResponse
in class AjaxDynamicElement
response
- the current responsecontext
- context of the transactionprotected void addRequiredWebResources(WOResponse response, WOContext context)
AjaxDynamicElement
addRequiredWebResources
in class AjaxDynamicElement
response
- the current responsecontext
- context of the transactionpublic WOActionResults handleRequest(WORequest request, WOContext context)
AjaxDynamicElement
handleRequest
in interface IAjaxElement
handleRequest
in class AjaxDynamicElement
request
- the current requestcontext
- context of the transactionCopyright © 2002 – 2024 Project Wonder.