SubjectRe: Map Legend Widget Part II AuthorRobert Scheitlin DateJan 20, 2010 MessageLets try again third time is a charm...
All,
If you are using my original code than you will want to replace everything to include the asp.net web service as this new service is required to enable multiple Map Services to be used. I hope I made things a lot easier for every one by including a setup for the web service and the source code for the web service as some will have to modify the web service when running into the issue of legend swatch urls not having their servers fully qualified name. Robert Scheitlin
GIS Manager
Calhoun County, Alabama FlexViewerLegend3.zip (opens in new window)
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at com.esri.solutions.flexviewer.widgets::LiveMapsWidget/createRepeaterData()
at com.esri.solutions.flexviewer.widgets::LiveMapsWidget/getLegend_result()
at com.esri.solutions.flexviewer.widgets::LiveMapsWidget/___LiveMapsWidget_Operation1_result()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()
at mx.rpc::Responder/result()
at mx.rpc::AsyncRequest/acknowledge()
at DirectHTTPMessageResponder/completeHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
//dynlayer.proxyURL = configData.proxy;