geometry engine html5 viewer
I'm trying to use ESRI's client side geometry engine for offline processing. The problem is that it isn't set up the same as all the other ESRI objects in typescript. There is a specific note from Latitude Geographics saying:
"// <LG /> This module was introduced in 3.13. It isn't added to the global namespace (e.g. esri.geometry) so we need to leave the type definition as-is, full AMD style."
and:
"export = geometryEngine; // <LG /> This module is full AMD; do not remove this"
I tried to use "import * as geometryEngine from "esri/geometry/geometryEngine";" which worked but that broke the namespace/module declarations. eg. quickstart.template --> TemplateModule thinks TemplateModuleView doesn't exist anymore.
Does anyone know how I can use ESRI geometry engine in typescript?
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
0 kommentarer