Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to integrate ArcGIS Online web map to my java script API?

I check the samples but in which only web map is added..

I have few layers in .html file (Like feature,dynamic etc. and I want to integrate one web map to my application.)

share|improve this question
So, are you saying that you found the html code to embed an ArcGIS Online map into your webpage, but you want a javascript code version instead? – Baltok Nov 5 '12 at 15:19
up vote 3 down vote accepted

Yes, it is possible to use ArcGIS Online web map in your javascript application. There are several samples on the resource center. One of them adds a graphicslayer, but you could also add a feature layer instead, see on how to use map.addLayer().

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.