I have a question. I need to know the actual map scale of the open layers
$scope.refreshMap = function (lat, long) {
map.setView(new ol.View({
projection: 'EPSG:4326',
center: [long, lat],
zoom: "here I do not know what to put"
}));
};
I am trying to use map.getZoom(), but it does not work. logcat throws me
Uncaught TypeError: Object
I am using openlayers Version: v3.16.0
source
share