PhotoAlbum Application Download Support Developer Guide
Skins:
Resources/Beans Handling
Ajax Miscellaneous
Usage
Tag Information

rich:virtualEarth presents a dynamically generated map based on the Microsoft Virtual Earth API. API is a pure Javascript library. So, you do not need to have any external program or plugin installed to make it working. The component allows to place the map on a page and define the initial parameters for it. You can use the Virtual Earth SDK to manipulate with the map after that. The following links helps you to be familiar to this technology:

VirtualEarth example
Dashboard:
Remove Show

Type:
Road Aerial Hybrid Birdseye

Zoom:
In Out


View Source

var attribute define a javascript variable you can use then as a reference to the map from your custom javascript.

lat and lng attributes define the initial latitude and longitude of the center of the map.

zoom attributes define the initial zoom. The available range from 1 to 19 (close look). The maximum might depend of the location.

mapStyle attributes define the initial map style. The available values for this attribute are "Road","Aerial","Hybrid","Birdseye". "Birdseye", they are available for the limited number of locations only.

Use style attribute to define the size of the map. For example, style="width:600px;height:400px".

Virtual Earth does not support xhtml format of the page. Thus, if you use Facelets and JSF 1.2, do not forget <f:view contentType="text/html"> somewhere on the page. To avoid re-initialization, do not re-render the component during Ajax updates.

RichFaces Wiki RichFaces Project Site