When developing scripts that interact with TerraExplorer through the TerraExplorer Desktop (TED) API or through TerraExplorer Fusion (TEF), certain syntax behaviors differ depending on the platform and browser environment. This section outlines these differences and provides examples to ensure full cross-platform compatibility.
Case Sensitivity
Some platforms enforce case-sensitive property and method names. Use the exact casing defined in the API reference. Note that both TED (Edge) and TEF are case sensitive.
Collection Item Access Syntax
TerraExplorer API collections (e.g., IClipboard81, ISelection, ITerraExplorerObjects, IRings) expose their elements through an Item(index) method. The syntax used to access collection elements depends on the programming language and, for JavaScript only, on the runtime environment in which the script is executed.
| Syntax | TED (Edge) | TED (IE) | TEF |
| Polygon.Rings[index] | ✔ | X | ✔ |
| Polygon.Rings(index) | X | ✔ | X |
| Polygon.Rings.Item(index) | X | ✔ | ✔ |
| Polygon.Rings.Item[index] | ✔ | X | X |