Ayesha,
Those packages will be in the API download not the viewer download, the download should come with the instructions of how to add the packages to the viewer, you will need the same version of the API to the viewer you are using:
ArcGIS API for Flex | ArcGIS for Developers
regards
Anthony
Hi Anthony,Decided to update my version of the AddExcel widget into FV3.1 but now it is not able to find a couple imports.
Says these imports are "not found". I'm using the api build 12/12/12 is there a newer one that I am missing, or does one need to find these imports elsewhere?
Thanks,
R_
HI.............can anyone help me to remove these errors as ags class package is not given in dowloadable link on esri site.....from where i can get these two packages
reply plz
George,Do you have the ability to amend the source code? If so the fix you require to add an excel spreadsheet in decimal degrees to a web Mercator application is as follows:Add the following import statement:import com.esri.ags.utils.WebMercatorUtil;Change the gmapPoint variable as illustrated below:var long:Number = Number(tempData.getItemAt(i)[longNumb].value);var lat:Number = Number(tempData.getItemAt(i)[latNumb].value);// var gmapPoint:MapPoint = new MapPoint(long,lat,new SpatialReference(4326));var gmapPoint:MapPoint = new MapPoint(long,lat);gmapPoint = WebMercatorUtil.geographicToWebMercator(gmapPoint) as MapPoint;RegardsAnthony
import com.esri.ags.geod.Ellipsoid; import com.esri.ags.geod.geom.MoreUtils;
import com.esri.ags.webmap.PopUpRenderer; import com.esri.ags.webmap.supportClasses.PopUpInfo; import com.esri.ags.webmap.supportClasses.PopUpMediaInfo;
import com.esri.ags.portal.PopUpRenderer; import com.esri.ags.portal.supportClasses.PopUpInfo; import com.esri.ags.portal.supportClasses.PopUpMediaInfo;
Thank you.Was so close, but could not get it to work.Made this change AND made sure my as3xls src stuff was in the com folder and all is working and happy.R_
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.