1
vote
0answers
18 views

How to remove ArcGISTiledMapServiceLayer completely

I have a problem related to "ArcGISTiledMapServiceLayer". I have an ArcGISTiledMapServiceLayer map service, which I have added to Map object. This service work as BaseMap. Now I want to add another ...
1
vote
1answer
18 views

Can I set individual scale levels for an ArcGISDynamicMapServiceLayer?

I have a map service that contains 6 layers. I turned one layer into a feature layer. I used this layer in a query and show the result. I then would like to just show the other 5 layers as a ...
0
votes
1answer
36 views

Why isn't my ArcGIS JavaScript QueryTask working?

var map; require([ "esri/map", "esri/layers/ArcGISDynamicMapServiceLayer", "esri/layers/ImageParameters", "esri/tasks/QueryTask", ...
0
votes
1answer
15 views

Can I set individual opacity levels for an ArcGISDynamicMapServiceLayer?

I've added a ArcGISDynamicMapServiceLayer and I've used the imageParameters.layerIds property to only show certain layers. Is there a way to set a different opacity level for each layer?
1
vote
1answer
41 views

Is editing feature service through the REST API an okay approach?

I have a database that receives real-time data from alarms throughout the day, or on request. I'd like to create a web map that displays the "bad" alarms. My current idea is to create a Python ...
3
votes
1answer
28 views

ESRI JavaScript API ArcGISDynamicMapServiceLayer Scale Dependency Visibility

Background: I am building a JavaScript web app using ESRI's JavaScript API v3.8, and our ArcGIS Server v9.3.1. I have layers I am rendering using the ArcGISDynamicMapServiceLayer, and I have been ...
0
votes
1answer
39 views

Error executing tool.: Layer “layer1” Unable to connect to map server

I am using the Configurable Javascript Viewer, and have only changed a couple of the configuration settings. One change I made was to use my own Export Web Map Task. In viewer.js, I changed: ...
0
votes
0answers
16 views

ArcGIS javascript. Trying to use a dojo table of contents in CakePHP

Sorry for asking so many questions, but I am trying to learn arcgis, dojo, and cake all at the same time :/ Basically what I want to do is get this to work in the latest CakePHP. Where do I place the ...
0
votes
0answers
22 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
40 views

ESRI JavaScript API 3.8 Locator: SyntaxError {log: undefined, stack: (…), message: “Unexpected token <”}

I am having issues trying to set up a geocoder/locator on my server. I keep getting an error SyntaxError {log: undefined, stack: (...), message: "Unexpected token <"}, but I can't seem to figure ...
1
vote
0answers
27 views

Change symbol size in legend for FeatureLayer (ArcGIS API for JavaScript)

I'm learning how to create web applications using the ArcGIS API for JavaScript. I have a map that is displaying both an ArcGISDynamicMapServiceLayer (which includes two layers) and a FeatureLayer. I ...
0
votes
2answers
64 views

ArcGIS Javascript API Query & Add features without map using REST API

I need to query arcGIS map service and add this result to another feature service using ArcGIS JavaScript API. I should not use MAP object. I did query data without map from ArcGIS sample: Now i need ...
0
votes
1answer
34 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
44 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
1answer
23 views

Displaying network analysis service for Iran?

I am working on the ArcGIS API for JavaScript of ArcGIS for Server. I have a problem with network analysis services in Iran. There isn't any base map for routing in ArcGIS Online for Iran so how ...
0
votes
0answers
16 views

How to call a querytask.execute in a event

My map needs to be updated every 15 minutes. I need to query to get new data time from the update. So i put a query function in "update-end" event. However the display function is never called. ...
1
vote
1answer
91 views

Intersect features / point in polygon

I have a base map on top of which I have added a feature layer . I pull thousands of json data from my db which has lat/long information , then I create points using lat/long and I plot those points ...
0
votes
3answers
83 views

ArcGIS API for JavaScript - Create simple buffer or circle graphic against one point

I am stuck, trying to figure out how to create a simple graphic for adding a circle based on one point in my web map. I need the circle to be centered on my single point, with a radius of 5 miles. I ...
1
vote
0answers
32 views

ArcGIS JavaScript API: onAnimate Error

I am trying to zoom to a point in ArcGIS JavaScript API (3.9). I am doing this one of two ways, I am either grabbing a point feature from ArcGIS Server (10.1), or I am grabbing the center of a polygon ...
0
votes
2answers
50 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
32 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
0answers
28 views

Using ArcGIS API for Javascript with Chrome on info window popup calls back two instances?

Using the ArcGIS API and harvesting external web map services. When using the application in Chrome when I click on a feature the info window calls back 2 instances of the same layer feature info in ...
1
vote
1answer
49 views

Migrating ArcGIS 9.3 to 10.1? [closed]

We have an older running ArcGIS 9.3 asp.NET application. Now we have installed 10.1 and started migrating. We had used Map Web Controls for displaying map in asp.net.Because there are some libraries ...
0
votes
1answer
36 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
29 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
31 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 ...
1
vote
1answer
41 views

HTTPS and working with non-secure services - ESRI jsAPI

Situation: I am currently working with an app that is required to be delivered over HTTPS because of an organizational security requirement. I currently do not have access to this servers ...
0
votes
0answers
23 views

When will visibleAtMapScale property be populated for a map/image service?

To my knowledge, the service layer property, visibleAtMapScale, represents the service scale dependency. I like to know when visibleAtMapScale value is populated. I tried to get it when the layer is ...
0
votes
2answers
97 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 ...
0
votes
1answer
53 views

[ArcGIS toolbars.Draw.POLYGON ]Object #<BarProp> has no method 'activate'

I am facing this error while activating the toolbar. This is my body code <button dojoType="dijit.form.Button" onClick="toolbar.activate(esri.toolbars.Draw.POLYGON); ...
1
vote
1answer
47 views

What is difference between Map event onExtentChange and Map.extent property?

I am a newbie and I am looking to persist the map extent across sessions so that it can be loaded instead of the default extent. I believe what I need to do is to store the extent in a cookie after ...
0
votes
1answer
280 views

Uncaught ReferenceError: GEvent is not defined after migrating to google map api v3

I have managed to change the needed things, but I get the error from the title in the console, and I cannot figure it out what else needs to be done. any ideas? This is my code(if you paste it and run ...
2
votes
1answer
67 views

Getting geometry of drawing in ArcGIS Server JavaScript API

To me, ArcGIS Help and Online Resources is always full of unneccessay information and missing some important points. For example there are lots of samples for drawing but I couldn't find any thing for ...
0
votes
1answer
32 views

filtering GeoRSSLayer contents in arcgis javascript API?

I would like to make use of a public geoRSS feed with content from 10years (200+ items), however since it is too much information, i would like to show only a subset of this content in my map... I ...
0
votes
1answer
150 views

Update multiple features attributes in loop - JavaScript

I am trying to update multiple features in a feature layer through a loop. I have a feature layer that I would like to select and then assign someone to the features (through an attribute update. I ...
1
vote
1answer
171 views

Fixed Zoom Extend For Overview Map on ArcGIS Server JavaScript API 3.8

Can some one please let me know if it is possible to have the Map Overview with Fixed extend and none zoom in or out functions? I know this was not possible on v.3 but how about v3.8? Thanks
2
votes
2answers
65 views

Issue On Having HomeButton and Overview Together on ArcGIS Sever JavaScript API

Using ArcGIS 10.1 and ArcGIS Server Javascript Api I am having issue on having Home Button and Map Overview on the map. for what ever reason the home button is not showing up the map Here is the ...
0
votes
2answers
53 views

How can i keep browser from caching map services?

I am using esri's js api with arcserver 10.1 map services. My issue is that sometimes another application deletes a feature from the geodatabase that is the basis for my map service. But my browser ...
0
votes
0answers
16 views

ArcGis Server 9.3 - arcgis api for javascript

I have 2 graphic objects - (polylines) one over the other in the same graphic layer. How can I show both infowindows for polyline objects (values of attributes are different)?
0
votes
0answers
38 views

Visualizing Layers with lyr-files in ArcGIS API for JavaScript

I do have a probably very simple question. I'm currently running a Python-Script on my Desktop-machine. In the end of this script the different layers that I've created will be visualized according ...
0
votes
0answers
372 views

Unable to resolve constructor for: 'dijit.layout.TabContainer'

I have started using ArcGIS for the first time, actually my first time using GIS. So I have taken the demo codes and changed them to what I needed. So first I took some code for a tab control on the ...
0
votes
1answer
130 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 ...
0
votes
1answer
225 views

Why do existing map services run slow after updating to ArcGIS 10.2.1 for Server?

Has anyone had any issues with existing map services after updating to ArcGIS Server 10.2.1? After updating they are running slow and causing my ArcGIS Javascript app to crash. All of our GIS ...
0
votes
1answer
73 views

Displaying Geodatabase Published Map On ArcGIS Server (JavaScript API)

I Google this a lot but unfortunately I didn't find any useful Tutorial for this.Can you please let me know how I can Put my published Geodatabase/ shapefile on the top of a ArcGIS JavaScript API map? ...
2
votes
1answer
367 views

How to CORS enable ArcGIS Server 10.2.1 to Access REST Services without Using proxy.ashx?

Form the ENABLE-CORS.ORG I see that editing web.config is enough to CORS enable IIS7 <?xml version="1.0" encoding="utf-8"?> <configuration> <system.webServer> ...
1
vote
1answer
49 views

ArcGIS multiple scripts conflict

I am developing separate javascript widgets in different scripts and they work independently. However, when I try and put both scripts together, neither script works at all. So this brings me to my ...
0
votes
0answers
58 views

ArcGIS Server : max-age=0 Select by Rectangle Fails

We are running ArcGIS Server and feeding webmaps. In our Test environment, the application works just fine. We moved to our Dev and the 'Select by Rectangle' doesn't work. In fact, Select by ANYTHING ...
1
vote
2answers
53 views

Arcgis javscript calculating lines in a place

I have two mapservice. Fist service includes parcels and second includes water pipe lines. I want to calculate total pipelines length in a parcel. How can I calculate this via arcgis javascript API. ...
0
votes
0answers
49 views

How to use ArcGIS JavaScript API for ArcGIS Server service, where to save code?

I have found some sample codes online for implementing traditional map components such as legends and scale bars to an ArcGIS Server service. ...
0
votes
1answer
140 views

Projection problem with ESRI JSAPI and ArcGIS map service

I was trying to obtain a gpx file with some coordinates by drawing on an Openlayers map with an ArcGIS baseMap. When I draw the polyline and create the gpx, if I open it on Google Earth, what I see ...