public class CCGoogleMapMarker extends AjaxDynamicElement
CCGoogleMapMarker replaces AjaxGmapMarker and will allow you to easily insert one or more google markers inside a CCGoogleMap, CCGoogleMapMarker tag can be added everywhere in the page
CCGoogleMapMarker will also insert an html Address element on the page, the content of CCGoogleMapMarker wil be copied inside the ballon thet people wil see clicking on the marker if you don't want the address element to be shown on page simply set display none using css (id, class or style)
Name | Description |
---|---|
id | the id of the address element that CCGoogleMapMarker will generate |
class | the class of the address element |
style | the style of the address element |
googleMapId | REQUIRED the id of the google map where you want the marker to be placed |
the | address of the marked, formatted for google, like: 1 Infinite Loop, Cupertino CA, United States |
lat | the latidude of the marker. if lat and lng are specified they will override the address lookup |
lng | the longitude of the marker. if lat and lng are specified they will override the address lookup |
ERXDynamicElement.ContextData<T>
log
Constructor and Description |
---|
CCGoogleMapMarker(String name,
NSDictionary<String,com.webobjects.appserver.WOAssociation> someAssociations,
com.webobjects.appserver.WOElement children) |
Modifier and Type | Method and Description |
---|---|
protected void |
addRequiredWebResources(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
Override this method to append the needed scripts for this component.
|
void |
appendToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
Overridden to call
AjaxDynamicElement.addRequiredWebResources(WOResponse, WOContext) . |
com.webobjects.appserver.WOActionResults |
handleRequest(com.webobjects.appserver.WORequest request,
com.webobjects.appserver.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 CCGoogleMapMarker(String name, NSDictionary<String,com.webobjects.appserver.WOAssociation> someAssociations, com.webobjects.appserver.WOElement children)
public void appendToResponse(com.webobjects.appserver.WOResponse response, com.webobjects.appserver.WOContext context)
AjaxDynamicElement
AjaxDynamicElement.addRequiredWebResources(WOResponse, WOContext)
.appendToResponse
in class AjaxDynamicElement
response
- the current responsecontext
- context of the transactionprotected void addRequiredWebResources(com.webobjects.appserver.WOResponse response, com.webobjects.appserver.WOContext context)
AjaxDynamicElement
addRequiredWebResources
in class AjaxDynamicElement
response
- the current responsecontext
- context of the transactionpublic com.webobjects.appserver.WOActionResults handleRequest(com.webobjects.appserver.WORequest request, com.webobjects.appserver.WOContext context)
AjaxDynamicElement
handleRequest
in interface IAjaxElement
handleRequest
in class AjaxDynamicElement
request
- the current requestcontext
- context of the transactionCopyright © 2002 – 2020 Project Wonder.