i can not publish my openlayers map, and i dont know why

المشرف العام

Administrator
طاقم الإدارة
here is a script that i wrote through openlayers to publish my map but my problem is that others can see it also i cant integrate it to any webpage. any help?? new test var map = new OpenLayers.Map('map'); var Open_Layers = new OpenLayers.Layer.WMS( "OpenLayers WMS", "http://vmap0.tiles.osgeo.org/wms/vmap0", {layers:'basic'}, {displayInLayerSwitcher:'true'}); var bih_poligon = new OpenLayers.Layer.WMS( "Border of BiH", "http://localhost:8080/geoserver/Housing/wms?layers=bih_poligon", {transparent:'true'});
map.addLayers([Open_Layers,bih_poligon]); map.zoomToMaxExtent(); var overview = new OpenLayers.Control.OverviewMap(); map.addControl(overview); var scaleline = new OpenLayers.Control.ScaleLine(); map.addControl(scaleline); var layer_switcher = new OpenLayers.Control.LayerSwitcher(); map.addControl(layer_switcher); var mouse_position = new OpenLayers.Control.MousePosition(); map.addControl(mouse_position); var pan_panel = new OpenLayers.Control.PanPanel(); map.addControl(pan_panel); var zoom_panel = new OpenLayers.Control.ZoomPanel(); map.addControl(zoom_panel);



أكثر...
 
أعلى