AnsweredAssumed Answered

geoJSON image not showing in pop-up -- how to get path to my png on ArcGIS cloud

Question asked by srogers_ut_austin on Aug 3, 2018

Right now, I click on my geoJSON map and it's pop-up has an image icon indicating that it knows I want to display an image but it doesn't have the right path.

I would like to edit my geoJSON so that when I click on map the pop-up has the right path to my png on ArcGIS cloud.  I have one directory with the geoJSON and its pngs.  I look forward to hearing from you.  Thanks, Susan

 

This does not work to simply put the Mississippi.png into the geoJSON (without a path):

{ "type": "Feature", "properties": { "Name": "Mississippi 5,649,690 sqkm", "description": "<img style=\"max-width:1500px;\" src=\"file:Mississippi.png\">", "timestamp": null, "begin": null, "end": null, "altitudeMode": null, "tessellate": -1, "extrude": 0, "visibility": -1, "drawOrder": null, "icon": null, "BasinName": "Mississippi", "Area_sqkm": 5649690.0, "GRASSRGB": null }, "geometry": { "type": "MultiPolygon", "coordinates": [ 

 

It didn't work to copy the "download image" address and paste it in the geoJSON:

{ "type": "Feature", "properties": { "Name": "Mississippi 5,649,690 sqkm", "description": "<img style=\"max-width:1500px;\" src=\"file:https://ago-item-storage.s3-external-1.amazonaws.com/df4045d351334c9d87f823d907172d26/Alabama.png?X-Amz-Security-Token=FQoGZXIvYXdzEFEaDPWfgnwZCD1E8SU5hCK3A3Y4MX3Fnm2jC2DwU2GYs52rJZ9qQaLyOQTZa8Znan6RxZdwPMpvkCP%2Bz3FdnUSzNgLckmz19K5pYxgf8BOpxQFtfpLw9vdqHYofPYFa%2BYBf3FwOzMLS8wH9Qru7FhADVIHpeHGcVL6Sn2C32wMHXy2%2BB2vXWVUPemM%2B5zN%2FrZKcm2Nzbe7ZDQ0BAkhnKfjq%2FvzQLUk0la3qjoCo%2FD8Cpo%2B8gy%2FdNpGoaqaixwKaPuleAfw1D12dbLBNndzbNbrVXO%2BxmyhS0X0Ihw6ixXz8FU4SF1k%2FctYA7vzBdQPzyfwum%2BhZD%2BzndcZAbc893kRUSac0NnRo0%2FjSE%2BcAnR0wCjy1oJOiOMiIl9h74%2FS2sVsEUqfBnXZADuCkLxfyo3It0tYW3Gn4Fr2rW1LQXUmgC7sPaoybI5i8K3cWFT8hx0GzgraBrp5Hb87ptNJVGeN8d1%2FBVIG55BJol%2B32c%2BRlU81hLSuQYrNmXc4LtQmPp%2FI8y1PaWqjIuDSz1ai%2BzOyxRGyLLxk8hxjlMoFja5jtmZKYBpeeX1FofAEMMY%2F3hH%2BPyDnuFBHyojoqgSc72IxG6v0Zofe7ikQovu6R2wU%3D&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20180803T165749Z&X-Amz-SignedHeaders=host&X-Amz-Expires=300&X-Amz-Credential=ASIAYZTTEKKE2MVOW7P4%2F20180803%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=d8e1a9402c22edc27822f37c3184893a4a2e3ad17225a31071b3bf9343cde6bc\">", "timestamp": null, "begin": null, "end": null, "altitudeMode": null, "tessellate": -1, "extrude": 0, "visibility": -1, "drawOrder": null, "icon": null, "BasinName": "Mississippi", "Area_sqkm": 5649690.0, "GRASSRGB": null }, "geometry": { "type": "MultiPolygon", "coordinates": [ 

Outcomes