Select to view content in your preferred language

Preview of two great new widgets coming out mid January 2011

33179
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
DonCaviness
Occasional Contributor
Robert, have you had any success in manually reordering the stops for the routing widget?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Don,

   I am looking into it right now.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Don,

   Test drive the updated Live Preview Site an tell me if that is what you where thinking.

http://gis.calhouncounty.org/FlexViewer2.2/index.html?config=config-route.xml
0 Kudos
FrankRoberts
Frequent Contributor
Robert, the Route Widget I have compiled for my own site is throwing this error when I type a address:

RPC Fault faulstring="Unathorized" faultCode="401" faultDetail="Access was denied You may have entered your credentials incorrectly, or you might no have access to the requested resource or operation."

I tried the same address on your site and it works dandy.  Any ideas?

Thanks,
Frank
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Frank,

   Did you add your BING maps key like the instructions point to?
0 Kudos
FrankRoberts
Frequent Contributor
I see said the blind man!

I had the bing key in my basemaps -> <mapservice> tag, but not in the <bing> tag, under the <style> tag in my config.xml.

e.g.

<bing key="my triple top secret key... "/>


Thanks!
Frank
0 Kudos
JohnGregorovic
Deactivated User
Hi Robert,

I really would like to be able to use the routing tool, but for some reason it's not working for me.  I have added my bingkey to the config file.  I am getting the Route66 sign when my page loads.

But when I pres the icon, nothing happens.  I have it set to not load on start up, but even when I have it load on start up, the icon shows that it is selected, but no pop up window.

I haven't seen anyone else with this problem, the strange thing is I am not getting any error message, just not working.

Do I need to be using Bing maps, I got the impression that wasn't required.  Also I am still on 9.3, is that a problem?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
John,

   Are you using the compiled version or are you building FlexViewer using FlashBuilder?
0 Kudos
JohnGregorovic
Deactivated User
John,

   Are you using the compiled version or are you building FlexViewer using FlashBuilder?


Sorry for the delay in replying, I have been out a couple of days.  I am using the compiled version.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
John,

   A couple of things to check:
1. are you using Flexviewer 2.2 because I only included the compiled version for flex viewer 2.2.
2. are you sure you have the widget in the config.xml with every thing spelled and in the exact case (flex is case sensitive).
0 Kudos