Robert, Is it only also ???advisable??? to include the .prj file or is it necessary? I have a plume modeling program that pushes out the attached files in zip format. [IWMDT_shpOutput.zip] It loads with no errors but at 0,0 - this is probably because there is no projection file. (I added projection and everything works great.)
My concern is my customers have been using an adapted Flex Viewer Version 1.0 [Build: 06.12.09]. In this application I was using the original widget called ???ShpOverlay??? that I have attached as well. Using these same files (without .prj files), the ShpOverlay widget works fine. See attached plume sceen capture.
Is this new generation of the same widget (Version 3.3.1) handling the shapefiles differently? Or am I doing something wrong.
This is my environment: . Shapefiles Widget Version 3.3.1 - July 2, 2013 . ArcGIS 10 Server Advanced Enterprise SP5 (10.05) . ArcGIS Viewer 3.3 for Flex (Source code) [arcgis-viewer-flex-3.3-src.zip] . ArcGIS API 3.3 for Flex [arcgis_api_for_flex_3_3.zip] . Flash Builder 4.6 [FlashBuilder_4_6_LS10.exe] . Flex SDK 4.6 [flex_sdk_4.6.zip]
My widget expects (does not require it if the shapefile is in the same WKID as the Map) that the shapefile will have a prj and if it does not then it will set the shapefiles WKID to equal the maps WKID. This is different then the ShpOverlay widget which did not concern itself with projections at all.
My widget expects (does not require it if the shapefile is in the same WKID as the Map) that the shapefile will have a prj and if it does not then it will set the shapefiles WKID to equal the maps WKID. This is different then the ShpOverlay widget which did not concern itself with projections at all.