Select to view content in your preferred language

Windows 7 Gadgets and Maps

601
1
03-01-2011 05:29 PM
GrantCarroll
Deactivated User
Hi there,

I have a Windows 7 silverlight gadget I have developed for our environmental monitoring guys which shows an GeoRSS feed which is monitoring current river and rainfall conditions at various sites around the district. I am also displaying this our internally mapping application Dekho (Flex based) (Public version here http://gis.marlborough.govt.nz/DekhoPublic ) but I would also like to have a flyout on my gadget so that the guys can quickly from their gagdet see an overview of the district and quickly identify where levels are rising (site icons are coloured depending on site thresholds etc).

My issue is that when i put a map control in the flyout xaml, it gives me the message "Invalid URI scheme 'file://' for map control. Control must be hosted in a HTTP(S) website". I can understand this as obviously the gagdet is being run off the desktop through sidebar.exe and is not really hosted in an IIS website.

My question then is, is there a way to make this possible ? Any thoughts or idea would be appreciated. I have toyed with the idea of a seperate map with an iframe over the top of the silverlight component, but obviously it would be nicer to keep it simple.

Cheers

Grant
0 Kudos
1 Reply
dotMorten_esri
Esri Notable Contributor
The app has to run in full-trust to allow for that. Or, can you use WPF inside your widget instead? WPF won't have that security limitation.
0 Kudos