Server-side and client-side events can be used to configure the Google Map Component when it is displayed.
When the Google Map component is run initially, server and client-side events fire in the following order: onComponentInitialize -> onComponentExecute -> onInitialRender
When an Ajax callback is made, events fire in the following order: canAjaxCallback -> onComponentExecute -> afterAjaxCallbackComplete
Like all user-defined components, the Google Map Component exposes several user-modifiable server-side events: onComponentInitialize, onComponentExecute, and onInitialRender, called in that order when the component is first run. When an ajax callback is made, the onComponentExecute event is called.
The HTML to render. Be careful not to overwrite the HTML already defined in e.html. e.html contains pre-calculated HTML for the Google Map component. You can add additional HTML to the e.html variable as follows: e.html = htmlBefore + e.html + htmlAfter.
Similarly, do not overwrite e.html, or the DIV that holds the map will not be created. If you wish to modify the DIV or toolbar HTML, edit the exposed HTML properties.
Fires the first time the Google Map component is run.
Fires every time the Google Map component is run.
Like all custom and user-defined components, the Google Map Component exposes the following user-modifiable client-side events:
Fires before an Ajax callback. If the function returns false, the callback will be aborted.
The name of the Xbasic function that will be called.
The Xbasic event that will be called.
Fire after an Ajax callback has completed.
The name of the Xbasic function that was executed in the callback.
The Xbasic event that was executed in the callback.
Fires after the Google Map component is completely initialized and all HTML has been rendered. It fires once when the Google Map component is first rendered. onInitializeComplete not fire on subsequent Ajax callbacks.
onInitializeComplete does not have any parameters.
Fires when events are loaded.
onEventsLoad does not have any parameters.
The last event to fire when the Google Map component is rendered.
onRenderComplete does not have any parameters.