Skip to content

Commit

Permalink
fix: add TerraDrawArcGISMapsSDKAdapter to terra-draw exports (#126)
Browse files Browse the repository at this point in the history
The Esri ArcGIS Maps SDK adapter added in #58 is not exported. This PR adds the export and updated the development/ app.

Co-authored-by: Joe Hawes <>
  • Loading branch information
morehawes authored Dec 5, 2023
1 parent b550669 commit a2cb2ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion development/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {
TerraDrawGoogleMapsAdapter,
TerraDrawMapLibreGLAdapter,
TerraDrawGreatCircleMode,
TerraDrawArcGISMapsSDKAdapter,
} from "../../src/terra-draw";
import { TerraDrawRenderMode } from "../../src/modes/render/render.mode";

Expand All @@ -32,7 +33,6 @@ import { Tile as TileLayer, Vector as VectorLayer } from "ol/layer";
import { fromLonLat, toLonLat } from "ol/proj";
import EsriMap from "@arcgis/core/Map";
import MapView from "@arcgis/core/views/MapView.js";
import { TerraDrawArcGISMapsSDKAdapter } from "../../src/adapters/arcgis-maps-sdk.adapter";
import GraphicsLayer from "@arcgis/core/layers/GraphicsLayer";
import Point from "@arcgis/core/geometry/Point";
import Polyline from "@arcgis/core/geometry/Polyline";
Expand Down
2 changes: 2 additions & 0 deletions src/terra-draw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { TerraDrawLeafletAdapter } from "./adapters/leaflet.adapter";
import { TerraDrawMapboxGLAdapter } from "./adapters/mapbox-gl.adapter";
import { TerraDrawMapLibreGLAdapter } from "./adapters/maplibre-gl.adapter";
import { TerraDrawOpenLayersAdapter } from "./adapters/openlayers.adapter";
import { TerraDrawArcGISMapsSDKAdapter } from "./adapters/arcgis-maps-sdk.adapter";
import {
TerraDrawAdapter,
TerraDrawAdapterStyling,
Expand Down Expand Up @@ -700,6 +701,7 @@ export {
TerraDrawLeafletAdapter,
TerraDrawMapLibreGLAdapter,
TerraDrawOpenLayersAdapter,
TerraDrawArcGISMapsSDKAdapter,
TerraDrawExtend,

// Types that are required for 3rd party developers to extend
Expand Down

0 comments on commit a2cb2ba

Please sign in to comment.