Adding a basic map to your page

A basic map shows nothing more than a map of the world in the size that is given with the parameters.
API

Screenshot

Code

Single Page

This must be a full webpage! Don't forget the <html> and <body> tags!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:rd="http://www.realdolmen.com/mapface">
<head>
<title>Test MapFace</title>
</head>
<body>
	<rd:map mapId="map_canvas" width="700px" height="600px" key="abcdefg" />
</body>
</html>

With facelets template

The template must have the <html> and <body> tags!

Template

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">
	<head>
		<title>Example MapFace</title>
	</head>
	<body>
		<ui:insert name="content">Content</ui:insert>
	</body>
</html>

Page with map

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:rd="http://www.realdolmen.com/mapface"
	template="./template/template.xhtml">
	
	<ui:define name="content">
		<rd:map mapId="map_canvas" width="700px" height="600px" key="abcdefg"/>
	</ui:define>
</ui:composition>