Select to view content in your preferred language

From Resource Center Sample to Flex Viewer Widget

1527
8
02-22-2011 08:11 AM
StuartBlumberg
Emerging Contributor
Could someone point me to a good resource on how I can easily turn one of the resource center samples http://help.arcgis.com/en/webapi/flex/samples/index.html into a Flex Viewer widget.  Using version 2.2.  Thanks.
Tags (2)
0 Kudos
8 Replies
BjornSvensson
Esri Regular Contributor
Hi Stuart,
Is there a specific sample you have in mind?  There are some 100+ samples and depending on which one you are trying to implement in the Flex Viewer, the best solution would differ.

In general when extending the Viewer, the best option is usually to create a new widget. See for example:
Creating a Custom Widget
0 Kudos
StuartBlumberg
Emerging Contributor
I'm just trying to get clustering to work in the sample flexviewer, do I need to create a seperate widget for this?  Thanks.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Stuart,

   Here is a link for a Clustering with flare widget for Flex Viewer 2.0

http://forums.arcgis.com/threads/12139-Clustering-and-Info-Windows-on-Flares
0 Kudos
StuartBlumberg
Emerging Contributor
Thanks Robert, I was able to implement it but I was looking for something like they have in the samples.  Where you can hover over a cluster and they spread out giving the user the option to click on one to receive an attribute infowindow. Would it be difficult to make that sample a widget?
0 Kudos
StuartBlumberg
Emerging Contributor
Stuart,

   Here is a link for a Clustering with flare widget for Flex Viewer 2.0

http://forums.arcgis.com/threads/12139-Clustering-and-Info-Windows-on-Flares


Robert, is the cluster widget you created supposed to flare out like the sample in the resource center?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Stuart,

   No I accidentally typed flare in my previous post. What I did was took Mansour's Cluster by Attribute code and developed a widget for it.
0 Kudos
StuartBlumberg
Emerging Contributor
No problem, thanks Robert.
0 Kudos
MarkSmith1
Deactivated User
Stuart,

Did you have any luck implementing this?
0 Kudos