views:

43

answers:

3

maps.google.com's crossdomain.xml file is as follows:

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy 
  SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"&gt;

<cross-domain-policy>
  <site-control 
     permitted-cross-domain-policies="by-content-type" />
</cross-domain-policy>

Can you confirm that this effectively means "Access Denied" for Silverlight (and Flash), since there are no elements 'allow'ing any kind of access?

A: 

Does it have to be Google Maps? Bing Maps has a great Silverlight Control. There is a good article about it on CodeProject as well as a nice Interactive SDK.

If it has to be Google Maps, check out the flagged answer in this thread which references another CodeProject article that may be helpful.

Joel Cochran
Yep, gotta be google maps - I am using the geocoding API that's on that server, rather than working with tiles.
mackenir
A: 

Well, it seems that Silverlight will not grant access to the domain given the content of this crossdomain.xml. I would still like an explanation of what the crossdomain.xml means, mind you.

mackenir
+1  A: 

A Silverlight 4 Out-of-Browser application can ignore the crossdomain.xml policy file.

Michael S. Scherotter
Good point. ////
mackenir