Picture Marker not visible in print

1132
12
Jump to solution
02-17-2023 07:59 AM
ADITYAKUMAR1
Occasional Contributor III

Hi ,

  I have defined a picture marker which is properly coming on the map.

stopSymbol = {
type: "picture-marker",
url: _globalGISUrl + "Images/marker/inspection-map-markers-no-status.png",
width: "22px",
height: "22px"
};

 

But when I try to take a print of the picture marker is not available in the print pdf.

ADITYAKUMAR1_0-1676649340122.pngADITYAKUMAR1_1-1676649359266.png I am working with JavaScript 4. At some discussion I saw a similar problem where it was told to check if the picture marker is accessible to the print but I am not sure how to check that.

Thanks

Aditya Kumar

 

Tags (2)
0 Kudos
12 Replies
ADITYAKUMAR1
Occasional Contributor III

@LefterisKoumis Thanks for writing.  I just cross-checked and found the url is behaving as expected. Even when I pass the complete url as you wrote, its showing on the map but not coming on the print.

0 Kudos
LefterisKoumis
Occasional Contributor III

Just one more thing to try. Paste the url in an incognito window to see if you still see the png.

0 Kudos
ADITYAKUMAR1
Occasional Contributor III

@LefterisKoumis yes I can see the png file. 

0 Kudos