<coordinateSystem name="GCS WGS 1984 (Decimal Degrees)" wkid="4326" decimals="9" />
This has been discussed in the thread, see above. Draw corrected the source code, either download the zip file again or follow rzufelt's correction to fixed the typo in the source.
But I have an issue: the "Live Coordinates" section in the UI show only X values in both x and Y field.
If it's new in 10.1 then you will want to ensure that you are using a 10.1 Geometry service.The default service I have specified in the config is probably 10.0. Either change it to use your geometry service or you can use ESRI's 10.1http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/Geometry/GeometryServerDrew
I cannot make the new definition of ETRS 1989 GK21FIN work. It came with ArcGIS version 10.1. wkid=3875.The older definition wkid=3128 works.What's wrong? Should I use my own GeometryService?JarmoArcGIS Server 10.1, Flew Viewer 3.0.
There is a typo in the CoordinateMenuWidget_GUI.mxml. if you have uncompiled you can change this: <s:Label fontWeight="bold" text="Live Coordinates"/> <s:HGroup width="100%" color="#C4C4C4" fontSize="10"> <mx:Label fontWeight="bold" text="X:"/><mx:Label width="100%" text="{this.mouseMoveMapPoint.x.toFixed(helper.precision)}"/> <mx:Label fontWeight="bold" text="Y:"/> <mx:Label width="100%" text="{this.mouseMoveMapPoint.y.toFixed(helper.precision)}"/> </s:HGroup> If you comment out that entire section, it removes it from the GUI. R_
<s:Label fontWeight="bold" text="Live Coordinates"/> <s:HGroup width="100%" color="#C4C4C4" fontSize="10"> <mx:Label fontWeight="bold" text="X:"/><mx:Label width="100%" text="{this.mouseMoveMapPoint.x.toFixed(helper.precision)}"/> <mx:Label fontWeight="bold" text="Y:"/> <mx:Label width="100%" text="{this.mouseMoveMapPoint.y.toFixed(helper.precision)}"/> </s:HGroup>
UPDATE: Viewer 2.5 version now available for download.
Is there a way to change the units of a coordinate system? People in my organization occasionally try to utilize UTM feet. Yes I hate it too and typically go on one of my rants when they do but it doesn't stop them. Is there a way to support UTM feet? <coordinateSystem name="UTM Zone13 Meters NAD 1983" wkid="26913" decimals="2"/>I think I am hoping there is a way to modify the coordinate system units to US Survey feet. Is there an unpublished protocol I don't know about?Chris
Andrew,Looks like others have helped. It has been ported over here:http://forums.arcgis.com/threads/61128-CoordinateMenu-Widget?p=211084#post211084R_
Hi Andrew,Great little widget, use it all the time.Was wondering if you have plans to port this to the pre-release3 API any time?Thanks,R_
Hi Andrew Firstly - awesome widget, has gotten great use around our team. I have now got the job of building a viewer for a company that have their own projected coordinate system (no WKID) and I was wondering if I can somehow use it with your widget? I have had a look at the ReadMe.txt however not much luck. Thanks heaps 🙂 Dominique
VWeb (MapServer) View In: ArcMap ArcGIS Explorer ArcGIS JavaScript Google Earth ArcGIS.com Map View Footprint In: Google Earth Service Description: Map Name: Layers All Layers and Tables Layers: Base (0) Surface_Features (1) Seismic Line (2) Urban (3) Urban Center (4) Community (5) Towns (6) Water (7) Annotation_Water_20K (8) Annotation Class 1 (9) Annotation_Water_50K (10) Annotation Class 1 (11) Water_Line_20k (12) Water_Line_50k (13) Water_Polygon_20k (14) Water_Polygon_50k (15) Water_Line_250K (16) Water_Polygon_Islands_250K (17) Water_Polygon_2mil (18) Water_Line_2mil (19) Water_Pacfic_oc_Provincial_Shoreline (20) Roads (21) Roads x1 (22) Roads x2 (23) Roads x3 (24) Oil & Gas (25) Wellsites (26) Pipeline_R/W (27) Grids (28) UTM_TARGET (29) BCGS_Index (30) PNG (31) P&NG Group (32) Letter Block (33) Unit (34) Number Block (35) Mapsheet (36) District_Lots (37) Administrative Boundaries (38) Land_Use_Background (39) Tenure (40) Forestry (41) Cutblocks (42) Tables: Description: Copyright Text: Spatial Reference: 3857 Single Fused Map Cache: false Intial Extent: XMin: -13458714.8258235 YMin: 7595516.94052755 XMax: -13431961.8659237 YMax: 7606370.99854403 Spatial Reference: 3857 Full Extent: XMin: -18305842.9979 YMin: 5552185.1391 XMax: 840681.6802 YMax: 14793217.5532 Spatial Reference: 3857 Units: esriMeters Supported Image Format Types: PNG32,PNG24,PNG,JPG,DIB,TIFF,EMF,PS,PDF,GIF,SVG,SVGZ,BMP Document Info: Title: Author: Comments: Subject: Category: Keywords: AntialiasingMode: None TextAntialiasingMode: Force Supported Interfaces: REST SOAP Supported Operations: Export Map Identify Find Generate KML
Geographic Coordinate Systems http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/index.html?gcs.html --> <coordinateSystems> <coordinateSystem name="NAD 1983 UTM Zone 10" wkid="26910" decimals="4"/> <coordinateSystem name="NAD 1927 UTM Zone 10" wkid="26710" decimals="4"/> <coordinateSystem name="Web Mercator" wkid="102101" decimals="4"/> <coordinateSystem name="GCS WGS 1984 (Decimal Degrees)" wkid="4326" decimals=""/> <coordinateSystem name="World Mercator" wkid="54004" decimals="4"/> <!-- <coordinateSystem name="GCS WGS 1984 (Decimal Degrees)" wkid="4326" decimals="2"/> --> </coordinateSystems> <!-- Zoom To Coordinate Scale --> <zoomScale>5000</zoomScale> </configuration>
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.