(point)
| 2857 | } |
| 2858 | |
| 2859 | _unproject(point) { |
| 2860 | const sourceProjection = this._unprojectProjection || this.baseProjection; |
| 2861 | if (sourceProjection === 'EPSG:4326') { |
| 2862 | return point; |
| 2863 | } |
| 2864 | const coor = transformCoodinates({ coordinates: point, sourceProjection, proj4: this.specifiedProj4 }); |
| 2865 | // const proj = getProjection(sourceProjection, this.specifiedProj4); |
| 2866 | // if (isReverse && proj.axis && proj.axis.indexOf('ne') === 0) { |
| 2867 | // coor.reverse(); |
| 2868 | // } |
| 2869 | return coor; |
| 2870 | } |
| 2871 | |
| 2872 | _getMapCenter(mapInfo) { |
| 2873 | // center |
no test coverage detected