Questions tagged [esri-loader]

For questions related to using the esri-loader library to use the ArcGIS API for JavaScript in non-Dojo applications.

For questions related to using the esri-loader library to use the ArcGIS API for JavaScript in non-Dojo applications.

21 questions
6
votes
0 answers

get on proxy property 'accessor' is a read-only and non-configurable data property on the proxy target but the proxy did not return its actual value

I want to use vue3 and esri-loader to make a map website. When using vue-composition-api, I put the Map and MapView objects generated by esri-loader in reactive and export them. But the following happened while reading the properties of the MapView,…
3
votes
1 answer

dojo multipleDefine error with mapkitJS and ArcGIS esri-loader

I cannot figure out where MapkitJS and esri-loader are having issues together. From researching on here and elsewhere, it seems like there is likely a naming conflict with another package. Here is a link of the resolved issue for esri-loader. I read…
Diesel
  • 5,099
  • 7
  • 43
  • 81
2
votes
1 answer

arcgis js API 4.7 error in Internet Explorer- "no native wasm support detected"

Im using ArcGIS JS API 4.7, in an angular 6 application. and using esri-loader to access esri methods within my angular services/components Using following versions.. "arcgis-js-api": "^4.7.2", "bootstrap": "^4.1.0", "core-js":…
1
vote
1 answer

Where to put my API KEY in my ARCGIS react project so that my FeatureLayer for which I need apikey will show. Only my map is showing

I am using React to build my ArcGis application but I need to use my API key for one of the feature Layers. The Problem I am having is that my feature layer is not showing. I believe if I pass it down as a prop to my Map Component from my…
1
vote
0 answers

ArcGIS - Error: This operation is not allowed while editing [Editable]

What I want to do is to create an entity, let's call it Entity1 Enitity1 { globalId: string; } And then use the GlobalId from the recently created Entity1 to create Entity2 Enitity2 { globalId: string; entity1Id: string; } This is an…
Luis_DV
  • 73
  • 5
1
vote
1 answer

Access state in esri event using loadModules ReactJS

I am using lazy loading "loadModules " from esri-loader in order to load esri modules. The problem here is that I can't access the state to store the longitude and latitude values when 'search-complete' event fires. I am also not able to override…
laitha0
  • 4,148
  • 11
  • 33
  • 49
1
vote
1 answer

Prevent Popup template to shows multiple feature in ArcGIS 4.16 Angular 10

I have integrated a popup on the map for a specific layer. Some time the poup shows pagination (featureNavigation) multiple data. Sometimes it fails to show the data, or mismatch in the data that actually the service returns. var popupTrailheads…
Adam-KER
  • 67
  • 9
1
vote
1 answer

Why are array elements passed into .then() accessible by name in Typescript?

I have started integrating our ArcGis JS template into the webpack build pipeline we are using. In order to accomplish this, we need to refactor quiet a bit and need to start using the Esri-Loader (https://github.com/Esri/esri-loader), which…
Marco
  • 22,856
  • 9
  • 75
  • 124
0
votes
0 answers

Testing a component where map is being loaded using esri-loader

In my React application there is a map which is being loaded using esri loader. Below is the code for loading map with the help of esri-loader using React. App.js import React, { useEffect } from "react"; import { loadModules } from…
0
votes
1 answer

Trigger click event on marker programmatically - ArcGIS

I am showing some markers using latitude and longitude, but there is a navigation drawer view, where I can click on the location. So if I click on any particular location from the drawer, how can I trigger the click event on the associated…
Sanoop Surendran
  • 3,484
  • 4
  • 28
  • 49
0
votes
1 answer

Limit map area/zoom in arcGIS SceneView

I'm using arcGIS SceneView in local viewing mode to display a WebMap. I'm trying to constrain the zoom level and bounds of an area so that the user can only see the US, Hawaii, and Alaska and cannot pan outside of this. I also need to constrain the…
Pdnell
  • 321
  • 4
  • 16
0
votes
1 answer

esri add graphic from json to graphicslayer is giving error

hi i am trying to add graphic to graphicslayer. here is the problem. i get json result from sketchviewmodel create function which is graphic. i store this in to new jsonobject. then i try to add this graphic into graphicslayer manually. but its…
0
votes
0 answers

Execute a function after subscribe in angular 10

I have a subscribe function in angular 10. I am getting the console 'geom' before executing the subscribe. Please describe how to execute the next section ie, calling to zoomToGeometry() only after executing the…
Adam-KER
  • 67
  • 9
0
votes
0 answers

Click event on map not reloading the geometry polygon Angular 10, ArcGIS 4.16

I have an arcGIS map in angular 10. The polygon is plotting on the map based on the wkid and the projected ring values. I need to re draw the polygon when click on the map. click event collect the ID from the map with the hottest() and I need to…
Adam-KER
  • 67
  • 9
0
votes
1 answer

Error when trying to set zoom using SceneView

Using esri-loader, when trying to create a SceneView using the following the view is not calculating the zoom correctly and I'm getting the following errors in the console: [esri.views.3d.support.cameraUtils] #zoomToScale() Cannot compute scale from…
Pdnell
  • 321
  • 4
  • 16
1
2