|
POST
|
Look fo source code in this blog: http://thunderheadxpler.blogspot.com/2010/07/merging-table-of-content-and-legend.html
... View more
06-02-2011
12:24 AM
|
0
|
0
|
422
|
|
POST
|
http://code.google.com/p/flex-autocomplete/source/browse/#svn%2Ftrunk%2Fexamples
... View more
05-30-2011
10:34 PM
|
0
|
0
|
277
|
|
POST
|
http://www.adobe.com/flashplatform/certified_devices/
... View more
05-25-2011
11:48 PM
|
0
|
0
|
956
|
|
POST
|
I have tried republishing the mapservice, clearing the rest cache, restarting the service but nothing changes. 1 - You think the mapservice is not correct? Try to preview it with ArcGIS JavaScript or ArcGIS.com (screen1.png). If preview is fine, let's go to flex code. If not, repair your mapservice. 2 - Map service is correct, but you still have the same problem? Sublayer, you added, is on top of other layers. Read this topic, may be it helps you.
... View more
05-24-2011
04:58 AM
|
0
|
0
|
734
|
|
POST
|
Each com.esri.ags.Map element has com.esri.ags.layers.supportClasses.StaticLayer as child. This StaticLayer extends spark.components.Group and has childs: Navigation, ScaleBar, Images... I think you must extend com.esri.ags.Map class and com.esri.ags.layers.supportClasses.StaticLayer class to override bing logo visibility. This code is simple way to see how many childs in your map component and in default StaticLayer. In this sample (Bing Maps map styles) added removeMapLogo() function private function removeMapLogo():void
{
var staticGroup:Group;
if (map)
{
for (var counter:int = 0; counter<map.numChildren; counter++)
{
try
{
var mapChild:DisplayObject = map.getChildAt(counter);
trace(">>> map child " + mapChild.name);
if (mapChild.name.search("Static") != -1)
{
staticGroup = mapChild as Group;
}
}
catch (error:Error)
{
trace(error.getStackTrace());
}
}
}
if (staticGroup)
{
for (var indexer:int = 0; indexer<staticGroup.numChildren; indexer++)
{
try
{
var groupChild:DisplayObject = staticGroup.getChildAt(indexer);
trace(">>> Static Layer child " + groupChild.name);
if (groupChild.name.search("Image") != -1)
{
groupChild.visible = false;
}
}
catch (error:Error)
{
trace(error.getStackTrace());
}
}
}
} and bing layer update listener protected function veLayer_updateCompleteHandler(event:FlexEvent):void
{
removeMapLogo();
}
<esri:VETiledLayer id="veLayer"
...
updateComplete="veLayer_updateCompleteHandler(event)"/>
I think, what using this code in final application is not good, but you can play with it to understand what is com.esri.ags.Map component. Good luck.
... View more
05-23-2011
12:29 AM
|
0
|
0
|
1408
|
|
POST
|
My flash player debug version is 10,2,153,1 Development By Design projects Startup bug. TypeError: Error #1009: Cannot access a property or method of a null object reference.
at awwi/filterReset2()
at awwi/search2()
at awwi/metaInit()
at awwi/__metaADG_creationComplete()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at mx.core::UIComponent/set initialized()
at mx.managers::LayoutManager/doPhasedInstantiation()
at mx.managers::LayoutManager/doPhasedInstantiationCallback()
... View more
05-17-2011
10:16 PM
|
0
|
0
|
515
|
|
POST
|
We had the same problem. Parsing polygon geometries takes a lot of time. 1 - We do not show map tips at all scales - for example in map full extent (scale 4000000) we have about 10000 features - its not possible quickly load and parse all geometries from server. featureLayer.minScale = 100000;
featureLayer.maxScale = 0; 2 - By default we do not turn map tips on. We have toolbar, where client can turn on map tips for selected layers.
... View more
05-11-2011
04:34 AM
|
0
|
0
|
1885
|
|
POST
|
Placing the FeatureLayer inside the Map tag would require listing everyone of those fields I would potentially need to query in the Outfields, correct? Yes. The same as if you make a QueryTask call to FeatureService. So what I'm hearing is that you cannot (or shouldn't) place the URL of a FeatureService in the identifyTask MXML tag, correct? No. May be because my English is too bad, I did not understand your post question. 1 - My mistake. Identify on FeatureLayer in your post header for "ArcGIS API for Flex" confused me. I think what you are talking about com.esri.ags.layers.FeatureLayer. 2 - FeatureService (//server/ArcGIS/rest/services/name/FeatureServer/layerID) Supported Operations are "Query" "Add Features" "Update Features" "Delete Features" "Apply Edits". No Identify supported. Good luck.
... View more
04-27-2011
10:49 PM
|
0
|
0
|
796
|
|
POST
|
Some things before I make any query in web application: 1 - open service in web browser and click QUERY in Supported Operations field. Set query params and click Find button (screen1.png). As a result I see all features in my layer and url in browser address bar contains all query parameters(screen2.png). 2 - playing this variations of query parameters in step 1 helps understand where my bug is. 3 - API Reference also has a lot of interesting Examples and Descriptions (screen3.png).
... View more
04-27-2011
12:19 AM
|
0
|
0
|
1927
|
|
POST
|
OK, if I need to Identify on FeatureLayer using Coordinates , and this layer is <esri:Map /> child i do not make any calls to ArcGIS server, because FeatureLayer is the result of query and has all needed geometries and fields on client side. I'll just filter and sort it as I need: for each (var gr:Graphic in featureLayer.graphicProvider)
{
// find geometry and get fields
} If I Just trying it with FeatureService not included in <esri:Map /> MXML tag. I call to server with new query. MapServer - look for Supported Operations FeatureServer - look for Supported Operations Anywhere good luck.
... View more
04-26-2011
11:07 PM
|
0
|
0
|
796
|
|
POST
|
Sorry, but I do not understand why IdentifyTask needed? 1 - FeatureLayer has default MXML property graphicProvider= ArrayCollection of all the graphics currently in the layer. Each of graphics has geometry. 2 - FeatureLayer has public property outFields. 3 - Well - you have array of geometries(graphicProvider) on client side and fields(outFields) on client side. Tell me why new server call(IdentifyTask) needed? Or I'm missing something? Thanks.
... View more
04-26-2011
10:13 PM
|
0
|
0
|
796
|
|
POST
|
You could create a graphics layer to display the text/ labels as a result of a query against the feature layer. This way you could let the user choose the label field, or make a configurable. com.esri.ags.layers.FeatureLayer extending com.esri.ags.layers.GraphicsLayer Use com.esri.ags.symbols.CompositeSymbol or com.esri.ags.symbols.TextSymbol to draw label. Sample is here.
... View more
04-25-2011
12:44 AM
|
0
|
0
|
953
|
|
POST
|
Read Adobe reference /**
* Listen map click
*/
private function myMapClick(event:MapMouseEvent):void
{
trace(">>> myMapClick() executed");
// remove listener
myMap.removeEventListener(MapMouseEvent.MAP_CLICK, myMapClick);
// add listener
myMap.addEventListener(MapMouseEvent.MAP_CLICK, myMapClick1);
}
/**
* Listen map click
*/
private function myMapClick1(event:MapMouseEvent):void
{
trace(">>> myMapClick1() executed");
// remove listener
myMap.removeEventListener(MapMouseEvent.MAP_CLICK, myMapClick1);
// add listener
myMap.addEventListener(MapMouseEvent.MAP_CLICK, myMapClick);
}
... View more
04-19-2011
10:16 PM
|
0
|
0
|
415
|
|
POST
|
1) Only those developers, who use Adobe Debugger Plug-ins will understand what the issue. 2) Step by step: open ESRI Flex Viewer in browser where Adobe Debugger Plug-in installed; in flex context menu (mouse right button click on flash content) choose "Show Redraw Regions" 3) As a result in the upper left corner there is a pulsating region, this means that the part is constantly redrawn. 4) I have no problems with it. 5) I just interested what part of code permanently redrawing of content and why it is needed. 6) I tried to analyze the "ESRI Flex Viewer" code. But I did not find anything. I suppose that this is due to the drawing effects in some skin class. 7) We developed web mapping application based on ArcGIS Flex API and do not have this issue. Each application based on ArcGIS Flex Viewer has it. QUESTIONS: What part of code permanently redrawing of content and why it is needed? How does this affect application performance? Thx.
... View more
04-14-2011
12:08 AM
|
0
|
0
|
653
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-03-2017 11:25 PM | |
| 1 | 10-06-2016 11:49 PM | |
| 2 | 06-07-2012 01:38 AM | |
| 1 | 06-03-2012 09:42 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|