Exhibit/OpenLayers Map View

Exhibit Reference Home &raquo;

This extension is under active development in the SIMILE widgets trunk. It may change while you use it. It is not yet available in the main service branch.

To use the OpenLayers maps in your Exhibit, you must include the map extension with the corresponding service type (after you include exhibit-api.js):

&lt;script src="http://trunk.simile-widgets.org/exhibit/api/extensions/map/map-extension.js?service=openlayers"&gt;&lt;/script&gt;

To include a map view, add to your HTML

&lt;div ex:role="view" ex:viewClass="OLMap" ex:latlng=".latlng"&gt; &lt;/div&gt;

Replace  with the appropriate expression for your Exhibit. The map defaults to the OpenStreetMap provider. Commercial services can be used as the initially viewed layer when the API and service key are included separately. They will be automatically included as layer options when the service API is determined to exist.

Other settings supported include: