POST
|
aramsdell, I have been able to verify that the WebMercatorUtil is indeed having issues with multi ring polygons. The GraphicUtil on the other hand does not have any issue that I can find. It looks like the AGS Flex API team will have to resolve the WebMercatorUtil issue.
... View more
04-19-2010
12:44 PM
|
0
|
0
|
380
|
POST
|
Richard, Look at this thread and see what Mehul Choksey from the AGS Flex API team says about the find task and datagrids. http://forums.arcgis.com/threads/2781-Find-Task-without-a-map
... View more
04-19-2010
10:56 AM
|
0
|
0
|
378
|
POST
|
somedeadguy, No something more like this var gLayer:GraphicsLayer = new GraphicsLayer()
gLayer.id = "myGL";
gLayer.graphicProvider = georss.result;
SiteContainer.getInstance().controller.map.addLayer(gLayer); That is if georss.result is valid in your code.
... View more
04-15-2010
04:38 PM
|
0
|
0
|
615
|
POST
|
somedeadguy, The map is part of the MapManager.mxml and is declared in ActionScript and not MXML as you are use to it seems. Every Widget has access to a map variable or if you are not doing your code from a widget then you can always get access to the map component from this line of code SiteContainer.getInstance().controller.map If you are going to code in the Sample Flex Viewer you will have to get use to using ActionScript.
... View more
04-15-2010
02:33 PM
|
0
|
0
|
615
|
POST
|
Eddie, You probably are not using the Sample Flex Viewer but it sound like you have some development knowledge so you can take a look at my enhanced Search Widget and take apart the code in there as I have a floating datagrid that interacts with graphics and vice versa. http://resources.esri.com/arcgisserver/apis/flex/index.cfm?fa=codeGalleryDetails&scriptID=16599
... View more
04-15-2010
09:41 AM
|
0
|
0
|
589
|
POST
|
lallen4585, The out of the box LocatorWidget does not re-project results but here is a modified one that does. http://resources.esri.com/arcgisserver/apis/flex/index.cfm?fa=codeGalleryDetails&scriptID=16359
... View more
04-15-2010
05:54 AM
|
0
|
0
|
844
|
POST
|
Tabrez, The work of splitting an address into address, city state and zip is not always straight forward. There is hope though here is a quote from the ESRI resources page. For the initial release of locators, ESRI has multi-line inputs for the North American (NA) and European (EU) Address Locators, and single line input for the World Places Locator. ESRI is working on a NA address locator that will be combined with the World Places Locator, and ESRI intends to test and release it as a single line geocoding service.
... View more
04-15-2010
03:41 AM
|
0
|
0
|
151
|
POST
|
Nitin, Is the icon for the returned search result in the correct location on the map?
... View more
04-14-2010
10:56 AM
|
0
|
0
|
232
|
POST
|
Nitin, Just change your zoomscale in the SearchWidget.xml to a higher value. It is 2000 by default, make it 5000.
... View more
04-14-2010
10:15 AM
|
0
|
0
|
232
|
POST
|
Stuart, Add this to the AppEvent.as /**
* event added by me to listen for a layer being turn off or on in the map
* event for when a layers visibility has changed
*/
public static const LAYER_VISIBILITY_CHANGED:String = "layerVisibilityChanged"; In the onLayerShow function and the onLayerHide functions of the TocMapLayerItem.as add SiteContainer.dispatchEvent(new AppEvent(AppEvent.LAYER_VISIBILITY_CHANGED, false, false, layer.name)); In the onCheckBoxClick function and the onCheckBoxDoubleClick function of the TocItemRenderer.as add SiteContainer.dispatchEvent(new AppEvent(AppEvent.LAYER_VISIBILITY_CHANGED, false, false, event)); in the MapManager or where ever you want to call the popup put this line in the init function. SiteContainer.addEventListener(AppEvent.LAYER_VISIBILITY_CHANGED, yourPopupFunction);
... View more
04-14-2010
09:37 AM
|
0
|
0
|
303
|
POST
|
Shimon31, I still think that you are having a spatial reference issue try putting a trace statement in your for loop. for each (var gra:Graphic in fset.features) {
multiPoint.addPoint(MapPoint(gra.geometry));
}
if (multiPoint.points.length > 1){
map.extent = multiPoint.extent.expand(1.5);
trace("Map SR: " + map.spatialReference.toString());
trace("Gra SR: " + gra.spatialReference.toString());
}
else{
trace("Map SR: " + map.spatialReference.toString());
trace("Gra SR: " + gra.spatialReference.toString());
if (map.scale > zoomScale)
map.scale = zoomScale;
map.centerAt(multiPoint.points[0]);
}
... View more
04-13-2010
04:13 AM
|
0
|
0
|
708
|
POST
|
jgeisen, There is not a search tolerance for the searchwidget when using the point option, but here is a link where I show how to add that type of capability in Action script. http://forums.esri.com/Thread.asp?c=158&f=2421&t=295461&mc=2#921934
... View more
04-12-2010
10:05 AM
|
0
|
0
|
177
|
POST
|
Justin, Have you set the disableClientCaching to false on the layer (That is if it is a ArcGISDynamicMapServiceLayer)?
... View more
04-09-2010
10:33 AM
|
0
|
0
|
1047
|
POST
|
JMGorman, If you are using Flex Builder, you need to build a release build and copy the contents of the bin release folder to your web servers virtual directory (if using IIS) or httpdocs folder if using Apache.
... View more
04-09-2010
08:09 AM
|
0
|
0
|
489
|
POST
|
shimon31, Lets check for for the simple stuff. if (gra.geometry is MapPoint){
pt = gra.geometry as MapPoint;
if (map.scale > 5000)
map.scale = 5000;
map.centerAt(pt); The scale of 5000 add one more zero like this: if (gra.geometry is MapPoint){
pt = gra.geometry as MapPoint;
if (map.scale > 50000)
map.scale = 50000;
map.centerAt(pt); It is probably that you basemaps are not able to draw down to that scale.
... View more
04-09-2010
03:59 AM
|
0
|
0
|
708
|
Title | Kudos | Posted |
---|---|---|
1 | 04-06-2015 09:52 AM | |
1 | 03-03-2017 07:40 AM | |
1 | 11-20-2018 11:33 AM | |
1 | 10-15-2020 08:27 AM | |
1 | 05-25-2018 01:28 PM |
Online Status |
Offline
|
Date Last Visited |
05-03-2024
09:21 PM
|