Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {HTML()}
- <STYLE TYPE="text/css">
- <!--
- @import url(map/style/style.css);
- -->
- </STYLE>
- {HTML}
- {JS(file="http://openlayers.org/api/OpenLayers.js")}{JS}
- {JS()}
- var map, layer;
- function init(){
- /* OpenLayers.ProxyHost="/proxy/?url="; */
- map = new OpenLayers.Map('map');
- layer = new OpenLayers.Layer.WMS( "OpenLayers WMS",
- "http://labs.metacarta.com/wms/vmap0", {layers: 'basic'} );
- map.addLayer(layer);
- var newl = new OpenLayers.Layer.Text( "text", {location: "map/mfi-locations.txt"} );
- map.addLayer(newl);
- map.addControl(new OpenLayers.Control.LayerSwitcher());
- map.zoomToMaxExtent();
- }
- {JS}
- {HTML()}
- <img src="map/img/mfi_logo.png" onload="init()">
- <h1 id="title">MindFreedom Groups</h1>
- <p id="shortdesc">
- Click on a marker for details. Mouse click on it again to close the popup.
- </p>
- <div id="map" class="smallmap"></div>
- {HTML}
Advertisement
Add Comment
Please, Sign In to add comment