Database Reference
In-Depth Information
How it works...
You have seen how to create a web map viewer with the OpenLayers JavaScript
library. This library lets the developer define the various map components, using
JavaScriptinanHTMLpage.Thecoreobjectisamapthatiscomposedof
controls
and
layers
.
OpenLayerscomeswithagreatnumberofcontrols(
http://dev.openlayers.org/docs/
files/OpenLayers/Control-js.html
)
, and it is even possible to create custom ones.
AnothergreatOpenLayersfeatureistheabilitytoaddagoodnumberofgeographic
datasourcesaslayersinthemap(youaddedjustacoupleofitstypestothemap,
suchasGooglev3andWMS),andyoucouldaddsourcessuchasWFS,GML,KML,
GeoRSS,OpenStreetMapdata,ArcGISRest,TMS,WMTS,andWorldWind,justto
name a few.