Menu

#32 Map tiles can not be loaded "is not allowed by Access-Control-Allow-Origin"

1.0
closed
2013-12-23
2013-12-23
No

Some browsers do not show the map (tiles).

Discussion

  • Einer von Vielen

    • status: open --> closed
     
  • Einer von Vielen

    hopefully fixed by inserting this into the php

    header("Access-Control-Allow-Origin: *");
    header('Access-Control-Allow-Methods: GET, POST, OPTIONS');

     
  • Einer von Vielen

     
  • Einer von Vielen

    Had to comment out the manfifest
    At least chrome on Linux Mint only works with this solution (without stored JS in the browser cache).

     

Log in to post a comment.

MongoDB Logo MongoDB