|
POST
|
Hi Robert, I have the ESRI Imagery as my basemap and The City of Orange Historic District (NAD83) as my operational dynamic layer. The problem is that the imagery below my historic district is in Saudi Arabia not Orange California. Any thoughts on why this would happen? Thanks Did you define the coordinate system in the ArcMap document you pushed your NAD83 service from? R_
... View more
09-19-2012
12:55 PM
|
0
|
0
|
1220
|
|
POST
|
Turns out that if you don't have the debugger version installed, it just IGNORES the zoom in function rather than throwing the series of errors. It has been logged as bug NIM084978. R_
... View more
09-19-2012
07:55 AM
|
0
|
0
|
2161
|
|
POST
|
Jefferson, Pretty busy this week with work, tuna fishing and all, so not much time to check into this. When I get a chance I'll play with it a little. When I tried it in the past, I could not get any Bing to load unless I specified as tiled so definatly got me curious now. R_
... View more
09-17-2012
11:17 AM
|
0
|
0
|
2714
|
|
POST
|
I finally figured out to just give up on wanting any Bing imagery in there if you want things to work correctly. OR, convert you map to mercator and live with it. As far as I have found, you can't load a Bing layer (VETiledlayer) as type dynamic, so will NEVER re-project on the fly to "my" data coordinate system. I have tested with loading the Bing service into ArcMap document, and publish as a service on my server with my coodinate system. It "works", but not very fast (reprojecting a service of a service), and probably violates one or more of the useage agreements. Anyway, I gave up on Bing maps becase of this. In fact, by looking at your attachment, it appears as if you have it working correctly if you drop the Bing layers. Your "chart" says you have loaded Bing maps as dynamic. Did you actually find a way to do this, or are you just putting type="dynamic" in the layer tag and hoping/thinking it is actually being loaded this way. Last I knew this was not possible. So, if you load your layer first, it will set the wkid to the wkid of that layer. All other layers in the SAME coordinate system can be loaded as tiled(or dynamic) (as long as the tiling scheme is identical), any other services in "another" wkid will have to be loaded as dynamic. So, that does not leave an option to utilize Bing (tiled only AFAIK) unless you switch your map to mercator, then that is the live coordinates you will get. R_
... View more
09-17-2012
09:59 AM
|
0
|
0
|
2714
|
|
POST
|
It's weird... If someone can give any idea... This widget (GoTo) only work if the map is in webmercator? Any ideas? Thanks! The widget seems to work fine with map in State Plane Wa South, NAD83 meters. R_ I am using ArcGIS Server 10.0 sp2
... View more
09-13-2012
12:36 PM
|
0
|
0
|
2714
|
|
POST
|
Hi Rhett - I've been plugging along to get the 'Go to XY' widget working as a standalone. I'm slowly learning as I go, but running into a small issue. Once I launch the "widget" and then close it, the widget 1. doesn't lose focus in the widget panel (ie: the white underline is still below the icon), and 2. it won't re-open. See the on close attachment. Do you know of a quick function/command/something-er-rather to add to the s:TitleWindow to get it to reset? It only resets if I re-launch the applicaiton. Many thanks, Meg Meg, I'm pretty new to the Flex stuff myself, and not sure how to handle this. I tried adding a widgetClosedHandler function, but since it is pulled in by the widget, and not actually the widget, I could not figure out how to have the helper close/minimize the widget it is fired from (visible or not). However, I found a different option that might work for you. I removed CoordinateMenuWidget_GUI from the widgetcontainer in my config xml. I then added the CoordinateMenuWidget to the UI elements section in the config.xml. That way, any time you want to get a coordinate, or GoTo a coordinate, you just use the right-click mouse menu. If you want the GoTo dialog to open when the map starts so that it is visible (also modified the GoToCoordinateDialog title to inform user about right click to re-open), can make this change to the CoordinateMenuWidget .mxml: protected function widgetConfigLoadedHandler(event:Event):void
{
if (configXML)
{
//Set Helper
this.helper = new CoordinateMenuWidgetHelper(configXML,map);
// Map mouse move event handler - captures XY
this.map.addEventListener(MouseEvent.MOUSE_MOVE, onMapMouseMove);
//Hide ESRI About Menu Items
hideESRIMenuItems();
// Load context Menu items.
createContextMenu();
}
else
{
//Show error if XML fails.
Alert.show("There was an error loading the widget configuration XML file ( CopyXY Widget )");
return;
}
\\My Add this.goToCoordinates.show(configXML,this.map);
}
Maybe someone that actually knows what they are doing will chime in and help, R_
... View more
09-13-2012
12:32 PM
|
0
|
0
|
3363
|
|
POST
|
Have you tried downloading it with Firefox or some browser other than IE9? I have seen download corruption issues with that version of IE (some have had issues with IE8 as well). Just a thought as it sounds like the download didn't complete successfully, R_
... View more
09-13-2012
10:06 AM
|
0
|
0
|
771
|
|
POST
|
Have not done exactly this (yet), but it should be pretty simple to have a python script iterate through the list of 14 config files and find the block of text between <widgetcontainer layout="float"> tags and replace it with a the widgetcontainer block from your "template" config file. Then, whenever you make changes, just run the script (or automate it) and the updates are made in one swoop. R_
... View more
09-13-2012
09:07 AM
|
0
|
0
|
1276
|
|
POST
|
Ok, say you load your parcel feature class into a new mxd. then, you can get properties, go to labeling tab and select the "Label Features in this layer" checkbox. select the field you want to label from (I assume you have a dimensions field as as an attribute in the parcels FC?), set up fonts, etc, Scale range and whatever you want. (If your parcel dimensions are not a field in the parcel FC, then this doesn't apply.) Then publish as a service. If you load this service into FV as type="dynamic", when ever you turn on the parcel layer (check the checkbox), the labels should show also (as long as the scale range, etc. has been met) and there isn't a need for an annotation layer. If you can't live with the label placement and such, then an anno layer is best choice. Everything I have mentioned is done in ArcMap, and there is no "code example" for such. R_ Also, are you sure you need to load all the sublayers as type feature rather than just loading the entire thing as dynamic? you mention you need type="feature" for certain tools like search. Search requires you to put in the url to the actual sublayer anyway (which points to a feature type), and will search it just fine, even if that layer is NOT loaded in the map. So, for the search tool anyway, what you search and what you see can be two completely differnt layers. So <layer label="Tax Information" url="http://weba.co.clayton.ga.us/arcgis/rest/services/TaxInformation/MapServer" type="dynamic" alpha="1" visible="true"/> in the config.xml and <name>Parcels</name>
<url>http://weba.co.clayton.ga.us/arcgis/rest/services/TaxInformation/MapServer/8</url>
<expressions>
in the searchWidget.xml will display ALL the layers in the service, but will only search the sublayerid=8 (asssuming that the parcels layer is in the TaxInformation/MapServer/8. I see on a couple that you have the AttRelateInfoWinWidget referenced, and this one does require type="feature". what are you using this widget for? perhaps there is another utility that will get you what you need with type="dynamic"? Also, not sure how these widgets work on a FeatureServer layer as I never used them as I don't do editing with Flex. For AttRelateInfoWinWidget to work, can publish as a MapServer layer and just specify as type="feature" and does not actually have to be published as a FeatureServer. I just gave that a try. The anno layer is only turned on, with all of the other layers off. However, I still have missing symbology and labels. If you have the anno layer "ON", you should see the labels. If not, do you see them in the mxd?
... View more
09-12-2012
12:45 PM
|
0
|
0
|
647
|
|
POST
|
Robert, I can reproduce this with version 3.0. If I grab the slider and slide all the way to the left, and then some, the basemap dropdown dissapears, but, if you don't let go of the mouse button and move back and forth, it is still fading the basemaps. Tested on your site as well. See same behavior. Not that it matters any as it still works great, R_
... View more
09-12-2012
08:57 AM
|
0
|
0
|
2986
|
|
POST
|
I just gave that a try. The anno layer is only turned on, with all of the other layers off. However, I still have missing symbology and labels. I still have to turn on my parcels under the grouped anno layer to see my parcel pins, for example. I would like it so that in the table of contents, checking a box next to a feature turns off the symbology, as well as the label. Can you provide me with any example? I am pretty new to flex. Thanks for the quick response. Not sure what you mean here. How do you know the anno layer is "turned on" if you don't see any labels? Annotation layer will not show the parcel symbology, so would have to "turn on" the parcel layer to see the pins. If you just want the anno layer AND parcel pins, set them both as visiblelayers. You should be able to click a box next to the feature to turn ON the symbology, annotation, etc. My first attempt would be to "fix" it in ArcMap if possible. Is the map document you published behaving as you want? If you want to be able to turn on the parcels and have the pins and labels show, I would try in ArcMap to remove the annotation layer and set the dynamic label properties of the parcel layer. That way, when you turn on the parcel layer, it will also label as set up in ArcMap (scale dependancies, etc.). Other option, if you like the anno layer better, would be to group the parcel layer and the anno layer together so that when you "click" the box, it turns both on. In either case, I'd make sure that it is behaving in ArcMap as you like, then try to get it working in Flex. Also, sometimes there is weird behavior using msd based services. As a test, you may want to right click on the mxd in ArcCatalog and select "Publish to ArcGIS server" and try the map using this mxd based service. this will publish as a mxd based service and will sometimes either fix off behavior or give one a clue as to what is casuing it. R_
... View more
09-12-2012
07:57 AM
|
0
|
0
|
2235
|
|
POST
|
Not sure if this is a bug, or the right forum, but think it is more API related. I imported a brand new FV3.0 uncompiled to make sure it wasn't due to any of my "customizations". Modified the existing config to load the esri fire mapservice as type="feature" and type="dynamic" <geometryservice url="http://tasks.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer" /> <!-- UI elements --> <widget left="10" top="50" config="widgets/Navigation/NavigationWidget.xml" url="widgets/Navigation/NavigationWidget.swf"/> <widget right="-2" bottom="-2" config="widgets/OverviewMap/OverviewMapWidget.xml" url="widgets/OverviewMap/OverviewMapWidget.swf"/> <widget right="20" top="55" config="widgets/MapSwitcher/MapSwitcherWidget.xml" url="widgets/MapSwitcher/MapSwitcherWidget.swf"/> <widget left="0" top="0" config="widgets/HeaderController/HeaderControllerWidget.xml" url="widgets/HeaderController/HeaderControllerWidget.swf"/> <map wraparound180="true" initialextent="-14083000 3139000 -10879000 5458000" fullextent="-20000000 -20000000 20000000 20000000" top="40" addarcgisbasemaps="true"> <operationallayers> <layer label="Dynamic Fires" type="dynamic" visible="false" alpha="1" visiblelayers="0" url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/MapServer"> <sublayer id="0" popupconfig="popups/PopUp_Fires.xml"/> </layer> <layer label="Feature Fires" type="feature" visible="true" alpha="1.0" popupconfig="popups/PopUp_Fires.xml" url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/MapServer/0"/> </operationallayers> </map> If I turn on the type="feature", click on a point/icon, it will popup the info and let me click the zoom to button and it will zoom there (at least until I get to the last LOD). I can click elsewhere in the map all I want (as if panning around the map), then click on the zoom to button (since the popup window is still active), and it will again zoom to the point. However, if I try the same thing with type="dynamic", it will select the point and show the popup window. If I click ANYWHERE else on the map, then click the zoom to button, I get the following error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at com.esri.ags.skins::PopUpRendererSkin/zoomToButton_clickHandler() at com.esri.ags.skins::PopUpRendererSkin/__zoomToButton_click() So, it seems to be losing its mappoint geometry when you click elsewhere on a dynamic layer, but not a feature layer? Has anyone else seen this behaviour, and if so, is there a fix? Thanks again, R_
... View more
09-11-2012
06:26 PM
|
0
|
18
|
5926
|
|
POST
|
Solved. Just used Roberts nifty eSearch widget with the tables option and send to datagrid. R_
... View more
09-11-2012
05:30 PM
|
0
|
0
|
575
|
|
POST
|
Thanks again Robert, works like a charm. No wonder I couldn't figure it out. Guess I should have tried a color that blends with yellow to make cyan 🙂 R_
... View more
09-11-2012
05:02 PM
|
0
|
0
|
2377
|
|
POST
|
I am trying to get the selection outline color to match that of my eSearch widget. The coding is very similar, but does not seem to work correctly in the SelectionWidget. If I don't change it in the config.xml or hard code in the mxml, I get the default browinish color. If I change it in the config.xml or the mxml, it turns to a green color, no matter what I set it to (red, black, white, etc. always is the same green color). In the eSearch widget I set it to 0x00FFFF and get a nice light blue outline. Has anyone figured out how to make this change "take effect" in the SelectionWidget? Any ideas, R_
... View more
09-11-2012
02:13 PM
|
0
|
0
|
2377
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | yesterday | |
| 1 | a week ago | |
| 1 | 2 weeks ago | |
| 1 | 04-02-2026 09:50 AM | |
| 1 | 04-01-2026 01:21 PM |
| Online Status |
Offline
|
| Date Last Visited |
3m ago
|