none
Where to Place the Crossdomain.xml file in the Map Server? RRS feed

Answers

  • Assuming that you want to integrate your own tiles on the Bing Maps control, you don't need to set any crossdomain.xml file in this specific case.

    This exposed resources would be used as an image ressource loaded from a different location, see this in order to help you implement your own tile:

    http://www.bingmapsportal.com/isdk/ajaxv7

    Click on Tile Layers and then click on TileLayer with options.
    Finally, click on View HTML to see a working sample.

    Let us know if you need help to implement your own tile layer.


    MVP - Bing Maps - My blog (FR): http://blogs.developpeur.org/nicoboo/ Twitter: http://twitter.com/nicolasboonaert/
    Tuesday, May 17, 2011 2:50 PM
    Moderator
  • If you are hosting the tiles yourself you will want to put a crossdomainpolicy.xml file in the root of your domain. i.e.
    http://<servername>:8080/crossdomainpolicy.xml
    Here is some documentation: http://msdn.microsoft.com/en-us/library/cc197955%28VS.95%29.aspx You can add rules in this cross domain file such that only applications from your domain access it, or only applications from specific domains can access your tiles. This is usually a good idea if you don't want others to use your tiles in their applications.
    Windows Live Developer MVP - http://rbrundritt.wordpress.com | http://inknowledge.co.uk
    Wednesday, May 18, 2011 6:13 PM

All replies

  • Assuming that you want to integrate your own tiles on the Bing Maps control, you don't need to set any crossdomain.xml file in this specific case.

    This exposed resources would be used as an image ressource loaded from a different location, see this in order to help you implement your own tile:

    http://www.bingmapsportal.com/isdk/ajaxv7

    Click on Tile Layers and then click on TileLayer with options.
    Finally, click on View HTML to see a working sample.

    Let us know if you need help to implement your own tile layer.


    MVP - Bing Maps - My blog (FR): http://blogs.developpeur.org/nicoboo/ Twitter: http://twitter.com/nicolasboonaert/
    Tuesday, May 17, 2011 2:50 PM
    Moderator
  • Hi Nicolas

    We are implementing our own tile layer. We are not using Bing Map..

    Please help me on this.

     

    Thanks & Regards

    K.Navaneethapperumal

    Tuesday, May 17, 2011 2:55 PM
  • If you are hosting the tiles yourself you will want to put a crossdomainpolicy.xml file in the root of your domain. i.e.
    http://<servername>:8080/crossdomainpolicy.xml
    Here is some documentation: http://msdn.microsoft.com/en-us/library/cc197955%28VS.95%29.aspx You can add rules in this cross domain file such that only applications from your domain access it, or only applications from specific domains can access your tiles. This is usually a good idea if you don't want others to use your tiles in their applications.
    Windows Live Developer MVP - http://rbrundritt.wordpress.com | http://inknowledge.co.uk
    Wednesday, May 18, 2011 6:13 PM