krobine

Append div to InfoWindow

Discussion created by krobine on Jan 8, 2014
Latest reply on Jan 8, 2014 by TimSparq
I'm trying to figure out the best way to append a Div (with a bunch of HTML) to an InfoWindow. I'm attaching InfoWindows to several different graphics layers. Each one has different formats for attributes. I'm using an onclick event to grab the attributes from the graphics, and insert it into a fairly fancy div. Now, I need the map/pan (extent-change event) to handle setting up the proper anchor with the graphic.
Whats the best method to set this up?

Outcomes