POST
|
In your step four - Do not enter authentication information. --> Click Finish I tried and it failed. By the way, this does not even create a connection tag because of the lack of authentication information.
... View more
01-06-2022
07:29 AM
|
0
|
1
|
1559
|
POST
|
It appears that a Silverlight app will not automatically fit into the entire viewing area of a browser. The app is based on the ESRI (Silverlight) standard template. The display map graphics are trimmed off or spill over when the app is launched from different browsers. What do I miss here? Thanks in advance for any pointers.
... View more
07-07-2015
11:50 AM
|
0
|
0
|
2714
|
POST
|
That does not work well nor is it controllable. I ended up creating my own map tip that has up to three levels of extended tip popups on selected attributes. Thanks for the info.
... View more
02-05-2015
06:58 AM
|
0
|
0
|
646
|
POST
|
The expanded display (popup) is outside the maptip as a Border UI, but when the expanded display is "incorporated" inside the maptip (XAML) its control or manipulation is not permitted. The probl is that any attempts to change its size, visibility, opacity, etc. will produce a runtime error. The MapTip popup is already made once the mouse enters a map feature. Once it is open/popped up any attempts to change it will produce an runtime error. One can do an easy test by adding an empty StackPanel inside a maptip and then try to change the StackPanel's size (say height), it will produce an runtime 4004 error. Is there a suggestion or workaround? Thanks
... View more
01-28-2015
05:22 AM
|
0
|
2
|
646
|
POST
|
Good morning! You are really early. The problem is that the expanded pop/display got buried behind the maptip popup. It should be on top of the maptip display, but it is not. I tried to get the Z factor of the maptip or the expanded display, but did not have any luck. Do you have a suggestion to go around this kind of problem? Thanks Yurong Tan VA Office of Inspector General (352) 337-2375
... View more
01-28-2015
04:16 AM
|
0
|
4
|
646
|
POST
|
I have an expanded display (I call it detailed info popup) that provides detailed or additional information about items or contents shown on a MapTip popup. I use the MouseEnter event on the contents of a MapTip to control the expanded display. However, the expanded display is always shown underneath the MapTip. The question is how to make the expanded display to be shown on top of the MapTip? Also, I want to be able to programatically modify the "delay time" of the MapTip once the mouse enters the expanded display. Currently, I place the expanded display above the MapTip (see enclosed), but it gives the impression that the detailed information is detached. I want the detailed display to be able to follow the mouse. Any pointers? Thanks
... View more
01-27-2015
07:58 AM
|
0
|
6
|
4460
|
POST
|
Thanks for all who responded. The key is that (1) the Shape column must be included (or existing) in the Map Service Layer and (2) the query's parameter xxx.ReturnedGeometry must be set to true. Then you can do whatever you want to do (clone, capture attributes, geometry, etc.) with the returned graphic. Cheers Thanks
... View more
03-06-2014
05:03 AM
|
0
|
0
|
565
|
POST
|
I used to work on SDE years ago and ESRI then prepared a document that discussed all kind of issues related to SDE implementation, from planning, to database to system admin. It was kind of a SDE bible. I am wondering if ESRI has a similar document on Silverlight platform web application or if there is one can someone provide a pointer to it? The main reason I am asking this is that when more apps are added to the web box or more functionalities are added to an existing ones, some apps begin to show "misbehaviors" like MapTips popping up late (acting like it forgot to pop up) or fading out too quick (e.g. you are unable to catch the pop up), etc. and all of this MapTips worked and continue to work perfectly until some point when more things were added to the box. Thanks for any pointer for such information.
... View more
03-06-2014
04:35 AM
|
0
|
0
|
1272
|
POST
|
Solution: Make the sender as dynamic map service layer (DMSL) and implement the events of PropertyChanged and/or VisibilityChanged on the DMSL in combination with the SetVisibility and GetVisibility methods. It still illusive in order to use those setting values to control some separate (feature) layer(s) derived directly from this main DMSL. Cheers
... View more
03-06-2014
04:16 AM
|
0
|
0
|
359
|
POST
|
Are there some ESRI folks out there who would like to step in for this? The main reason I am doing this is to be able to control MapTip that comes from a "FeatureLayer" derived from a sublayer of some composite ArcGISDynamicLayers. Since the MapTip depends on the visibility of the derived FeatureLayer, a firing of MyLayer_ArcGISDynamicMapServiceLayer_PropertyChanged should allow one to set the visibility of the Featurelayer based on the visibility of the corresponding sublayer and therefore control the visibility of the MapTip. Is there a workaround or a pointer? Thanks
... View more
02-03-2014
08:32 AM
|
0
|
0
|
359
|
POST
|
Here is a work-around to set the max and min scales for an application main Map (or MyMap). It is based on the MyMap_ExtentChanged event and its purpose is to prevent the user from zooming beyond the preset scales. ESRI can tweak it to make it better or to simply add a property values for the main Map. Thanks private void MyMap_ExtentChanged(object sender, ExtentEventArgs e) { double myMapScale = MyMap.Scale; double SmallestScaleFactor = 300000, LargestScaleFactor = 50000000; if (myMapScale < SmallestScaleFactor || myMapScale > LargestScaleFactor) { ESRI.ArcGIS.Client.Geometry.Envelope displayExtent = MyMap.Extent; double MapxCenter = (displayExtent.XMax + displayExtent.XMin) / 2.0; double MapyCenter = (displayExtent.YMax + displayExtent.YMin) / 2.0; double view_x = (displayExtent.XMax - displayExtent.XMin) / (double)myMapScale; double view_y = (displayExtent.YMax - displayExtent.YMin) / (double)myMapScale; double newxmin, newxmax, newymin, newymax, NewScaleFactor = (double)myMapScale; if (myMapScale > LargestScaleFactor) NewScaleFactor = LargestScaleFactor; if (myMapScale < SmallestScaleFactor) NewScaleFactor = SmallestScaleFactor; newxmin = MapxCenter - ((view_x * NewScaleFactor) / 2.0); newxmax = MapxCenter + ((view_x * NewScaleFactor) / 2.0); newymin = MapyCenter - ((view_y * NewScaleFactor) / 2.0); newymax = MapyCenter + ((view_y * NewScaleFactor) / 2.0); ESRI.ArcGIS.Client.Geometry.Envelope LimittedDisplayExtent = new ESRI.ArcGIS.Client.Geometry.Envelope( newxmin, newymin, newxmax, newymax); MyMap.ZoomTo(LimittedDisplayExtent); } }
... View more
02-03-2014
08:05 AM
|
0
|
0
|
557
|
POST
|
Here is a work-sround to set the max and min scales for application main map MyMap. It uses the MyMap_ExtentChanged(object sender, ExtentEventArgs e) event. This is to prevent the user from zoomming in/out outside the preset min & max map scales. ESRI can trweak it to make it better or simply to add a property for the application main map. private void MyMap_ExtentChanged(object sender, ExtentEventArgs e) { double myMapScale = MyMap.Scale; double SmallestScaleFactor = 300000, LargestScaleFactor = 50000000; if (myMapScale < SmallestScaleFactor || myMapScale > LargestScaleFactor) { ESRI.ArcGIS.Client.Geometry.Envelope displayExtent = MyMap.Extent; double MapxCenter = (displayExtent.XMax + displayExtent.XMin) / 2.0; double MapyCenter = (displayExtent.YMax + displayExtent.YMin) / 2.0; double view_x = (displayExtent.XMax - displayExtent.XMin) / (double)myMapScale; double view_y = (displayExtent.YMax - displayExtent.YMin) / (double)myMapScale; double newxmin, newxmax, newymin, newymax, NewScaleFactor = (double)myMapScale; if (myMapScale > LargestScaleFactor) NewScaleFactor = LargestScaleFactor; if (myMapScale < SmallestScaleFactor) NewScaleFactor = SmallestScaleFactor; newxmin = MapxCenter - ((view_x * NewScaleFactor) / 2.0); newxmax = MapxCenter + ((view_x * NewScaleFactor) / 2.0); newymin = MapyCenter - ((view_y * NewScaleFactor) / 2.0); newymax = MapyCenter + ((view_y * NewScaleFactor) / 2.0); ESRI.ArcGIS.Client.Geometry.Envelope LimittedDisplayExtent = new ESRI.ArcGIS.Client.Geometry.Envelope( newxmin, newymin, newxmax, newymax); MyMap.ZoomTo(LimittedDisplayExtent); } }
... View more
02-03-2014
07:57 AM
|
0
|
0
|
1053
|
POST
|
I need to step through the sublayers of a composite dynamic layer (with several sublayers) and then set or change or modify the properties of individual sublayers through the VisibilityChanged. Below are the codes I use. there are three MessageBox lines. The first one works, the second and third ones do NOT work (they are somehow ignored). How do I get the properties of the sublayers? What do I miss? Is there a pointer or a sample out there that can be shared? Thanks private void ArcGISDynamicMapServiceLayer_VisibilityChanged(object sender, EventArgs e) { DynamicLayerInfoCollection myDLIC = sender as DynamicLayerInfoCollection; ArcGISDynamicMapServiceLayer myDMSL = sender as ArcGISDynamicMapServiceLayer; // The line below works. MessageBox.Show("Visibility Changed fired! sender=" + sender.ToString() + " e= " + e.ToString()); // The two MessageBox lines are somehow ignored or not work at all MessageBox.Show("DMSL collection count = " + myDMSL.DynamicLayerInfos.Count().ToString()); MessageBox.Show("DLIC collection count = " + myDLIC.Count().ToString()); }
... View more
01-28-2014
10:18 AM
|
0
|
2
|
1947
|
POST
|
XAML file: <esri:ArcGISDynamicMapServiceLayer ID="StatesUSA" Opacity="0.8" Visible="True" Url="http://oigcodevgis:6080/ArcGIS/rest/services/StateBoundary/MapServer" /> Attributes: OBJECTID ( type: esriFieldTypeOID , alias: OBJECTID ) SFIP ( type: esriFieldTypeString , alias: SFIP , length: 4 ) SNAME ( type: esriFieldTypeString , alias: SNAME , length: 24 ) ST ( type: esriFieldTypeString , alias: ST , length: 4 ) GlobalID ( type: esriFieldTypeGlobalID , alias: GlobalID , length: 38 ) Shape ( type: esriFieldTypeGeometry , alias: Shape ) Shape.STArea() ( type: esriFieldTypeDouble , alias: Shape.STArea() ) Shape.STLength() ( type: esriFieldTypeDouble , alias: Shape.STLength() ) C# file: myPolyGraphics = MyMap.Layers["StatesUSA"] as GraphicsLayer; It says myPolyGraphics is NOT defined or nonreferenced. Any clue? Thanks
... View more
01-02-2014
09:16 AM
|
0
|
0
|
565
|
Title | Kudos | Posted |
---|---|---|
2 | 06-08-2015 08:02 AM |
Online Status |
Offline
|
Date Last Visited |
07-24-2024
07:48 PM
|