I am trying to convert geographic coordinate system to Esri Webmercator, but when I do the conversion the resulted x and y have values of 0000003232112222… and 00000012665321…. This is very odd since coordinates as those do not exist.  var positi...
I am running a function that needs to close a Dojo dialog if it is loaded.  How do I check if a dojo dialog is running?  Do I use pure JavaScript and check by id if it is undefined?    if (dijit.byId("blah") !== undefined) {       destroyRecu...
I'm about to develop a web mapping application with ESRI Products like ArcGIS Server and Image Server.  I can't find a good comparison between the Java Web ADF and the Javascript Framework. They're of course different because one is a ful...
When using JS ArcGis API, is it possible to create a point in ArcGis from lat and long like this  var testPoint = new Point(-98, 38);   or this  var testPoint = new Point(-98, 38, new SpatialReference({ wkid: 4326 }));   and convert it to a different...
After npm installing esri-leaflet, and leaflet packages, I get the following error    This is my maps component:  import React from 'react' import ReactDOM , {render} from 'react-don'  import L from 'esri-leaflet' // import L...
How do I add markers to a map with coordinates? I saved the extent in database along with X,Y coordinates after finding the location. When coming back to the application, I don't know how to add markers with coordinates.  var s =  "XMin: "...
I have created a webpage displaying markers on an ersi map using javasvipt.  Data:  MapNorth    MapEast 439624  504743 439622  504736 439722  504775 439738  504739 439715  504774 439734  504739   The javascript code:  var points = data.map(function(x...
We are using ESRI ArcGIS JavaScript API in one of our Mobile web app. When map is loaded first time, Onload event is fired. But when we change orientation from Portrait to Landscape, OnLoad event does not fired. We need such event so that when map is...
I am new to ArcGIS.   I want to directly draw some points and some text on the map.  something like below. but it just show map and draw nothing.  anyone can help me fix this problem?  <!DOCTYPE HTML> <html> <head> <meta http-equ...
I have the following simplified project structure  | |-app.js |-components |  | |  |-someModule.js   my dojoConfig looks like this:  dojoConfig = {      async: true,      tlmSiblingOfDojo: false,      packages: [{         name: "components",...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.