arcgis-js-api Questions

14

Solved

I have a bunch of files with coordinates in UTM form. For each coordinate I have easting, northing and zone. I need to convert this to LatLng for use with Google Map API to show the information in ...
Argot asked 5/12, 2008 at 13:42

34

I'm using ArcGIS JSAPI 4.12 and wish to use Spatial Illusions to draw military symbols on a map. When I add milsymbol.js to the script, the console returns error Uncaught SyntaxError: Cannot use i...
Bifid asked 3/10, 2019 at 3:20

2

Solved

I'm using the ArcGIS API for JavaScript to display a map and I want to get the selected feature when someone clicks on the map. This is my MapComponent export const MapComponent = () => { const...
Kaohsiung asked 9/7, 2023 at 21:30

2

Solved

Here below is my next JS Code which is showing a simple ArcGIS map with the points or markers on the specific coordinates. Can anyone please let me know that how can I display the popup / Info wind...
Helmet asked 19/10, 2021 at 12:31

0

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 h...
Sinegold asked 18/9, 2020 at 3:15

3

Solved

I am trying to add some functionality that will zoom the map in/out depending on the points that are returned from a query. So for example, say we're zoomed in on the state of Texas. If I execute a...
Anecdotal asked 3/8, 2012 at 18:6

1

Solved

I am using RStudio to create a choropleth leaflet map. I have Country and Url as an attribute in the shapefile that I imported to R. I wish to show the Country name and URL as a hyperlink within th...
Pitta asked 13/12, 2017 at 9:30

3

I'm trying to use Esri map. To include map in my project, here is what I found: require([ "esri/map", "esri/dijit/Search", "esri/dijit/LocateButton", "esri/geometry/Point", "esri/symbols/Simp...
Biodegradable asked 11/10, 2016 at 22:49

1

I am trying to load operational layers data from the following JSON with no luck. So far I tried the following add it as a graphic layer by using graphicLayer = new esri.layers.GraphicsLayer();...
Nganngc asked 17/2, 2018 at 11:42

1

Solved

I have this simple code pen with Angular 4 and arcgis map, but I can't drag in IE 11. Others browsers works as usual. I cannot upgrade nor downgrade the JS library of arcgis, because it depends on ...
Amesace asked 20/12, 2017 at 15:28

3

Solved

I want to save some columns of my data frame into a specific format (JavaScript format). I've tried to use toJSON() from rjson package but that doesn't work. My result should looks like : http://le...
Gasconade asked 8/4, 2016 at 15:17

3

Solved

Is there a way to wipe out all CSS rules once style sheets have already been loaded? I have to use a proprietary JavaScript library (ESRI's ArcGIS Server API) which is built on top of Dojo. I make...
Braeunig asked 4/9, 2010 at 21:11

7

If I have a series of points as longitude and latitude, how would I calculate the center of all of those points?
Obsequious asked 24/9, 2008 at 16:56

2

Solved

I am trying to use ArcGIS JavaScript API inside an Angular application. As I see, it uses Dojo. So, I am trying to initialize ArcGIS from Angular directive like this: link: function (scope, eleme...
Rode asked 9/7, 2013 at 11:44

1

Solved

I am using ArcGIS 3.5 Javascript API and RequireJS I implemented it using this code: <script> var map; require(["esri/map", "dojo/domReady!"], function(Map) { map = new Map("mapDiv", { ...
Barbet asked 10/10, 2013 at 8:3
1

© 2022 - 2024 — McMap. All rights reserved.