开发者

Is maps.google.com accessible from a Silverlight app?

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开发者_如何学C 
     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 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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜