File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -139,9 +139,8 @@ class MapDragHandler extends Handler {
139139 t = 5 * t ;
140140 const dscale = isTouch ? 5 : 2.8 ;
141141 const targetPrjCoord = currentCenter . add ( dxy . _multi ( dscale ) ) ;
142- map . _fixPrjOnWorldWide ( targetPrjCoord ) ;
143- const targetCoord = map . getProjection ( ) . unproject ( targetPrjCoord ) ;
144- map . panTo ( targetCoord , { 'duration' : isTouch ? t * 3 : t * 2 , 'easing' : 'outExpo' } ) ;
142+ // map._fixPrjOnWorldWide(targetPrjCoord);
143+ map . _panTo ( targetPrjCoord , { 'duration' : isTouch ? t * 3 : t * 2 , 'easing' : 'outExpo' } ) ;
145144 } else {
146145 map . onMoveEnd ( param ) ;
147146 }
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import UIComponent from './UIComponent';
1010
1111/**
1212 * @property {Object } options - construct options
13+ * @property {String } [options.containerClass=null] - css class name applied to UIMarker's DOM container
1314 * @property {Boolean } [options.draggable=false] - if the marker can be dragged.
1415 * @property {Number } [options.single=false] - if the marker is a global single one.
1516 * @property {String|HTMLElement } options.content - content of the marker, can be a string type HTML code or a HTMLElement.
You can’t perform that action at this time.
0 commit comments