Questions tagged [esri-maps]

102 questions
1
vote
1 answer

arcGIS javascript no lat long after doing Feature Layer query

I have done a query on my feature layer and got a result. the only problem is that the resulting object doesn't contain a LAT and LNG attribute. Here is the problem: centerAndZoomOnAsset(assetId: string) { let query =…
Kevin192291
  • 1,925
  • 4
  • 26
  • 43
1
vote
2 answers

ESRI Maps setting MapView.extent cuts off top and bottom of extent in display

I have an ESRI map that I initialize with a given extent. When I draw the map with its initial extent, the extent of what is actually displayed is cut off by about 5-10%, so some features on my FeatureLayers lie outside the initial view. It seems…
asgallant
  • 26,060
  • 6
  • 72
  • 87
1
vote
1 answer

How to use gif symbols with ArcGis

I'm using the ArcGis .NET SDK from Esri and was hoping to use a .gif symbol similar to the following, although even though I see that a HTTP request was sent for the image the map doesn't display the gif. If I select an online .png it works…
Blackey
  • 698
  • 7
  • 14
1
vote
1 answer

How to add layers to arcgis map by react-arcgis npm?

I am trying to add a layer to arcgis with react-arcgis npm, esriPromise(["esri/layers/TileLayer"]).then(([ TileLayer ]) => { var initLayer = new TileLayer({ url: "http://......." }); …
Explorer
  • 155
  • 14
1
vote
1 answer

IBEX Dashboard maps break after successful build

I've setup IBEX dashboard as per instructions at https://github.com/CatalystCode/ibex-dashboard on Windows 10. I made changes in timeline.ts to have more timespan options that works fine. Problem is after build maps are breaking on mouse over with…
Shahid Syed
  • 589
  • 3
  • 15
1
vote
1 answer

getting multipleDefine (dojoloader) error when tried to use esrimap

Complete error logs I am using angular 1.6 and argis 4.4 for loading esri-map. I used 'defer' keyword for loading 'angular-esri-map.js', but it did not work. I am able to render esri-map successfully in SPA application. But when i am trying to…
Sachin Ambalkar
  • 353
  • 2
  • 7
1
vote
0 answers

How can I remove old layers from a webmap's JSON file

Recently I migrated a lot of webmaps between two organisational accounts using AGOL assistant. Before migration, I spent a lot of time fiddling around with the webmaps adding layers, and removing layers etc etc. This has led to a bloated JSON file…
1
vote
3 answers

popup window on web map

i have displayed my map on web by using arcgis javascript api sample. in the sample it display a popup window but on my side it does not. now i want to add popup window. i want when user click on the different type of soil a popup window will open…
Sarah Salar
  • 193
  • 1
  • 3
  • 14
1
vote
2 answers

add shapefile with JS sample code

i want to add shapefile to the map from the folder. i have used JS sample code but it does not work for me.it gives error in response , featurecollection . it doesnot got into request block so i change it to esri request but still code not working …
Sarah Salar
  • 193
  • 1
  • 3
  • 14
1
vote
2 answers

clear map zoom and geometries of feature layer

i have selected feature(feature layer) from combobox and it zoom to the feature . now i want to clear combobox slection and map . and zoom map to its default zoom. //combobox selection clear dijit.byId("A1").reset(); …
Sarah Salar
  • 193
  • 1
  • 3
  • 14
1
vote
1 answer

My check box does not show the feature layer

Here is my code else if(which == "abc"){ var d = (id).toString(); d = d.replace("abc", ""); query.where = "Name='" + d + "'"; console.info(query.where); query.returnGeometry = true; …
Sarah Salar
  • 193
  • 1
  • 3
  • 14
1
vote
1 answer

Remove checkbox from LayerList widget (ArcGIS JavaScript)

Is it possible to change the design of the LayerList widget in this ESRI tutorial ? I would like the LayerList with no checkboxes and to select one layer at a time just by clicking it’s name. I know you can hide the checkboxes with display: none but…
Michelle
  • 99
  • 2
  • 9
1
vote
1 answer

Change basemap urls in Esri ArcGIS 4.3 to begin with https:// instead of file://

I'm building a cordova application with the Esri ArcGIS JS 4.3 and I have a problem with basemap urls. They are defined as: //services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer and when my Android application requests the…
hakala
  • 23
  • 7
1
vote
2 answers

Calculate sum in several fields with StatisticsDefinition()

I have built a widget in WebAppBuilder for ArcGis where you can select an area and see the information that is within it, the selection is based on the radius you choose, in this case between 100 and 300 metres. I'd like to add a functionality so I…
1
vote
0 answers

Esri map not loading with angularjs

I am trying to load an esri bootstrap map on my app with angularjs. My first view without the map shows up fine. When I click on the link to bring up the second view (the esri map), it brings up nothing.There are no errors on the console and the…
AMK
  • 11
  • 4