|
POST
|
David, I noticed the sample page (that Bjorn provided link to) has a zoom to tokyo by center scale example that is in web mercator aux sphere. using that link with your coordinates (in mercator) puts me right at Keeney Park if I did it correctly. Here is that same link with your coordinates for an example. http://resources.arcgis.com/en/help/flex-viewer/live/index.html?center=-13593163.745343,6043701.105245&scale=5000 Not sure what you are asking about calculating it from feature. If you are just after the coordinates in mercator, since your map is in mercator, if you enable the coordinate widget that comes with the viewer, you could get the coordinates at cursor from bottom of the flexviewer map. What I did to make this single point, I added a point data set to ArcMap that was set to WGS84. then, started editing and put in your coordinate, saved, stopped editing. Then, I set my dataframe properties to the WGS_1984_Web_Mercator_Auxiliary_Sphere. Next, I opened the table, right-clicked on my coordinate field to calculate geometry. Choose the Use coordinate system of the "data frame" from radio button (since that is now aux_shpere) and hit OK. This calculated the coordinate I selected to the mercator values instead of lat/long. Is this the info you were after? R_
... View more
03-12-2013
04:56 PM
|
0
|
0
|
1119
|
|
POST
|
No way to test, but it is my understanding that the Bing maps are in web mercator, not lat/long. Have you tried using web mercator coordinates in the URL instead of Lat/Long? R_
... View more
03-12-2013
02:01 PM
|
0
|
0
|
1119
|
|
POST
|
Not sure, but I'll wager a guess. Since the Attribute Table widget does not support MapServices and only FeatureService, I would guess that perhaps you have an actual FeatureServer service for the Easements and not for the other layers? Good info in this thread that might help: http://forums.arcgis.com/threads/73842-New-Attribute-Table-Widget?p=271360#post271360 R_
... View more
03-11-2013
05:31 PM
|
0
|
0
|
1265
|
|
POST
|
Using FV3.1 and the latest available widgets, I am using the SwipeSpotlight widget and the Map Services widget (not the drag/drop, but this one http://www.arcgis.com/home/item.html?id=4ed10ea387444952a3f3f501fee02b76 ). I have added the following to the SwipeSpotlight.mxml: map.addEventListener(MapEvent.LAYER_ADD, mapLayerAddHandler, false); map.addEventListener(MapEvent.LAYER_REMOVE, mapLayerRemoveHandler, false); } private function mapLayerAddHandler(event:MapEvent):void { if(layArr.indexOf(event.layer.name) == -1){ layArr.push(event.layer.name); } } private function mapLayerRemoveHandler(event:MapEvent):void { if(layArr.indexOf(event.layer.name) > -1){ layArr.splice(layArr.indexOf(event.layer.name),1); } } Now, if I add a layer using the MapServices widget and tell it to load at the bottom, it will load t the bottom of the TOC and will show in the dropdown list of the SwipeSpotlight widget. Doesn't really help much, as if it is on the bottom, I don't need to swipe it. However, if I configure to load at the top of the TOC, it will load it fine, but not show on the SwipeSpotlight dropdown unless I remove it, then add it again. So, for some reason, it does not add the "first" layer added by the MapServices widget to the SS widget dropdown. They only get added after a re-order of the list map.reorderLayer(dynLayer.id,configData.basemaps.length); or adding/removing from the list. Any ideas what I am missing? R_
... View more
03-11-2013
05:22 PM
|
0
|
18
|
3930
|
|
POST
|
Have you looked at the config file on your server with a text editor to ensure that the changes are being made? I have seen Flash Builder not "update" config files before. Normally a clean will do it, but I have had to delete my project and re-build before to see certain changes (and restart FB). R_
... View more
03-11-2013
11:04 AM
|
0
|
0
|
683
|
|
POST
|
I believe the issue is here: (notice only the / is red) <field name="PRIORITY_DATE" alias="PRIORITY_DATE" visible="true"/>
<format precision="0" usethousandsseparator="false"/>
</field> Should be: <field name="PRIORITY_DATE" alias="PRIORITY_DATE" visible="true">
<format precision="0" usethousandsseparator="false"/>
</field> Notice I removed the / from the end of the <field> tag (after visible="true"). Putting that slash there tells it that the <field> tag is closed, so it can't assign the "child" format tag to it. removing that / keeps it open, then it will assign the format to that field tag, then you close the field with </field> I tried removing </field> and that removed the popup error HOWEVER the original problem still remains - I still have commas in my number: 19,990,131 Since you are closing the field tag on the original line, the format was being seen as it's own element (not a child), then the </field> tag was no longer associated with an open field tag as it was already closed on the original line. Thus the error, trying to close something that isn't "open". Notice there is not </field> for the items that don't require formatting (or other child tags) as the / at the end closes it. Hope this clarifies it for you, R_
... View more
03-06-2013
11:37 AM
|
0
|
0
|
1039
|
|
POST
|
May, Suspect that the only time it's an issue is when user doesn't realize it's still active and double clicks to zoom in or such??? Guess you could always set keepidentifyactive=false, that way only the first click would be sent to the identify widget. R_
... View more
03-06-2013
10:30 AM
|
0
|
0
|
2109
|
|
POST
|
I tried that edit but I got an error message: Map Manager: A problem occurred while parsing the configuration file popups/PopUp_1.xml Error #1085 [ATTACH=CONFIG]22415[/ATTACH] my xml file is below: <?xml version="1.0" ?>
<configuration>
<fields>
<field name="TPOD_TAG" alias="TPOD_TAG" visible="true"/>
<field name="STRM_NAME" alias="STRM_NAME" visible="true"/>
<field name="STATUS" alias="STATUS" visible="true"/>
<field name="LICENCE_NO" alias="LICENCE_NO" visible="true"/>
<field name="PRIORITY_DATE" alias="PRIORITY_DATE" visible="true"/>
<format precision="0" usethousandsseparator="false"/>
</field>
<field name="LIC_STATUS" alias="LIC_STATUS" visible="true"/>
<field name="PURPOSE" alias="PURPOSE" visible="true"/>
</fields>
<showattachments>false</showattachments>
<showrelatedrecords>false</showrelatedrecords>
</configuration>
You added/didn't remove the / terminating the field tag. The format statement is a child of the field tag, so you can't terminate the parent. Just remove the slash in red and should get rid of that error. R_
... View more
03-06-2013
09:58 AM
|
0
|
0
|
1039
|
|
POST
|
Not sure what to tell you. I just created a UTM NAD27 zone 11N data set, points and polys (created polys as buffer from points). Defined both the data sets and the data frame in arcmap and published (to AGS 10.05). Loaded into a OTB viewer and they display right where they should, and the points fall directly in the center of the polygons, so definatly no difference for polys vs points for me. R_ (in my region, a SW/NE shift normally is the difference in NAD27 vs NAD83 UTM's.) Just tried with AGS 10.11 and get the same results...
... View more
03-06-2013
07:51 AM
|
0
|
0
|
1162
|
|
POST
|
Yes, I can repeat it going that route. In fact, if I turn "both" zoning layers on, it will give me double the amount (double click gets 4 results). Can repeat with police stations/traffic cameras as well. Not sure why, if I get a chance later on, will see if I can make it happen locally, and what is causing it. R_
... View more
03-06-2013
06:41 AM
|
0
|
0
|
2109
|
|
POST
|
Saw this comment from the author on the download page: tedrick(June 14, 2011) Updated with a sample GPX file. Note that the code looks for the xmlns definition to determine which version of gpx to use; if you don't have the xmlns defines, you will get the 'not valid gpx file' error. Suspect that is the issue you ran into. Glad you got it working, R_
... View more
03-06-2013
06:35 AM
|
0
|
0
|
2190
|
|
POST
|
Nope, each time I click, it removed the old, and gives me the new. Only way I get 4 results is if I have 4 "identifiable" layers. R_
... View more
03-05-2013
03:02 PM
|
0
|
0
|
2109
|
|
POST
|
It almost sounds as if the projection is not defined for that one data set. Might run (re-run) define projection tool on that dataset and ensure that it is set correctly. R_
... View more
03-05-2013
02:59 PM
|
0
|
0
|
1162
|
|
POST
|
Looks like all you need to do is make the following change in the GPXTrackPointReaderWidget.mxml and it works just fine in FV3.1. <s:Button id="fileBrowse" click="fileBrowse_clickHandler(event)"
skinClass="widgets.Samples.GPXTrackPointReader.folderButtonSkin"/> Need to delete the section in red as the path is incorrect. R_
... View more
03-05-2013
02:53 PM
|
0
|
0
|
2190
|
|
POST
|
So I still randomly get this message: SecurityError: Error #2048: Security sandbox violation: http://gis01.wch-rcc.com/wch_map/index.swf cannot load data from http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer?f=json. and now this one: SecurityError: Error #2048: Security sandbox violation: http://gis01.wch-rcc.com/wch_map/index.swf cannot load data from http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer?f=json. Of course, I can remove the reference to the world imagery and that sandbox error will go away, but it appears as if the geocode one is scattered throughout the fv. So, since it doesn't appear that anyone can figure out why "this" ESRI server denies us randomly, is there a "better" arcgis server/sampleserver out there that one can point to that is at least consistant (either allow or deny, not both depending on current phase of moon, tide direction, and whatever else seems to be causing this)? R_
... View more
03-04-2013
02:56 PM
|
0
|
0
|
944
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-14-2026 04:00 PM | |
| 1 | 09-14-2022 07:53 AM | |
| 1 | 09-14-2022 08:23 AM | |
| 1 | 05-21-2026 08:53 AM | |
| 1 | 05-14-2026 04:28 PM |
| Online Status |
Online
|
| Date Last Visited |
Monday
|