Select to view content in your preferred language

Weather Underground Widget Question

1311
6
02-08-2012 09:00 AM
MattGiles
Deactivated User
Hi Robert,
I am trying to modify your widget for use in Canada. It works very well already since weather underground also provides weather forecasts for Canada. However, when i click a point it often brings up an error message:

[error event target:[object GeometryService]

event type: fault

fault code: 400

fault info: unable to complete project operation.]

Do you know what could be causing this?
Tags (2)
0 Kudos
6 Replies
RobertScheitlin__GISP
MVP Emeritus
M Giles,

   Try pointing the geometry service to your own server instead of using esri's

In the WUndergroundWidget.xml change:

<geometryservice>http://yourserver/ArcGIS/rest/services/Geometry/GeometryServer</geometryservice>

Don't forget to click the Mark as answer check and to click the top arrow (promote) as shown below:
0 Kudos
MattGiles
Deactivated User
Ok thanks so much Robert as always.

One more thing - when i search in the text box for cities in Canada it returns nothing...is it possible to modify the code to find locations ONLY in Canada??

Thx again
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
M Giles,

   Are you using locations like "Vancouver, British Columbia" or "Sherbrooke, Qubec"? Or use a Postal code like K1A 0A1 or an airport code like CYVR.
0 Kudos
MattGiles
Deactivated User
I tried locations like "Ottawa" and "Vancouver" and no results returned
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
M Giles,

   Well that is the issue the geolookup does not know where to look for "Vancouver" you need to specify that it is in Vancouver, British Columbia Just like trying to search in the US for Charolette vs Charolette, SC.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
All,

  There is a new version of this widget available:

Version 3.0.1 - Sept 20, 2012
* Fixed issue with PopUp and returned it to the more enhanced look that existed in 2.5.1 version.
* Added link alias to the configuration xml.
0 Kudos