Problem with Openlayers overview Map

Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Problem with Openlayers overview Map

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



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 the OpenLayers Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/openlayers-users