Lost position when mouse draging map

المشرف العام

Administrator
طاقم الإدارة
Set extent to view:

var view = new ol.View({ projection: 'EPSG:3857', center: center, zoom: 11, minZoom: 11, extent : [ LeftPointX, LeftPointY, RightPointX, RightPointY ], maxZoom: 16 });When I zoom map on left corner areas and trying to drag map, the position when I focused is lost. Map goes to another coordinate. When I remove view.extent It works normaly.

Examples here:

  1. http://jsfiddle.net/umid/x4m4g1wg/2/

أكثر...
 
أعلى