|
POST
|
Hi all, How can I use WMSLayer as a base map in the flex client. I tried plugging in the URL into the configuration file directly but it does not show up anything. Is there anyway I could achieve this. Thank you. use the search: http://forums.arcgis.com/threads/25135-How-do-I-add-WMS-Service
... View more
06-10-2011
10:04 AM
|
0
|
0
|
308
|
|
POST
|
Nathan, You should never publish a map service inside another map service. Just not good practice... Done't get me started on this. I know. Not only is it friggen slow, it sucks balls for rendering legend and populating search widgets, identify etc. Better allows me to manipulate which layers are turned on by default and which layers are turned off. I've tried using visible layers tag in the config, but can't seem to get it to work. I'll post a new thread on it maybe.
... View more
06-09-2011
08:29 AM
|
0
|
0
|
1783
|
|
POST
|
...also here's another "bug". Although it could be intentional.. if there is a mapservice republished in another mapservice, that entire mapservice does not show up in the legend.
... View more
06-08-2011
09:51 AM
|
0
|
0
|
1562
|
|
POST
|
The PChPrintSOE is running on both: a .NET ArcGIS Server and on a Java ArcGIS Server New version with new functionalities: - supports WMSLayer - added NorthArrow - added Legend - bug fixes and code cleanup HI tom, great widget. I'm not seeing where the northarrow is being called in the xml?
... View more
06-02-2011
08:07 AM
|
0
|
0
|
1945
|
|
POST
|
Hi tom I posted in the java section of the forum instead of this section by accident. How did you configure the service so that it outputs to the fully qualified domain name instead of the localhost machine name?
... View more
06-01-2011
02:15 PM
|
0
|
0
|
1945
|
|
POST
|
Marc, I just tested it and it works.
protected override function partAdded(partName:String, instance:Object):void
{
map.logoVisible =
false;
super.partAdded(partName, instance);
if (instance == map)
{
var cssStyleDeclaration:CSSStyleDeclaration = styleManager.getStyleDeclaration ("com.esri.ags.components.supportClasses.InfoWindow")
cssStyleDeclaration.setStyle("backgroundColor", getStyle('contentBackgroundColor'));
styleManager.setStyleDeclaration("com.esri.ags.components.supportClasses.InfoWindow", cssStyleDeclaration, true);
map.addEventListener(MapEvent.LOAD, mapLoadComplete);
changeESRILogo(map);
}
}
And then your mapLoadComplete function, I just placed inbetween these two functions: override protected function getCurrentSkinState():String and the private function changeNavigationbyWidget(event:AppEvent):void
... View more
05-31-2011
02:07 PM
|
0
|
0
|
852
|
|
POST
|
Steve, I've successfully modified the code to pass a parcel ID in the URL. The map opens and zooms to the parcel which has been overlaid by a graphic. I'm attaching a text file with explanations and code. Marc Marc, are there any changes to this code for it to be 2.3.x compatible?
... View more
05-30-2011
09:51 AM
|
0
|
0
|
887
|
|
POST
|
Nathan, A rotated extent is no longer an extent it is a polygon... Running length is very dependent on the particular Spatial Reference you are using so this has not been added natively to the draw widget. Some people have worked out the math for their particular WKID and posted that code. I don't remember the post link though. That make sense to me. thanks I've been searching for the code for the second running length, but have not found. will try the old forum. Do you know if possible to implement direction/bearing and length when drawing line or poly feature? like a context menu item?
... View more
04-20-2011
10:35 AM
|
0
|
0
|
847
|
|
POST
|
Robert, the ESRI rotation works for all the shapes, except for a drawn rectangle. Do you know why this is? Also, is there the ability get the running total of a length of a segment as you add vertices to a shape?
... View more
04-19-2011
09:17 AM
|
0
|
0
|
847
|
|
POST
|
I'm experiencing an error with a map service that is published as both a feature service and a mapservice when I hit the properties button: TypeError: Error #1009: Cannot access a property or method of a null object reference. at widgets.Legend2.Handlers::DynamicMapDetailHandler/buildMapDespt() at widgets.Legend2.Handlers::DynamicMapDetailHandler/buildDetailForm() at widgets.Legend2.Handlers::DynamicMapDetailHandler/result() at com.esri.ags.tasks::DetailsTask/handleDetails() at Function/http://adobe.com/AS3/2006/builtin::call() at com.esri.ags.tasks::BaseTask/handleResult() at MethodInfo-1684() at mx.rpc::Responder/result() at mx.rpc::AsyncToken/http://www.adobe.com/2006/flex/mx/internal::applyResult() at mx.rpc.events::ResultEvent/http://www.adobe.com/2006/flex/mx/internal::callTokenResponders() at HTTPOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent() at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler() at mx.rpc::Responder/result() at mx.rpc::AsyncRequest/acknowledge() at DirectHTTPMessageResponder/completeHandler() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/onComplete() I have the feature service layers excluded in the xml so that only dynamic map services will show up. All other map services that are not published as feature service will show the properties. any ideas
... View more
04-12-2011
09:08 AM
|
0
|
0
|
922
|
|
POST
|
Plaizilla Until you decided whether to support WMS, or not...is there a way to turn off the messag boxes when there are WMS layers referenced in the config file?
... View more
04-04-2011
12:32 PM
|
0
|
0
|
932
|
|
POST
|
Is it possible to toggle visibility of a map service based on scale dependency that is not a tiled or bing service? I see this entry in the help: <LI value=5>displaylevels - To specify which scale levels this layer should be displayed at. Only applies to "tiled" and "bing" layers. For my own dynamic map services, I can adjust layer visibility through scale dependency in ArcMap. However for WMS or other AGS that I am sourcing from external sources (I have no control), how can I set the visibility scale of this, without having first to add it to an ArcMap and republish as my own service?
... View more
04-04-2011
08:21 AM
|
0
|
1
|
1390
|
|
POST
|
Robert is there a way to suck in visible WMS legends given this:... <Layer queryable="1" opaque="0" cascaded="0">
<Name>FADM_CASCADE_MTN_BOUNDARY_C</Name>
<Title>Cascade Mountain Boundary - Colour Filled</Title>
<!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
<LatLonBoundingBox minx="-141.188" miny="45.971" maxx="-109.658" maxy="61.1846" />
<MetadataURL type="TC211">
<Format>html</Format>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://apps.gov.bc.ca/pub/geometadata/metadataDetail.do?recordUID=52400&recordSet=ISO19115"/>
</MetadataURL>
<Style>
<Name>default</Name>
<Title>default</Title>
<LegendURL width="186" height="25">
<Format>image/png</Format>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://openmaps.gov.bc.ca/mapserver/geology-and-soils?service=WMS&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=FADM_CASCADE_MTN_BOUNDARY_C&format=image/png&STYLE=default"/>
</LegendURL>
</Style>
<ScaleHint min="0" max="17461.5996950373" />
</Layer> So that the legend symbology for these WMS layers can be appended to the legend/toc that currently reads REST?
... View more
04-04-2011
08:10 AM
|
0
|
0
|
1875
|
|
POST
|
has anybody done this or developed a tool button to do this?
... View more
03-30-2011
07:29 AM
|
0
|
2
|
1338
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-05-2023 02:14 PM | |
| 1 | 09-26-2022 09:11 AM | |
| 1 | 11-08-2022 08:45 AM | |
| 3 | 10-13-2022 01:50 PM | |
| 2 | 10-13-2022 01:39 PM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|