Questions tagged [esri-maps]

102 questions
0
votes
2 answers

ESRI JS Sketch Widget: How to disable at certain scales

I am trying to figure out a way to disable the Sketch widget at certain scales. Currently I have working code that will completely add or remove the widget, but that does not meet my requirements. I see that the Sketch widget has a "state" property,…
Fedaykin
  • 51
  • 1
  • 4
0
votes
2 answers

How to access secure webscene through javascript api in esri js(without ask credential from user.)

I have created a web scene on my arcgis online portal and hosted it there also. Now I want to load the webscene on map through arcgis javascript api v4.1.6 and I want to pass the credential(like a token which I can get from argis js api with the…
amy cai
  • 73
  • 8
0
votes
1 answer

ArcGIS map shows all continents (zoom out completely) when using wkid 102704

I am referring an example provided in, https://developers.arcgis.com/documentation/core-concepts/features-and-geometries/#polygons for drawing a polygon and move the map to that location. The example is working fine. But when I use my custom…
Adam-KER
  • 67
  • 9
0
votes
0 answers

ESRI ArcGIS : location point [using lat, long] is not rendering at correct position on arcGIS map

I am working on a web app where I need to render the point location on a map using latitude and longitude values returned from the tracking device. When I render lat & long positions on a map, it is some meters offset from the actual…
navtej singh
  • 277
  • 3
  • 11
0
votes
1 answer

ESRI ArcGIS: Pan and Zoom to fit markers

I am new to ESRI ArcGIS. We are considering as a replacement for Google Maps. In this post https://www.esri.com/arcgis-blog/products/js-api-arcgis/announcements/migrating-from-google-maps-javascript-api-to-arcgis-api-for-javascript/ they explain how…
Ruben Reyes
  • 745
  • 6
  • 8
0
votes
2 answers

How can i add and remove the dynamic marker on esri map javascript api?

How can I add and remove the dynamic marker on esri map using the javascript api? When I add the marker in the graphics layer, it's added but how can I remove it and add the new marker by another latitude longitude? This is my code so far; require( …
0
votes
1 answer

I am developing an Android app with ArcGIS offline map support. For that which one I have to use? MPK or MMPK package? How to download it?

I am developing an Android app with ArcGIS offline map support. To work with an offline map in android what I have to download? MPK or MMPK? By which tool I can generate the corresponding package? Does anyone have previous experience on the same? I…
Alex Chengalan
  • 8,211
  • 4
  • 42
  • 56
0
votes
1 answer

Didn't find class "com.esri.arcgisruntime.ArcGISRuntimeEnvironment"

I am using ESRI maps in my android app. I want to Shrink, obfuscate, and optimize my app for that I enabled R8 in my application in gradle.properties file by adding this line: android.enableR8 = true along with this, I enabled these by adding the…
Shailendra Madda
  • 20,649
  • 15
  • 100
  • 138
0
votes
1 answer

I wrote this code to show the marker on my Esri's Arcgis map in javascript, but this doesn't work, Please describe the problem here in my code?

I need the explanation of proper implementation of Graphic and GraphicLayer into my arcgis map intergation {