The ArcGIS API for JavaScript is web mapping API from Esri.

learn more… | top users | synonyms

1
vote
1answer
538 views

How to query all points within the current map extent

First post - apologies if it's a simple question! I am basically looking to have a JS API service which will populate a datagrid with all of the points visible in the current map extent. As a user ...
2
votes
1answer
1k views

drawToolbar is undefined

I keep receiving the error "drawToolbar is undefined" when I click a button to enable the Draw Toolbar from the ArcGIS JavaScript API. I also have the navTool bar in the map so as I understand I need ...
3
votes
3answers
3k views

Displaying HTML popups for feature service

This bit of information caught my eye today as I was reading about Feature Services in the ArcGIS Server .NET help: Feature services also support HTML pop-ups setup in ArcMap. HTML pop-ups are ...
3
votes
4answers
416 views

Is Javascript/AJAX still supported in ArcGIS 10?

A colleague of mine claims that the ArcGIS Javascript web API is not supported for ArcGIS 10+. I searched their website but all the information seemed to indicate that it should still work. Any ...
4
votes
3answers
6k views

How can I calculate the center point inside a polygon in ArcGIS 9.3?

I'm using the JavaScript API 1.6 on ArcGIS 9.3. I have a polygon geometry in an ArcGIS map, and I'm trying to find a way to get the point that lies in the exact center of the geometry. What is the ...
5
votes
3answers
525 views

Measure Snapping with ArcGIS Javascript API

I would like to know if the ArcGIS Javascript API has built in snapping functionality for the measure tool. I am trying to create a measure tool which only measures distances along the edge of roads. ...
1
vote
2answers
691 views

ToC Context Menu Move Layer Up Down

Similar ESRI arcgis.com can anyone give pointers on how to move layer up/down? And of possible include the context menu. Update:Pardon me, Using Javascript API Cheers, blueRace
2
votes
2answers
1k views

How to trigger a hover event for map graphics in ArcGIS Javascript API?

I want to trigger an event when the user hovers over a geometry that they drew. I know how to set up hover events for DOM objects, but not for graphic elements within the map window.
23
votes
6answers
4k views

ArcGIS Web APIs: What are the differences?

Esri currently offers 3 different web API's that can be freely downloaded. Are they all equal? If not, what are the relative strengths/weaknesses of each of these API's?
3
votes
1answer
2k views

Does ArcGIS API support Geoserver's WMS and WFS services?

I want to know whether ArcGIS API for Java Script support Geoserver's WMS and WFS standards. I have published my data on Geoserver and i want to query my data by WFS in ArcGIS API to develope my ...
2
votes
3answers
458 views

How to find wmsURL? And how to use QueryTask method?

I have couple of questions. var wmsLayer = new esri.layers.WMSLayer(wmsURL); with this line of code i can display wms layer over any base Layer. Now From where I get wmsURL ? I have published my ...
0
votes
3answers
1k views

How to access map service from GeoServer and can we use that service in ArcGIS API?

I have installed GeoServer and publish one shapefile on it. Now my question is, How can i access that shapefile from GeoServer? and can i work with that resource (shapefile) with ArcGIS API. As we can ...
3
votes
3answers
4k views

Problems with ESRI JavaScript API

I'm having some problems to get started using the ESRI JavaSript API. I have a test map service published on my notebook but I can't get it to display. I don't have problems with esri hosted services, ...
9
votes
2answers
1k views

Restrict pan and zoom in ArcGIS Javascript API?

I'm creating a web map of a university campus. I have the map functioning, but I don't want to be able to pan off of the basemap, into whitespace. Do you know of a function that will auto-pan the ...