The ArcGIS API for JavaScript is a web mapping API from Esri.
1
vote
0answers
8 views
Problem migrate 3.4 to 3.6 or upper JS API
I have a problem when I tried to migrate from 3.4 to 3.6 or upper. I can see the map but once all is loaded the page becomes blocked, also the web browser.
I can put more information, because the ...
1
vote
1answer
17 views
Configurable Map Viewer (CMV) - Navigation Toolbar Widget - Zoom box issue in IE10
In playing around with adding the Navigation Toolbar Widget to the CMV I noticed the zoom box doesn't show when dragging a box to zoom in/out in IE10 (the red box). It works as expected in Firefox, ...
1
vote
0answers
19 views
ArcGIS JavaScript API Help
Kind of learning on the go here. My initial goal here is to allow a person to put a point on a map fill in the form, then close the form. I do not want them to be able to click other points to see the ...
0
votes
3answers
40 views
Setting initial extent in Configurable Map Viewer (CMV) via ArcGIS API for JavaScript API?
I've been playing around with the Configurable Map Viewer (CMV) and would like to set a custom initial extent.
I was thinking I could replace
center:[-96.59179687497497,39.09596293629694]
with
...
1
vote
1answer
40 views
Changing the cursor on an ESRI map
We are building an app starting from the ArcGIS Tax Parcel Viewer. I have added buttons to allow users to switch to Street View or Pictometry when they click on the map. All that is working fine, ...
0
votes
0answers
9 views
Return coded value descriptions in an InfoTemplate
Using the ArcGIS JavaScript API, I've assigned an InfoTemplate to a feature layer. For fields with a coded value domain, the popup is displaying the coded value rather than the description. I have ...
0
votes
0answers
11 views
PictureMarkerSymbol disappears when map is dragged
I am creating a Picture Marker Symbol object and adding it into graphic layer. It shows up when loads and 80% of the time when map is dragged it shows up as well. But sometimes Picture Marker Symbol ...
1
vote
0answers
17 views
Retrieve the attributes from a feature with IdentifyTask/IdentifyRequest (Javascript API)
So I'm building a GIS web application. I am able to get the result from IdentifyTask with the "oncomplete" function, the problem I am running into is how I can get the information back out of the ...
0
votes
0answers
14 views
How to set CSS for iPhone 3 and 4 Esri applications?
I have an application developed with a Local Government template. It renders fine on a Samsung Note, meaning that my title bar appears. On an iPhone the title does not appear. Below is my CSS which ...
0
votes
0answers
41 views
Layer Definition Query - Subqueries
Background:
I want to track the movement of icebergs in ArcGIS. In my FileGeodatabase I have a single Iceberg layer. What I have thought of is to create an ID field for each object; each ArcGIS ...
1
vote
0answers
19 views
Increase maximum zoom level for a WebTiledLayer in ArcGIS
I am using the WebTiledLayer from the Javascript ArcGIS API to render a custom WMTS source. The WMTS I am using has zoom levels going from 18 to 21, however I cannot zoom in further than what appears ...
1
vote
0answers
30 views
Map Service Works in Flex, Won't Display using JavaScript
As the title states, a map service published on my server displays and can be identified just fine when added to a web map in Viewer for Flex. I am slowly learning to use the API for JavaScript. My ...
-2
votes
1answer
24 views
Using JS SDK API Locally
I saw the documentation and notice that the SDK download link is live to esri server, can we download the SDK and setup in local environment? Please suggest?
If YES, how to change the config so that ...
0
votes
0answers
24 views
Drop down menu not populating for ArcGIS JavaScript API Application
I am using this template http://localgovtemplates2.esri.com/publicinfocenter/default.htm
When editing the config.js which is in JSON format, the parameters are {
Key: "Key",
...
1
vote
0answers
18 views
How to Retrieve field name from Uploaded Excel file using ArcGIS Javascript?
I published GP Service which involves uploading data to the server using Upload feature of 10.1. I wrote the code for getting the itemID of the uploaded file. I wanted to have user select the X and Y ...
1
vote
0answers
13 views
Hide labels for features without data
I have a FeatureLayer that uses a ClassBreaksRenderer. The renderer loads data from a collection like so:
var renderer = new esri.ClassBreaksRenderer(
null,
function (graphic) ...
1
vote
0answers
19 views
export map state as JSON: Web_Map_as_JSON
Is there a way to export the current map state as a JSON object, mostly named Web_Map_as_JSON.
The JSON specification should be like this.
In other words, it would be convenient to have a function ...
4
votes
1answer
37 views
How to disable double-click zoom in Arcgis Javascript API
I am using ArcGIS java script API for creating map. I am trying to disable the double-click zoom in the map. Here is link of my map: http://urbanaccessregulations.eu/mindcrew/mobile-popup.html
I used ...
1
vote
1answer
53 views
Using feature service with JavaScript API and ArcGIS for Server on localhost?
I installed ArcGIS 10.2 for Server on my localhost and created and published a feature service on it. Now I want to use the feature service I created on a simple html page using Javascript. How can I ...
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 ...
0
votes
1answer
53 views
Export my map in various formats
I want to implement a sort of content negotiation so as to export my map in formats like pdf jpg etc.
Is there any way to export my current map view (with all the enabled options so far) in various ...
-1
votes
0answers
26 views
How to change overlays as radio button and accordian list in Layer Switcher Control?
Could you please guide me how can I change the default properties of base layer and overlays to check box(Must be always be checked when I play with radio button list of overlays) to radio button(This ...
2
votes
2answers
30 views
Layer vs. Color Transparency with ArcGIS Javascript API
When creating services with ArcGIS Server, I have paid attention to the warning that Layer Transparency will make response time slower and that I should change to color transparency instead so I have ...
1
vote
1answer
38 views
Compare two feature layers
I have a base layer on top of which I will plot two separate feature layers, one containing polygons and the other containing points. Now I have to find the points which plot into the polygon. I tried ...
2
votes
0answers
54 views
High-DPI printing with ArcGIS API for JavaScript and esri.dijit.Print?
I've got cached tiles for all map layers at various zoom levels, and would like to print at DPI higher than the default (around 96) by using tiles from a deeper zoom level. It doesn't matter if map ...
2
votes
2answers
57 views
Create a web application with ArcGIS Server
I have a question about ArcGIS server:
I want to make an application for users who can search for proper houses, like a house-finding engine, and I published my map to ArcGIS Server but how can I ...
0
votes
1answer
49 views
ESRI JS API : FeatureLayer : pure client side query?
so I've created this wrapper around feature layer where I create the empty feature layer as is in the API help page :
new FeatureLayer(featureCollectionObject, options?)
providing the first ...
0
votes
0answers
33 views
ArcGIS API for Javascript: Time Aware KML Animation
I am using ArcGIS API for Javascript. I would like to know how to animate a KML file with time-aware ground overlays using the built-in time slider?
3
votes
1answer
60 views
Change projections depending on the zoom level
Is it possible in ArcGis (from a technology/performance/… point of view) to switch projections depending on the zoom level?
For example, Is it possible when zooming at some extent to the poles, my ...
4
votes
2answers
49 views
tabbed popup window for Arcgis Javascript
Anyone know examples of a tabbed popup window for Arcgis for javascript, NOT an infowindow? If you could point me in the the right direction it would help.
1
vote
1answer
50 views
How to remove popup window from KML layer in ArcGIS API for JavaScript?
I am using the ArcGIS API for JavaScript for creating a map. I have added some CSV and KML layers to the map.
Now the KML is colored base layer(different colored for country) on the map and CSV is ...
1
vote
1answer
39 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 ...
2
votes
1answer
51 views
Open source geometry service like ArcGIS?
Does anyone know of an open source GIS server that provide similar functionality to ArcGIS' web services server? For example, the service would provide a similar geometry service that buffers feature ...
0
votes
2answers
40 views
How to get features from a Service Layer?
I am using a Map Service from http://watersgeo.epa.gov/arcgis/rest/services/NHDPlus_NP21/WBD_NP21_Simplified/MapServer/. It offers multiple layers and its a great resource.
I'm wondering if its ...
0
votes
1answer
25 views
How to add an attribute value to info window as a link? (ArcGIS JavaScript API)
I am using ArcGIS API for JavaScript and I want to use a value from a feature class attribute as a hyperlink.
For example, "template.setContent("Web Address: http://www.esri.com>${Web_Address}");
This ...
0
votes
1answer
38 views
Using Arcgis and OSM tiles in Openlayers application
I created a map object and specified options according to Arcgis tiled map tiles.
var options = {
scales: [120000, 60000, 30000, 15000, 5000, 2500, 500],
resolutions: ...
1
vote
2answers
24 views
ArcGIS JavaScript API - WFS workaround?
Does anybody know of an existing script or a workaround that will convert WFS returned data into something that the ArcGIS JS API can digest and display? Essentially, it would be some sort of script ...
3
votes
2answers
290 views
How to draw circle of 3 km radius in ArcGIS for ESRI?
I am able to draw the circle but I want a circle of radius 3 kms
I have checked all the previous posts.
I want to know what is the units of radius in the below code.
var radius, circle, ring, pts, ...
4
votes
3answers
52 views
How do I use the Terrain with Labels basemap in the Map constructor
Seems like all the other basemaps can be used in the esri.Map() constructor, but this one doesn't have a corresponding entry in the list of acceptable values. I've tried just "terrain", and it didn't ...
1
vote
1answer
31 views
Sending e-mail on feature update in ArcGIS JavaScript application?
We have an ArcGIS feature service that users can edit to change a "project status" attribute. An example would be a change from "pending" to "in-progress". Certain groups need to be notified when ...
1
vote
1answer
93 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 ...
3
votes
1answer
43 views
Display information in infowindow using KMLLayer and kmz file
I added the kmz layer to my map
www.spc.noaa.gov/products/md/ActiveMD.kmz
However when I click on it, all I get in the infowindow is "MD 1558". (This may change for you since it is updated in near ...
3
votes
0answers
50 views
Esri basemap render speed abnormally slow in Chrome
Summary of Issue:
In my project, using the oceans basemap from Esri is very slow to render when zoomed in very close (for Chrome only). Topo is also slow at high zoom levels, but it is bearable in ...
1
vote
0answers
22 views
Changing the color ramp in arcgis javascript
Using the arcgis javascript api, I am displaying geotiffs. What I want to do is change the color ramp in these images. I've looked through the api and I have not seen anything. Does anyone know where ...
1
vote
0answers
71 views
FindTask result returns an array of features but only displays the last item in the popupwindow
executing the complete findtask url generated by my application from the address bar I get back a good json object that returns 112 features
I was trying to implement functionality similar to this ...
2
votes
0answers
28 views
Showing data in form view (instead of grid view) using ArcGIS API for JavaScript?
Can anyone suggest how to bind data with the help of query in a Form view of the ArcGIS API for JavaScript?
I have done it in Grid view but as the requirement of a client is that I have to bind it to ...
2
votes
1answer
41 views
How to create a time slider using arcgis javascript that only shows a year at a time?
I am looking at this example on how to create a time slider using the arcgis javascript api. Instead of showing the data cumulative from the start date. I want to just show the data for that ...
2
votes
0answers
77 views
Rendering performance
I am using ArcGis Java SDK for creating a map in my JavaFX application. I have a requirement to plot up to 500,000 graphics on graphics layer. When I do 100,000 graphics its performance is really bad. ...
1
vote
3answers
55 views
Remove Geometry from map using ArcGIS API for JavaScript?
I need to remove a geometry from the map. It may be a marker, circle, polyline etc.
I don't see any method like remove, clear or destroy. I already know how to clear everything on the map but this is ...
1
vote
0answers
20 views
Can you set custom fields for a [Feature] Layer?
Is there some way I can "tag" a [Feature] Layer so that I can grab the layer from the service and see in some attribute LocationField =
I suppose I could put that information in the description and ...