Change ESRI logo Print in Directions Widget WAB

705
2
10-10-2017 11:48 AM
ÁlvaroArroyo_Calzada
New Contributor

Hello;

 I would like to know if  is possible to change the ESRI logo image  in the print template of the Directions dijit  included in the WAB Directions Widget, by other image.

 

 I have tried to get the  img HTML element through its css class and change the src property but the variable is empty because i think that  the directions diit and the print template are different HTMLs.

 You can see a example in:

https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=widget_directions_basic . 

The print button is displayed after calculating a route.

You can see the logo in the attached file.

 

Best regards

0 Kudos
2 Replies
saraemani
New Contributor II

Did you find the answer? I have the same issue.

0 Kudos
AlbertoLópez
New Contributor III

Hello;

You can set the printPage property of the Directions class like this:

printPage: "widgets/Directions/newPrintTemplate.html"

GitHub - driskull/print-directions: Print Directions template for the ArcGIS Directions widget. Use ... 

Regards.