Author: smukhina
Date: 2007-08-31 05:29:53 -0400 (Fri, 31 Aug 2007)
New Revision: 2636
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/virtualEarth/usage.xhtml
Log:
http://jira.jboss.com/jira/browse/RF-524
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/virtualEarth/usage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/virtualEarth/usage.xhtml 2007-08-31
00:41:00 UTC (rev 2635)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/virtualEarth/usage.xhtml 2007-08-31
09:29:53 UTC (rev 2636)
@@ -8,11 +8,11 @@
<ui:composition template="/templates/component-sample.xhtml">
<ui:define name="sample">
- <p>rich:virtualEarth presents the dynamically generated map based on the
+ <p>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 the page and define the initial parameters for it. You
- can use the Virtual Earth SDK to manipulate with map after that. The folowing links
+ 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:
<ul>
<li> <a
href="http://dev.live.com/virtualearth/sdk/"
target="_blank">
@@ -35,27 +35,27 @@
</div>
<p>
- <b>var</b> attribute define the javascript variable you can use then as a
reference to the
+ <b>var</b> attribute define a javascript variable you can use then as a
reference to the
map from your custom javascript.
</p>
<p>
- <b>lat</b> and <b>lng</b> attributes define the initial
latitude and longitud of the
+ <b>lat</b> and <b>lng</b> attributes define the initial
latitude and longitude of the
center of the map.
</p>
<p>
- <b>zoom</b> attributes define the initial zoom. The available range from 1
to
- 19 (close look). The maximum might depends of the location.
+ <b>zoom</b> attributes define the initial zoom. The available range from 1
to
+ 19 (close look). The maximum might depend of the location.
</p>
<p>
- <b>mapStyle</b> attributes define the initial map style. The available
value for this
- attribute are
"Road","Aerial","Hybrid","Birdseye".
"Birdseye" is available for the limited
- number of location only.
+ <b>mapStyle</b> 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.
</p>
<p>
Use <b>style</b> attribute to define the size of the map. For example,
style="width:600px;height:400px".
</p>
<p>
- Virtual Earth does not support xhtml format of the page. So, if you use Facelets
+ 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.