|
POST
|
v3.5.50211.1. If you build for .NET 4, you don't need the WPF Toolkit.
... View more
01-03-2011
08:41 AM
|
0
|
0
|
852
|
|
POST
|
MyMap.ExtentChanged += OnMapExtentChanged; ... void OnMapExtentChanged(object sender, ExtentEventArgs e) { MyMap.ExtentChanged -= OnMapExtentChanged; //unhook so we only listen the first time. //TODO... } But again I don't see why you want to do a ZoomTo at startup, since there won't really be anything loaded yet to zoom from. Just simply set the extent on the map, which you can do at any time: myMap.Extent = new Extent(x1,y1,x2,y2); If you want to set the extent of a specific layer, just do this when that layer initializes: myMap.Extent = myLayerThatJustInitialized.FullExtent;
... View more
12-21-2010
08:18 AM
|
0
|
0
|
1887
|
|
POST
|
One way to chain two converts is to route it through the datacontext. <HyperLink DataContext="{Binding MyProperty, Converter={StaticResource Converter1}}" NavigateUri={Binding Converter={StaticResource Converter2}}" /> That way NavigateUri will be binding to the value returned by MyProperty+Converter1, and route this through Converter2.
... View more
12-21-2010
08:13 AM
|
0
|
0
|
2895
|
|
POST
|
At this point no there isn't. As mentioned earlier, the enhancements are not a true offline story. You might be able to do something with a custom tile layer though, but that's probably a lot more work.
... View more
12-21-2010
08:05 AM
|
0
|
0
|
1876
|
|
POST
|
You should not be calling ZoomTo or PanTo until the map has its extent property set. There is no guarantee this is set when a layer initializes. Either wait for the first ExtentChanged event to fire, or set the extent instead of zooming to it (since this is at startup you are really better of just setting the extent). You can set the extent whenever you want, and don't have to wait for any other properties to be set, or layers to be ready.
... View more
12-14-2010
03:44 PM
|
0
|
0
|
1887
|
|
POST
|
If you set it to the full extent that you get from the service (ie layer.FullExtent), note that the extent the server reports might not be correct if your data changes. Sometimes a REST cache refresh or republish of the service is required. Your screenshot doesn't really show what you mean by "cut off" though. There is some white area all around the map. Is this what you mean? This is caused by the 15px margin you have on the map. As a side note you should avoid putting DropShadow on a container of the map. It really hurts performance when zooming and panning. The best thing to do is have two separate elements for this. One for dropshadow and one for map. Ie.
<Grid>
<Border Effect="{StaticResource dropShadow}" />
<Grid>
<esri:Map />
</Grid>
</Grid>
... View more
12-13-2010
11:25 AM
|
0
|
0
|
3135
|
|
POST
|
It's fully supported to have all of them installed side by side. However note that the templates are overwritten, and that VS and Blend will automatically pick up v2.1 (in most cases changing your existing projects as well). If you need to set the references to 2.0, you need to manually add the reference by browsing to them.
... View more
12-09-2010
09:42 AM
|
0
|
0
|
907
|
|
POST
|
Could you share the build error with us? (video is not necessary - just copy/paste the text) Make sure you added the reference to the WinPhone 7 assemblies, and NOT the Silverlight assemblies. This is a separate download, as Jennifer linked to .
... View more
12-08-2010
11:09 AM
|
0
|
0
|
771
|
|
POST
|
You are not allowed to just read files from disk in Silverlight (imagine what malicious hackers would use that for in their silverlight apps). You must use an OpenFileDialog and have the user pick the file for you. It doesn't matter if it's in the clientbin folder. Remember that Silverlight runs on the 'client' and not on the webserver where the clientbin file resides.
... View more
12-08-2010
11:05 AM
|
0
|
0
|
2241
|
|
POST
|
The template is not "adding" to the other template, but replacing it. You need to also put the SymbolDisplay control in there as well. The easiest way to modify the existing template is doing it through Blend. Right click the control, select to modify additional templates and pick this template.
... View more
12-08-2010
11:03 AM
|
0
|
0
|
574
|
|
POST
|
It will only be able to autoproject if that service supports the WKID of your map (for instance most non-ArcGIS servers doesn't support 102100 that ArcGIS Server uses for WebMercator)
... View more
12-08-2010
11:01 AM
|
0
|
0
|
1892
|
|
POST
|
You might be able to do it using the JavaScript bridge to the Garmin plugin: http://developer.garmin.com/web-device/garmin-communicator-plugin/ In .NET or running Silverlight in full-trust, you might be able to do it based on these documents: http://developer.garmin.com/web-device/device-sdk
... View more
12-08-2010
11:00 AM
|
0
|
0
|
719
|
|
POST
|
This is exactly what the ProxyUrl property available on most of the layers are for.
... View more
12-04-2010
02:12 PM
|
0
|
0
|
1306
|
|
POST
|
You are getting that error because you are trying to read the pixels of an image that contains pixels merged from images coming from a different domain than your .xap file. For security reasons, silverlight will block pixel read access to any images (or composites) coming from a different domain. You got two options: - Use a proxy on your local server where the .xap recides and use the ProxyUrl to route the image download through that. - Upgrade to v2.1. v2.1 uses a different approach for retrieving images, so for most services you won't see this issue (however there still might be some layers that doesn't use this approach).
... View more
12-04-2010
02:08 PM
|
0
|
0
|
1584
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 05-11-2026 07:05 AM | |
| 2 | 03-19-2026 06:03 PM | |
| 1 | 03-03-2026 04:41 PM | |
| 1 | 02-26-2018 07:53 AM | |
| 1 | 02-26-2018 07:51 AM |
| Online Status |
Offline
|
| Date Last Visited |
4 weeks ago
|