I have located a hospital and provided a new symbol to it. Also added a STREETS basemap to it.

I can see both of them on the map on screen. But when I try to generate a report (using Print Task), every detail is present in the report, except for the symbol and the basemap.

This is how I added the basemap:

    var url = "http://services.arcgisonline.com/arcgis/rest/services
    var tiledLayer = new ArcGISTiledMapServiceLayer(url,{"id":"Streets"});

This is how I added the Picture Marker Symbol:

    myLayer.add(new Graphic
        locateFeature.geometry, featureicon2, locateFeature.geometry.attributes

Both of them are rendered on the map but not in the report (after the Print Task is executed).

Is there any way to get them rendered? Please help!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.