POST
|
Here is some simple XAML code that will hide the logo and add your own image in the bottom right corner of the map: <UserControl x:Class="ArcGISSilverlightSDK.Map" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:esri="http://schemas.esri.com/arcgis/client/2009"> <Grid x:Name="LayoutRoot" > <esri:Map x:Name="MyMap" IsLogoVisible="False"> <esri:ArcGISTiledMapServiceLayer ID="MyLayer" Url="http://services.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer" /> </esri:Map> <Image HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,8,8" Source="PATH TO IMAGE" Stretch="None"></Image> </Grid> </UserControl>
... View more
09-30-2010
07:59 AM
|
0
|
0
|
333
|
POST
|
When working with the templates, how do I change out the ESRI logo with my own (logo in the lower right corner of the app.)? Thanks David 1. Set IsLogoVisible = "False" 2. Add your own image by using a PNG and positioning the image as follows: <Image HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,8,8" Source="PATH TO IMAGE" Width="IMAGE WIDTH" Height="IMAGE HEIGHT" ></Image>
... View more
09-27-2010
12:25 PM
|
0
|
0
|
333
|
POST
|
Use the same proxy URL or submit the token value when defining your layer, for example: <esri:FeatureLayer ID="ID2" Url="http://name/ArcGIS/rest/services/name/MapServer/0" Where="Query > 0" Color="Orange" ProxyURL="../proxy.ashx" </esri:FeatureLayer> Thanks,
... View more
09-20-2010
12:45 PM
|
0
|
0
|
116
|
POST
|
Other services on the server are secured but the service I am attempting to point to is not. Having said that, I think that when you enable security that all services retain some level of security--the service in question is currently granting permissions to "Everyone". Map Services from 9.3.1 versions of AGS render fine. Thanks,
... View more
09-13-2010
10:43 AM
|
0
|
0
|
169
|
POST
|
I am using the sample posted by Morten and I am recieving the following error on the legend.ashx page when I attempt to point to a service endpoint that has security enabled: Unable to generate legends: The HTTP request was forbidden with client authentication scheme 'Anonymous'. Any ideas? Cheers!
... View more
09-13-2010
09:09 AM
|
0
|
2
|
471
|
POST
|
Paul, out of curiosity, what problems were you having? It might be useful to know so I could switch to this other proxy page if I need to. Hi Brooks, We never really identified the specific issue, but to summarize, I was not able to get the proxy to work by passing either a token or user name and password credentials within the proxy.config file. I could get everything working by hard coding the token value into the SL application but it would not work in the proxy. I did take a close look at the two proxy config files and there were some differences as far as the tags that were used to define your parameters. The SL version used <serverItem /> and the other version used <serverUrl />. In my discussions with the ESRI engineer, he did mention that he had made quite a few modifications to the proxy.ashx file, but I did not spend any time comparing the changes. For most users the proxy file referenced earlier in this thread may work fine. If folks do start to experience issues I just wanted to post this out there to save you guys some time in troubleshooting the issues. Thanks again for your feedback...
... View more
09-02-2010
04:56 AM
|
0
|
0
|
330
|
POST
|
Thanks for the suggestions. I decided to go down proxy path. This option worked best for our environment due to the fact that all the credentials are stored on the server. That being said, I did have a few issues with the silverlight proxy provided on the silverlight api resources page. I ended up logging a call with tech support and by using a different version of the proxy I was able to get everything working. I did contact the engineer I worked with to resolve my issues and he will be posting his version of the proxy in this thread soon.
... View more
09-01-2010
10:30 AM
|
0
|
0
|
330
|
POST
|
Hi Paul- I can't get either of those links to work. I still get a page cannot be found. What do I need to check for on the IIS side of things? I'm still able to create map services and view them but not much else. I assume you are using IIS7 or 7.5. If so, open IIS and expand the website folder where your ArcGIS server stuff is installed (probably Default Web Site). Expand the ArcGIS folder and click on the rest virtual directory. On the right side of the dialog, under the Action menu you will see a number of options. Under the Manage Application/Browse Application section click on one of the links that are provided. This section should provide you with links to the available bindings for your ArcGIS server sites. Another thing to check is the application pool that is being used for your application. If you are using AGS 10 you should be using the ArcGISServicesAppPool. Thanks,
... View more
08-24-2010
05:40 AM
|
0
|
0
|
301
|
POST
|
If you have ArcGIS Manager installed, can you get to?: http://localhost/arcgis/manager Also try: http://127.0.0.1/arcgis/rest/services or http://<machinename or IP>/arcgis/rest/services You may also want to look in IIS to see how your bindings are configured.
... View more
08-19-2010
10:02 AM
|
0
|
0
|
301
|
POST
|
I am in the process of implementing editing within the SL API 2.0, using AGS 10 and SL4. I have built the application and I can edit the layers I need to edit within the UI. Now the fun begins--locking things down so only the people I want to have edit rights can access the service. I have implemented SSL through IIS and set the appropriate permissions on the services I want users to be able to edit. Here are my questions: 1. Do all Tokens time-out or can you set a token not to expire? 2. Is there a recommended method of passing a user name and password to the Token service? I have found the following example, https://myserver.example.com/arcgis/tokens?request=gettoken&username=myuser &password=secret1&clientid=ref.myserver.example.com&expiration=1440 but I am trying to come up with a work flow of how to submit this information at runtime, then pass the Token key as a parameter for the service. Any advice/guidance will be appreciated. Thanks,
... View more
08-17-2010
12:27 PM
|
0
|
7
|
659
|
POST
|
Although it may take a little bit of time to learn, Expression Blend will provide you with the tools to build your own animations through building storyboards that can be executed through your UI. If you do not have the time to build your own controls and animations, there are various third parties where you can purchase controls with pre-configured animations such as Telerik or ComponentOne. Thanks,
... View more
08-16-2010
11:01 AM
|
0
|
0
|
164
|
POST
|
We have 100s of Gbs of video that we display through our SewerTV viewer (http://gis.hudson.oh.us/SewerTV/) and we use the method suggested by ali. Create a virtual directory on your server, apply the appropriate permissions and add your videos in here. Another suggestion would be to convert your video to mp4 format. This is usually considerably smaller than wmv format so the video will download much quicker to the client. Thanks, Paul Leedham City of Hudson http://gis.hudson.oh.us/
... View more
08-13-2010
05:16 AM
|
0
|
0
|
171
|
POST
|
We also liked the edit widget--it is a great control but we found similar limitations on controling the events/actions fired when clicking a tool. Our solution was creating our own tool menu by building custom buttons to replicate the same functionality as the widget (tapping in to the editor class). This allowed us to have more control over what each button does and would be a method to resolve your issue. I hope this helps... Paul Leedham City of Hudson http://gis.hudson.oh.us/
... View more
08-05-2010
06:08 AM
|
0
|
0
|
323
|
POST
|
Make sure you have a cross domain policy file located on your Campus ArcGIS Server machine. If this is not present your Silverlight application will not be able to communicate with your server to display your map services. Here is a link explaining the reasons for doing so: http://blogs.esri.com/Dev/blogs/arcobjectsdevelopment/archive/2009/09/10/ArcGIS-Developers_3A00_-Tips-on-using-cross_2D00_domain-policy-files-_2D00_-Part-1-_2800_Intro_2900_.aspx Thanks, Paul Leedham City of Hudson http://gis.hudson.oh.us/
... View more
08-05-2010
05:41 AM
|
0
|
0
|
241
|
POST
|
In order to display all the fields use the following syntax: Replace query.OutFields.AddRange(new string[] { "STATE_NAME", "POP07_SQMI" }); With query.OutFields.Add("*"); Have you considered using the feature data grid? Check out the ESRI sample--this is a great way to display this type of information. Paul Leedham http://gis.hudson.oh.us
... View more
07-21-2010
06:17 PM
|
0
|
0
|
100
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|