[NAME]
Rococo.rccgm.init - initialization called automatically
[SYMPOSIS]
Rococo.rccgm.init();
[DESCRIPTION]
[NOTICE]
This method is called automatically. Do not call manually.
[NAME]
Rococo.rccgm.Rccgm - ROCOCO Google Maps Object
[TYPE]
constractor
[SYMPOSIS]
object = new Rococo.rccgm.Rccgm(element,options,constraction);
[ARGUMENTS]
element : element for root element
options : ROCOCO Google Maps options as bellow:
lang
lat, lon : home position
type : GMAPTYPE
cmark : Center Marker Settings including following properties:
visible : initial visibility
url : URL for Center Marker image file
width, height : size of Center Marker (pixels)
center_x, center_y : Center Position of Center Marker
mousewheel : switch mousewheel activation
position: css position property of root element (default: if IE6 "static" , otherwise "relative" )
mapw, maph : map size (px) at first, both of them are available if both of them are set and positive numeric value.
mapcontrol: 0=none, 1=small, 2=large (2 as default)
typecontrol: true/false (true as default)
constraction : indicates constraction mode as bellow:
1 - topMenu
2 - map
3 - topMenu and map
[NAME]
Rococo.rccgm.Rccgm.prototype.showAlert - show alert
[TYPE]
function
[SYMPOSIS]
rccgm.showAlert( [title, [lines, [type, [listener]]]]);
[ARGUMENTS]
rccgm : ROCOCO Google Maps object
title : title text of alert
lines : text viewed in Alert. text is a part of HTML ( but it is not html element because each line is appended 'p' element )
type : type of form :
'simple' - only one button to close and continue
'confirm' - 'accept' to close and continue, and 'decline' to close
('simple' as default)
listeners : array of listeners whose element is the hash including 'type' and 'handler'.
'type' value is now available bellow:
'accept' : 'ACCEPT' button is clicked.
'decline' : 'DECLINE' button is clicked.
'close' : alert is closed;
if 'confirm' mode handled after 'accept' or 'decline' events handled,
if not 'confirm' mode, handled only this.
[NAME]
Rococo.rccgm.Rccgm.prototype.getChild - get child of root element
[TYPE]
function
[SYMPOSIS]
rccgm.getChild(subid);
[ARGUMENTS]
rccgm : ROCOCO Google Maps object
subid : identifier for Menu
[NAME]
Rococo.rccgm.Rccgm.prototype.setChild - set child of root element
[TYPE]
function
[SYMPOSIS]
rccgm.setChild(subid,element)
[ARGUMENTS]
rccgm : ROCOCO Google Maps object
subid : identifier for Menu
element : element to be set
[NAME]
Rococo.rccgm.Rccgm.prototype.appendTopMenu - create and append menus to top menu along settings
[TYPE]
function
[SYMPOSIS]
rccgm.appendTopMenu (settings)
[ARGUMENTS]
rccgm : ROCOCO Google Maps object
settings : menu item settings (see Rococo.rccgm.Rccgm).
[NAME]
Rococo.rccgm.Rccgm.prototype.createMap - create the GMap2 object
[TYPE]
function
[SYMPOSIS]
rccgm.createMap()
[ARGUMENTS]
rccgm : ROCOCO Google Maps object
[NAME]
Rococo.rccgm.Rccgm.prototype.setMapSize - set size of the map
[TYPE]
function
[SYMPOSIS]
rccgm.setMapSize(size)
[ARGUMENTS]
rccgm : ROCOCO Google Maps object
size : size hash including 'width'(px) and 'height'(px)
[NAME]
Rococo.rccgm.Rccgm.prototype.setCmarkVisible(visible) - change visibility of the center marker
[TYPE]
function
[SYMPOSIS]
rccgm.setCmarkVisible(visible);
[ARGUMENTS]
rccgm : ROCOCO Google Maps object
visibile: visibility of the center marker
[NAME]
Rococo.rccgm.Rccgm.prototype.changeCmarkVisible - change visibility of the center marker by 'cmark' checkbox at the top menu
[TYPE]
function
[SYMPOSIS]
rccgm.changeCmarkVisible ();
[ARGUMENTS]
rccgm : ROCOCO Google Maps object
[NAME]
Rococo.rccgm.Rccgm.prototype.setMouseWheelEnable - change mousewheel checkbox at top menu
[TYPE]
function
[SYMPOSIS]
rccgm.setMouseWheelEnable();
[DESCRIPTION]
The value of mousewheel checkbox is got at mousewheel event handler.
[ARGUMENTS]
rccgm : ROCOCO Google Maps object
[NAME]
Rococo.rccgm.Rccgm.prototype.changeMapSize - change size of map by 'size' at the top menu
[TYPE]
function
[SYMPOSIS]
rccgm.changeMapSize();
[ARGUMENTS]
rccgm : ROCOCO Google Maps object
[NOTICE]
If topmenu has not view/size menuitem, changeMapSize() tries to maintain map size with getCssProperty()
[SEE ALSO]
Rococo.em.getCssProperty
[NAME]
Rococo.rccgm.Rccgm.prototype. - change the center position of map by 'lat' and 'lon' at the top menu
[TYPE]
function
[SYMPOSIS]
rccgm.chagenMapCenter();
[ARGUMENTS]
rccgm : ROCOCO Google Maps object
[NAME]
Rococo.rccgm.Rccgm.prototype.changeScrollWheelEnabled - Changes whether scroll wheel enabled. Usually called by Rococo.rccgm.Rccgm.prototype.setMouseWheelEnable .
[TYPE]
function
[SYMPOSIS]
rccgm.changeScrollWheelEnabled():
[NAME]
Rococo.rccgm.Rccgm.prototype.onMouseWheel - on scroll by mousewheel
[TYPE]
function (event handler)
[SYMPOSIS]
rccgm.onMouseWheel(event):
[ARGUMENTS]
rccgm : ROCOCO Google Maps object
event : event object
[NAME]
Rococo.rccgm.Rccgm.prototype.onMapMove - on move map
[TYPE]
function (event handler)
[SYMPOSIS]
rccgm.onMapMove();
[ARGUMENTS]
rccgm : ROCOCO Google Maps object
[NAME]
Rococo.rccgm.Rccgm.prototype.onGotJPGeocode - on got JPgeocode result
[TYPE]
function (event handler)
[SYMPOSIS]
rccgm.onGotJPGeocode(status,res);
[ARGUMENTS]
rccgm : ROCOCO Google Maps object
status : returned status
res : result object
[NAME]
Rococo.rccgm.Rccgm.prototype.onChangePref - on change prefecture list
[TYPE]
function (event handler)
[SYMPOSIS]
rccgm.onChangePref();
[ARGUMENTS]
rccgm : ROCOCO Google Maps object
[NAME]
Rococo.rccgm.Rccgm.prototype.onGotMncpl - on got municipality list
[TYPE]
function (event handler)
[SYMPOSIS]
rccgm.onGotMncpl(status,res);
[ARGUMENTS]
rccgm : ROCOCO Google Maps object
status : returned status
res : result object
[NAME]
Rococo.rccgm.Rccgm.prototype.onChangeMncpl - on change municipality list
[TYPE]
function (event handler)
[SYMPOSIS]
rccgm.onChangeMncpl();
[ARGUMENTS]
rccgm : ROCOCO Google Maps object