GNavLabelControl()

An undocumented control element since v2.141. It shows some reverse geocode information of map viewport.

It gives valuable information especially for lost satellite surfers.

Play with it. Keep the map moving or it will fade out. The labels are clickable.

The map type control of this page was positioned lower to make room for the NavLabel.

DOM

The main html elements of GNavLabelControl() have some #id and .class attributes. Those 1px high divs are presumably used for making those fancy rounded corners.

VersionControl()

See the tiny version number label bottom left above the GoogleBar. It just makes G_API_VERSION visible.

It is a simple custom GControl().

Set the single optional parameter to true, and make your own styling by CSS class "api-version-display".

More experiments

-

/**
 * Api version display as a custom GControl()
 * @author Esa 2009
 */
function VersionControl(opt_no_style){
  this.noStyle = opt_no_style;
};
VersionControl.prototype = new GControl();
VersionControl.prototype.initialize = function(map) {
  var display = document.createElement("div");
  map.getContainer().appendChild(display);
  display.innerHTML = "2."+G_API_VERSION;
  display.className = "api-version-display";
  if(!this.noStyle){
    display.style.fontFamily = "Arial, sans-serif";
    display.style.fontSize = "11px";
  }
  this.htmlElement = display;
  return display;
}
VersionControl.prototype.getDefaultPosition = function() {
  return new GControlPosition(G_ANCHOR_BOTTOM_LEFT, new GSize(3, 38));
}