IT:AD:JScript:Libs:OpenLayers
Links
Terms
A Map
is created, on which Layers
are surplanted.
Layers can be BaseLayer or Not. Most times BaseLayer = base Raster/Image.
On the image base layer, other layers are overlayed, of type,
Example
x
<html> <head> <title>OpenLayers Example</title> <script src="http://openlayers.org/api/OpenLayers.js"></script> <script defer="defer" type="text/javascript"> var map = new OpenLayers.Map('map'); var wms = new OpenLayers.Layer.WMS( "OpenLayers WMS", "http://vmap0.tiles.osgeo.org/wms/vmap0", {layers: 'basic'} ); map.addLayer(wms); map.zoomToMaxExtent(); </script> </head> <body> <callout icon="true" type="style="width:100%; height:100%" id="map""></callout> </body> </html>