I am using ArcGIS API for Javascript 3.21. I have a function inside of the require(). I want the function to be called when a button is clicked, but the button is outside the require().  <!DOCTYPE html> <html> <head> <link rel=&#...
I am trying to use the ArcGIS 2.1 JS API to create a custom interface that looks similar to Google Maps.  What is confusing me (particularly with Dojo's layout scheme) is how Google Maps has a map pane that extends the whole width of the page and...
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 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(); graphicLayer.add(json); map.add(graphicLayer); tried...
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 am using the ARCGIS Javascript API and trying to override the default right click behavior of the vertex points of a shape.  in ESRI's help it does list the onVertexClick event however from here it seems there is no way to determine if this is...
I'm trying to create an custom stationary map using the Leaflet JavaScript library and keep running into a major issue where most of the map tiles for the coordinates do not render. I'm defining & showing the map like so  function initmap...
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'...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.