Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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.)

Any help will be highly appreciated : )

thank in advance : )

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

1 Answer 1

up vote 2 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 http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/ags_fullmaplayout.html on how to use map.addLayer().

share|improve this answer
    
thanks for your reply..I will check it and let you know.. thanks –  Sunil Nov 30 '12 at 8:09

Your Answer

 
discard

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.