AnsweredAssumed Answered

Add basemap using Java Arcobjects

Question asked by peterlen on Mar 6, 2018

I thought I would find this somewhere on the web, but no such luck.  I am using Java ArcObjects 10.4 and want to add a basemap (via a URL) to a map document.  For example, if I had the following URL, how could I create a layer object to add to my map document:

 

"http://server.arcgisonline.com/arcgis/rest/services/ESRI_StreetMap_World_2D/MapServer"

 

Thanks for any advice - Peter
        

Outcomes