@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
1 lines • 843 B
JavaScript
;(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6129],{86129(e,t,n){n.r(t),n.d(t,{createProjectionTransformation:()=>s});var a=n(15756),r=(n(83661),n(95213),n(55537),n(79187));function s(e,t,n){let s,i;if(n?.geographicTransformation){if(n.geographicTransformation.steps?.length){const r=new a.I;r.setInputSpatialReference(e),r.setOutputSpatialReference(t);for(const e of n.geographicTransformation.steps){let t;t=e.wkid?(0,a.J)(e.wkid,e.isInverse):(0,a.K)(e.wkt,e.isInverse),r.add(t)}s=r.create()}else s=(0,a.L)();if(n.extendedParams){i=(0,a.m)();const{densificationStep:e}=n.extendedParams;null!=e&&(i.densificationStep=e)}}else if(n?.areaOfInterestExtent)return(0,a.b)(e,t,(o=n.areaOfInterestExtent,r.Envelope2D.construct(o.xmin,o.ymin,o.xmax,o.ymax)));var o;return s?(0,a.a)(e,t,s,i):(0,a.c)(e,t)}}}]);