Select to view content in your preferred language

Preview of two great new widgets coming out mid January 2011

33219
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
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
philippschnetzer
Frequent Contributor
Very nice work!  Just to clarify...in order for this widget to function the operational layer must be type="feature"....and in order for that to be true that layer must reside in an SDE...

You cannot simply have a related table join in ArcMap within a FGDB (no SDE whatsoever) and expect that to work with this widget...

Correct?
0 Kudos
JeffLewis2
Emerging Contributor
Robert,
I appreciate you posting your new widgets, they are very helpful. I wanted ask you if you are able to embed a website in the query widget. Using the traffic camera example, we've live traffic cameras streaming all the time. Is there a way to make their url show in the infopopupwidget? We've had a developer put together a site using google.
http://tmc.baycountyfl.gov/
I'd like to replicate the pop-ups in flexviewer if possible. I can get it to go to the link of the web camera but can't get the camera feed embedded in the pop-up screen. Any suggestions?

Thanks
Jeff Lewis
Bay County FL GIS
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Very nice work!  Just to clarify...in order for this widget to function the operational layer must be type="feature"....and in order for that to be true that layer must reside in an SDE...

You cannot simply have a related table join in ArcMap within a FGDB (no SDE whatsoever) and expect that to work with this widget...

Correct?


Phillip,

   I am not sure, but I think the SDE requirement is only if you want to publish the map as a Feature Service (for editing). My widget only requires the operational layer to be a Feature type that can point to a feature service or a map service. If you try with a FGDB and it does not work I will look into this to see if I need to document this limitation.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Jeff,

   What you are asking is definitely not possible with out code changes (if at all). Flex does not have any embeded html support. There is a component called the flex-iframe that could be used but I am not sure that it would support live video streams.

http://code.google.com/p/flex-iframe/
0 Kudos
philippschnetzer
Frequent Contributor
Robert.

Works perfect with everything in a FGDB.  No restrictions...flawless.  Awesome!

Thank You!!!!!
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Phillip,

   Glad you like it. Don't forget to rate it and leave comments on the download page.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Robert,
I appreciate you posting your new widgets, they are very helpful. I wanted ask you if you are able to embed a website in the query widget. Using the traffic camera example, we've live traffic cameras streaming all the time. Is there a way to make their url show in the infopopupwidget? We've had a developer put together a site using google.
http://tmc.baycountyfl.gov/
I'd like to replicate the pop-ups in flexviewer if possible. I can get it to go to the link of the web camera but can't get the camera feed embedded in the pop-up screen. Any suggestions?

Thanks
Jeff Lewis
Bay County FL GIS


Jeff after looking at the site you provided it looks like when you click stream all it does is changes the html img src to a non static url like "http://tmc.baycountyfl.gov:2310/axis-cgi/mjpg/video.cgi?resolution=CIF&camera=3&dummy=63431116510736..." so it might not be that hard but would still take some work from you to get it to work.
0 Kudos
GeraldLee__GISP
Frequent Contributor
This is just awesome, Robert. thanks for all the effort and sharing your talents!
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Andrea,

The image button issue is because those buttons are set to fields that are not real url fields they are there just to demonstrate that you can add multiple icon buttons.

Just thought I would let you know, I was trying to use your route widget and it's not working. Keeps giving me "Unexpected end of input. Clear and start again or add another valid stop." Maybe I'm not using it right.
  Can you give me the addresses you are attempting to route?
0 Kudos