[OpenLayers-Users] Problem with Openlayers overview Map

TabrizSoftware Ali_Akhavan2 at yahoo.com
Mon Feb 25 06:34:06 PST 2019


Hi All,
I am using Latest openlayer version
I have a WMS Layers
My problem is overview map
it's show only a blue 

<http://osgeo-org.1560.x6.nabble.com/file/t378106/Blue_Page.png> 

var projection = new ol.proj.Projection({
          code: 'EPSG:4326',
          units: 'degrees',
          axisOrientation: 'neu',
          global: true
      });
      var map = new ol.Map({
        controls: ol.control.defaults({
          attribution: false
        }).extend([mousePositionControl]),
        target: 'map',
        layers: [
          untiled,
          tiled
        ],
        view: new ol.View({
           projection: projection
        })
      });
	  	  Map_Overview = new ol.control.OverviewMap({
		projection: projection,
						  layers :  [new ol.layer.Tile({
				source: new ol.source.OSM()
			})]
	  });
	  map.addControl(Map_Overview);




--
Sent from: http://osgeo-org.1560.x6.nabble.com/OpenLayers-Users-f3910695.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20190225/33dfd8f9/attachment.html>


More information about the Users mailing list