Is maps.google.com accessible from a Silverlight app?
-
02-10-2019 - |
Question
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">
<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?
Solution 3
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.
OTHER TIPS
A Silverlight 4 Out-of-Browser application can ignore the crossdomain.xml policy file.
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.