AnsweredAssumed Answered

Point me in the right direction for making this custom widget

Question asked by MidnightYell2003 Champion on Jan 4, 2017
Latest reply on Jan 5, 2017 by MidnightYell2003

Hi, I want to create a 'simple' custom widget for Web AppBuilder (Developer edition 2.2) and not sure on the right path to take in making it happen.

 

I have run through this little tutorial

Create a custom in-panel widget—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers 

Which was good and all but I was wondering if there were something more specific for what I want to do.

 

I hope this is simple but here is what I am thinking. I have a point layer that contains URLs for spherical photos. I want to be able to open a widget that has a tool (similar to the Google Streetview widget from Robert) that when you click on the point, it pops up a small box (like Google Streetview) that contains the spherical image (using iFrame html, I would think). I hope this makes sense.

 

Here is a sample link to a spherical image: https://cdn.pannellum.org/2.3/pannellum.htm#panorama=https://meiamerica.com/GIS/Images/15055/Spherical/Sr10159.jpg&title… 

[I am trying to embed it into this thread using 'iframe' so we will see if it works - well, it worked when I composed the message...]

 

Is there an example I can look at that makes a custom widget that brings up its own pop up box that can embed an image like this? (and hopefully in terms that a non-programmer, but wanna-be-programmer, can understand)?

 

Thanks,

Adrian

Outcomes