Select to view content in your preferred language

Preview of two great new widgets coming out mid January 2011

31315
156
12-30-2010 10:46 AM
RobertScheitlin__GISP
MVP Emeritus
All,

   I have been working hard on two great new widgets that I want you to preview. The final versions will be made available Mid January 2011 and submitted to the Flex a Widget competition.

http://www.esri.com/events/devsummit/get-involved/widget-challenge.html

The first is a new route widget for FlexViewer 2.2

Its' feature include:


  • Up to ten stops that can be added to the map interactively or by single line address matching using Bing geocoder.

  • Up to ten point barriers that can be added in the same fashion as stops.

  • Interactively added stops and barriers are automatically reverse geocoded.

  • You can calculate by time or distance and optionally use best sequence.

  • Route segments can be individually clicked in the directions list and visualized using a polyline animation (Thanks to Mark Deaton).

  • The big deal for this widget is its' printing capability. Both direct printer output and PDF output are supported. Multi page output with headers and footers and the option to include the large route image are all included. The individual direction segments have maneuver arrows that are included by default but can optionally be turned off. Things like configuring alternating directions background color can also be configured.


So if you are a developer and don't care about routing but want to know how to do moderately advanced multi page printing and AlivePDF techniques than this widget is for you.

Preview here:
http://gis.calhouncounty.org/FlexViewer2.2/index.html?config=config-route.xml



The second one is a new infoTemplate for featurelayers.

The Attachment Relate Info Window Widgets' features include:


  • Ability to specify which fields are displayed

  • Specify one link field that will display as a clickable text or an actual image in the info window

  • Buttons at the bottom of the window for Zooming to feature, querying attachments, querying related features or tables

  • Attachments are preview only and are displayed in a custom grid popup not the standard attachment inspector.

  • Relates are initially displayed in a grid that allows for the selection of which related feature you want to preview and then when you choose the one you want to see then a floating datagrid is displayed with the related records.


In the examples below click on the point in the screen.

Preview of attachment and link capability:
http://gis.calhouncounty.org/FlexViewer2.2/index.html?config=config-attachment.xml

Preview of related feature capability:
http://gis.calhouncounty.org/FlexViewer2.2/index.html?config=config-relate.xml

preview of image link in info window:
http://gis.calhouncounty.org/FlexViewer2.2/index.html?config=config-infoimage.xml
Tags (2)
0 Kudos
156 Replies
RobertScheitlin__GISP
MVP Emeritus
Andrea,

   If you type in an address you have to hit enter for it to be geocoded. I used those exact addresses and got it to route just fine...
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Andrea,

   Also I did not hear from you on the polling place thread. Did my last code accomplish what you were after?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Andrea,

    That is odd in all of my testing I never saw that message and do not get it on my end when I use those addresses...? When you click on the directions button is there anything listed there? The widget does not zoom to the route automatically. You have to click the directions button and click on the directions as the tooltip says to zoom to the route.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Andrea,

   Strange, do me a favor and try it from home or some other network. I will try the link from home also, but I am pretty sure I have tried the link from multiple different location (i.e. networks) and it works.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Andrea,

   That would concern me a little... Why is your network blocking this from working???
0 Kudos
JessicaKilpatrick
New Contributor II
Thanks so much for all your work.  Your Attachment Relate Info Window Widget is really impressive and i would love to adapt it to my data. I have downloaded your widget and began testing it with your config-relate.xml. However I am receiving an error in the AttRelateInfoWinWidget.mxml.  The specific error is  1172: Definition widgets.InfoTemplates:InfoContentItemRenderer could not be found.  I have looked for this missing mxml and i am not finding it anywhere in the downloaded data.  Am i missing something or do you know what would cause me to receive this error?  Thanks again for sharing this widget.

Jessica
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Jessica,

   Definite oversight on my part. I have updated the zip file and it now has it included.
0 Kudos
JessicaKilpatrick
New Contributor II
Great thanks works like a charm now!
0 Kudos
KFBONG
by
New Contributor
Hi Robert,

Tested the widget with my own data: the viewing of images modelled on IWT_cameras.xml is OK and great, but facing a problem while publishing 2 Arcsde tables involved in a relationshipclass in order to serve the relate feature. ArcGIS server manager error message is "Unable to start service. Error (configuration projects/xxxx ...)".

Do you know any other existing widget, that behave similar to Identify window on ArcMap, able to list down more all the features in a layer at a cursor click location, and provide hyperlink function too?

Thanks,
KF



All,

   These widgets are now released. Don't forget to rate them and let me know what you think. Then starting February 21st don't forget to vote.

Route Widget link:
http://www.arcgis.com/home/item.html?id=992b1f691f44489aa4dcbafe2db66700

Attribute Relate Info Window Widget:
http://www.arcgis.com/home/item.html?id=4ec33120c9ea4d019fddf722fc34ea3c
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
KF BONG,

   No, there is no others that I am aware of. It sounds like you just have some issues with ArcGIS Server publishing the related tables probably permissions issues. I would call tech support and get guidance or post to the Server General forum.
0 Kudos