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...
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'm trying to draw a line between two points. I've tried every combination of symbols (SimpleLineSymbol, CartographicLineSymbol) and the Polyline geometry and their constructors, but a line will not show up on (on open street map).  Here'...
I have a search box which throws up certain auto-suggested values when an address is searched for.  Now there are way ways in which a search event is fired:   User starts typing an address (ignores the auto-suggested values) and hits Enter key User s...
Using the REST or javascript api, does anyone know how to get results back sorted by distance from a point?  I'm doing someething like this:  http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm  and i need the results sort...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.