2
votes
0answers
20 views

split polyline at specific distance

I am working on a project that uses sql server for geometry datatype and arcgis server and asp.net website and entity framework for data access and arcgis javascript api for map viewer. I want to ...
1
vote
0answers
18 views

How to pre-populate JavaScript forms in ArcGIS Web Application?

I have an ArcGIS web application and would like to pre-populate order numbers. Say if order 1 has been entered for a point on a map, when the next point is added, order 2 would populate ...
1
vote
1answer
49 views

How can I add a popup on hover for a graphic using the ArcGIS JavaScript API?

I created this JSFiddle for an example. Currently, a user needs to click on the graphic point to see the attribute. How can I make it so the user only needs to hover over the graphic for the popup to ...
1
vote
1answer
100 views

Changing map projection and adding graphic features in projected coordinate system using ArcGIS API for JavaScript?

I'm having some problems with the ArcGIS API for JavaScript. I have a web service that traces an electric network and sends back JSON with point and polyline (path) geometry. I've created a function ...
0
votes
0answers
30 views

Add text to PictureMarkerSymbol in arcgis using javascript

I am new to ArcGis, i need complete code of how to add dynamic text on the marker symbol. I have Location Data in Json format: {locations: [{latitude: 52.1, longitude: 4.1, ...
0
votes
1answer
65 views

Syntax for using ArcGIS for Server layer with WMS service?

I am having some issues with getting an image/png format from an ArcGIS Server. The console returns: Resource interpreted as Image but transferred with MIME type application/vnd.ogc.se_xml: ...
0
votes
1answer
47 views

ArcGIS Javascript API Editing - Create Feature from Geometry Object

I'm interested in passing a geometry object with certain attributes to an exposed feature class for committed edits. Essentially, I want to manually create a new feature without the template pane or ...
1
vote
1answer
52 views

Basemap Widgets

I am looking for a fancy Basemap plugin to use with the ArcGIS Javascript API. Something along the lines of the Basemap Widget (see image below) available in the Flex Viewer would be great. Anyone ...
0
votes
2answers
79 views

ArcGIS Javascript API: Get Map Object from DIV

So I am currently writing an application using the ArcGIS JavaScript API, and I want to access the map object that is held inside of my div from a js module I have. I was thinking it would be a simple ...
0
votes
1answer
40 views

How get the link or file from uploads forder of feature service arcgis

I have succeeded in adding a file to arcgis server with the upload method of a feature service on arcgis server. But i can't see how to download what i have uploaded to. Do you have any idea on how I ...
0
votes
1answer
52 views

How to forbid zoom map under scroll page?

I wrote code at ArcGis JavaScript. There is a map on web page at full display with a fixed height (400px) When i scroll-down page and cursor misses in zone map then browser works for zooming map, not ...
1
vote
0answers
36 views

Trouble adding tabs in identity popup JS API

May 28 Edit I have edited my code a bit and have come up with a fix to the tab container, however I am now having troubles getting my attributes to show when I click on one of my service layers. ...
0
votes
1answer
42 views

Passing RasterDataSource object to RasterData object in Javascript API?

I have a GP service that requires a RasterData object as input. The RasterData object should hold a RasterDataSource object, but I'm not sure of the syntax to connect these two classes. The API ...
0
votes
0answers
66 views

Using postgis functions in ArcGIS Server 10.2 for Layer Definition Query

I asked the previous question Using PostGIS functions in ArcGIS Desktop for Layer Definition Query? And got an excellent answer. However this covered ArcGIS Desktop. In 10.0 it seemed that if I got ...
0
votes
2answers
108 views

ArcGIS Javascript API - switch case to display attributes in a popup

var vliTemplate = new InfoTemplate("Visual", "<tr><b>VLI Number:</b> <td>${VLI_VLI_NO} </tr></td>"+ "<br><tr><b>Not Greened Up ...
1
vote
0answers
136 views

CORS Printing Issue with ArcGIS Javascript

I'm developing an application using the ArcGIS Javascript API and everything has been working fine until I've tried to incorporate the print widget using printtask. When only the base layers are ...
-1
votes
1answer
152 views

Do map services go stale? [closed]

This has happened several times over: I publish a dynamic map service, and then use the JavaScript API to allow the user to select features to obtain attribute information as well as to zoom to ...
0
votes
1answer
280 views

ArcGIS map service layer not loading properly

I'm at a total loss. My initial problem was an issue with the layer not loading at all when the page was set to the full extent, despite having changed the Min/Max Scale settings generously when ...
0
votes
1answer
226 views

Browse (add/remove) ArcGIS Server Services (Layers) from the ESRI Javascript API viewer

I am quite new to the Javascript API. I am not if there is a widget that does what I would like but I am trying to create a web map that allows the users to choose/add/remove layers located on our GIS ...
1
vote
1answer
122 views

using WebTiledLayer function

Using esri javascript api version 3.8, I am trying to use some cached tiles from our server at http://hexe.er.usgs.gov/ifhp/will/tiles/ using WebTiledLayer. I believe that our tiles are set up as ...
0
votes
0answers
71 views

Displaying JS API Find Task Results in a Table without Dojo

I was wondering if anyone had examples of displaying ArcGIS Javascript API Find Task results from a map service in an html table without using a Dojo Grid. Any pointers would be greatly appreciated!
0
votes
0answers
53 views

How to create an editable custom popup or infoTemplate

Does anyone have a resource with an example of how to create a custom popup/infoTemplate in JSAPI? I found this link: close example in .net but I want the user be able to just add text to a popup ...
0
votes
1answer
288 views

Call function inside dojo.ready

I have code ArcGIS Javascript like this: <script type="text/javascript"> require(["dojo/ready", "dgrid/OnDemandGrid", "dgrid/Selection", "dojo/store/Memory", ...
1
vote
1answer
131 views

ArcGIS Javascript Map loads but doesn't display

I just started creating a very simple mobile GIS app using ArcGIS Javascript API, and I have experiencing a very peculiar issue. When the app loads, the basemap is white (not visible) until you use ...
0
votes
3answers
811 views

How to add png image with esri javascript api MapImageLayer Class?

I have a png image that we host that I need to resize and overlay onto a map at specific gps coordinates. Would this be an image class? I can't seem to find any examples that match up with my needs. I ...
0
votes
1answer
56 views

TabContainer ArcGIS API for JavaScript

I am a novice programmer, but I know enough to be dangerous. Here's my issue and hopefully someone knows the answer. I am developing an application with 4 tabs on the left and a map from ArcGIS ...
1
vote
0answers
22 views

How to hide infoWindow while using measure tool and showing it back after using it ArcGis JavaScript API [duplicate]

I have an infoWinfow set on the click event of the map. I want to disable this event when I'm using the measurement tool and then enable it back after the measurement tool is used. So far I've done ...
1
vote
1answer
745 views

How to create working Hyperlinks in OnDemandGrid Cells

I'm creating a simple ArcGIS application that shows a table of data from a feature layer, one of which is a URL string. I'd like to make that string be a clickable hyperlink. Is this possible and if ...
2
votes
3answers
568 views

Simple javascript viewer for ArcGIS Server data

I would like a simple javascript viewer which will allow end users to do the following in their browser: Add layers from arcgis server by clicking an "add data" button See attributes with an info ...
2
votes
1answer
319 views

How to flash a graphic in JSAPI using AMD

With the code below I was hoping to flash the selected polyline, however no success. function flashResults(featureSet) { alert("flash"); //remove all graphics on the maps graphics layer ...
0
votes
2answers
324 views

Moving ArcGIS JSAPI Basemap Gallery Widget down 10px when opened

How can I move the Basemap gallery 10px down from its original position when it's opened. The basemap gallery sample, I am referring can be found here: ...
0
votes
0answers
74 views

How do you set the TimeZone for a feature layer in ArcGIS JavaScript?

The author of this question says: Esri recommends that databases are in UTC time. And if I’ve got this right, unless you set a time zone in your layer, you are entering a date in a date field ...
0
votes
0answers
188 views

Editing a stand-alone table in ArcGIS API for JavaScript

I am new to scripting and the API, and it would be good to have a clear idea of what to look into for this task. I am trying to let users add information to a table (but not edit that table in any ...
2
votes
1answer
243 views

Print FeatureLayer labels in Esri JavaScript API 3.5 and earlier

I have a need to implement labels on features in a FeatureLayer in version 3.5 if Esri's Javascript API. The labels are from a field returned by a REST feature service. I can't move to 3.7 for various ...
4
votes
1answer
227 views

Why should I use the AMD style deceleration in ArcGIS JS API?

It seems to me like this: var point; require(['esri/geometry/Point'], function(Point) { point = new Point(); } does the same thing as: var point = new esri.geometry.Point(); Is there any ...
3
votes
1answer
100 views

Use a Tiledmap service as basemap instead of an Arcgis.com map in AMD style coding

How will I define a arcgisTiled map service as the base map (instead of “topo”) as against using arcgis.com map services while defining a new map in AMD style? map = new Map("map", { ...
2
votes
1answer
289 views

ArcGIS JS API - Can't draw results of Query Task

I have an ArcGIS JavaScript map that I'm trying to use with a Query Task. The query runs fine on the server side and the proper geometry is returned. Then, I draw the feature as follows: var features ...
1
vote
1answer
316 views

Custom ArcGIS GraphicsLayer (JavaScript)

I am working on an application that will retrieve data from various sources and construct ESRI GraphicsLayer objects from the data and display it on a map. I have created custom FeatureLayers before ...
1
vote
1answer
85 views

How do I get ArcGIS tiles to display a single layer when multiple layers are available?

I am using Bing Maps v7 to display layers from an ArcGIS server. The server displays multiple layers as one, but I would like to only display a single layer. Suppose a map service has the layers: ...
4
votes
3answers
592 views

ArcGIS Javascript API with Windows Authentication

I am using the ArcGIS Javascript API to consume a feature layer on an ArcGIS Server secured with Windows Authentication. I want to satisfy the authentication programmatically so the web user isn't ...
3
votes
1answer
238 views

how to disable duplicate items in the legend for ArcGIS JavaScript API

I have a problem with duplicate items in the legend panel! Can anyone help me? This is my feature Layer with popup info: // Feature Layer var msFeatureLayer = new ...
0
votes
1answer
353 views

How tow use an ArcGISCache layer along with an ArcGIS93Rest layer?

I want to have two layers in my OpenLayers map. The BaseLayer, as well as the overlay layer are being served by ArcGIS Server. I have a problem with ArcGIS93Rest when using ArcGISCache as basemap. ...
3
votes
1answer
1k views

Arcgis Javascript latitude and longitude convert to WGS_1984_UTM_Zone_36N

I am using Arcgis Javascript api. I have two points comes from Google maps like this x:-111.67095840000002 y: 32.7558935 I wanna use this points on my Arcgis map. My map spatial reference is using ...
1
vote
1answer
242 views

Problem with creating a “blank” basemap in an application built with arcgis javascript api

I'm building an application where I'd like the user to be able to select a blank basemap from a gallery of basemap options. I've found that if I initialize the app with a "white" "blank" or "none," ...
2
votes
3answers
986 views

ESRI proxy page not working properly + CORS + cross domain scripting

I have set up a proxy page. I am using jsp version of proxy page. I have set up a server URL which will point to my Java. When I load the my page which the proxy URL has set in its html it will work ...
0
votes
1answer
201 views

How to rubberband zoom w/o the shift key: arcgis api for javascript

I want to enable the rubberband zoom effect without users having to hold the shift key down. This behavior is found is Esri navigation bar dijit. I don't want to use the dijit. How can I get a zoom ...
1
vote
2answers
72 views

ArcGIS Javascript Editor - showAttributesOnClick feature

I'm using the Editor dijit to add feature to my map. I was looking at one of the online samples, which mentions a "showAttributesOnClick" setting in the description. When I look at the code in that ...
1
vote
0answers
116 views

Create Materialized View to Flatten ArcGIS JavaScript API Database

I'm doing a project using ArcGIS JavaScript API v3.5 hosted on ArcServer v10.1. While reading the question below, remember that I do not have control over the datasource and cannot just create a ...
1
vote
0answers
223 views

View attachments in popup when using the editor widget

I am using ArcGIS javascript API to construct an editor app for a layer. I am using the default out of the box editor widget to edit and display data for an app. The layers I am editing contain ...
2
votes
1answer
338 views

ESRI geoprocessing service with Javascript API 3.5

I am having issues getting a geoprocessing service to run. The service is a simple Python script that converts a table to CSV file. It runs fine in ArcMap. I can publish the service with the input ...