POST
|
Try this, SpatialReferenceEnvironment spatialRefEnv = SpatialReferenceEnvironment(); ISpatialReferenceFactory2 spatialRefFactory = (ISpatialReferenceFactory2)spatialRefEnv; As an alternative, if you have a class from an assembly that cannot embed you can set the 'Embed interop types' property on the assembly reference in your solution explorer to false and that should be another option for you. Justin GIS Developer Indiana Dept. of Homeland Security
... View more
02-14-2011
10:30 AM
|
0
|
0
|
121
|
POST
|
Hey there, If you haven't already found a solution to this... I ran into the same problem myself and it looks like if you are using a joined table which uses a configuration keyword you need to give the fully qualified name to the field you want to query. It would look something like this.. Keyword.Source.Field I hope that helps!
... View more
07-13-2010
12:31 PM
|
0
|
0
|
118
|
POST
|
I have a layer which needs to be displayed at a scale around 1:2000 to be visually effective. However, I am using the World Street map 2D as the first layer added to the map. This layer has a maxScale of around 4500. This is preventing me from being able to zoom in beyond 1:4500. I have tried adding the more detailed layer first and reordering the layers afterwards, however the street map will no longer function properly. Does anyone know of a way to override the map's maxScale? Thanks!
... View more
06-02-2010
07:10 AM
|
0
|
2
|
485
|
POST
|
Anyone have experience with a workaround/disabling the bitmap redraw of ags.Graphicslayer ? I need my graphics to remain static and not dynamically resize when a zoom event occurs. Would I need to override the protected zoomUpdateHandler function? Any help would be appreciated! Justin Williams GIS Analyst Indiana Department of Homeland Security
... View more
05-04-2010
08:01 AM
|
0
|
0
|
441
|
POST
|
Use add data and GIS Servers/WMS Service for this, has some neat layers for use http://www.mapcontext.com/cgi-bin/wms.cgi?REQUEST=GetCapabilities&SERVICE=WMS&
... View more
04-14-2010
10:55 AM
|
0
|
0
|
872
|
POST
|
this seemed to fix the issue private function critical_refresh_Handler(event:TimerEvent):void { var i:int = 0; var refresh_layer:ArcGISDynamicMapServiceLayer; map.panEnabled = true; map.panDuration = 15; map.panDown(); //critical refreshes while( i < critical_live_layers.length) { refresh_layer = map.getLayer(critical_live_layers) as ArcGISDynamicMapServiceLayer; refresh_layer.refresh(); i++ } map.panUp(); }
... View more
04-09-2010
01:05 PM
|
0
|
0
|
872
|
POST
|
Ok changes are being reflected by forcing a non-noticeable pan on the map(not sure if this pan is even taking place honestly, however my data is clearly being updated). However a new unintended behavior has occurred and my thinking leads me to believe this is another caching issue. Here is an example of the event handler I am using to refresh one category of data. I have three other categories which can fire. When the other events fire, and refresh other layers, they revert all other layers to their previous outdated versions if the layer being refreshed has no new data. Any ideas on how to avoid/deal with this? //customized - the refresh handlers for the refresh categories private function critical_refresh_Handler(event:TimerEvent):void { var i:int = 0; var refresh_layer:ArcGISDynamicMapServiceLayer; //critical refreshes while( i < critical_live_layers.length) { refresh_layer = map.getLayer(critical_live_layers) as ArcGISDynamicMapServiceLayer; refresh_layer.refresh(); i++ } //pans the map to get the new data to draw, workaround to caching issue with flex/flash currently unknown. map.panDuration = 1; map.panDown(); map.panUp(); }
... View more
04-09-2010
12:25 PM
|
0
|
0
|
872
|
POST
|
Yeah I've tried that and the cachePolicy = "off" Another odd behavior is when the browser loads, it will always load old data and remains that way until you zoom/pan. It makes me think there is something going on with flash/flex in rebuilding a cached tile/image of the current screen extent.
... View more
04-09-2010
11:17 AM
|
0
|
0
|
872
|
POST
|
Just curious, if anyone has run into this before... I have a National Weather Service radar layer which is being auto-refreshed at a specific interval. There seems to be an issue with the layer's refresh not overriding a cached image from the current zoom/extent. I have tried everything possible to remedy this, including rewriting my refresh method to construct an entire new layer and add it to the map. So... I am curious. What event is firing when I zoom/pan, as this is the only action which will draw the latest data. Any help would be appreciated! Thanks, Justin GIS Analyst Indiana Department of Homeland Security
... View more
04-09-2010
10:17 AM
|
0
|
11
|
3936
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|