Web map author tool HTML5 local testing

Comments

2 comments

  • Official comment
    Edgar

    Hi Mait,

    Thank you for contacting Avenza Support.  

    Unfortunately, this is a problem with the specific web browsers and not something that we can adjust on our end.  As web browsers such as Chrome and Firefox change their security protocols they restrict the use of opening html files locally (meaning they need to be hosted on a server to open).  

    There are two workarounds for this:

    1. So far Microsoft Explorer Edge is the only browser that we know of to still open file htmls locally
    2. Host the files on a server and access them that way through a valid URL

    I apologize for any inconvenience this brings, but unfortunately, this is something that is out of our control.

    Feel free to reach out to https://support.avenzamaps.com/hc/en-us/requests/new, if you have other questions.

    Regards

    Edgar

    Avenza Support

    Comment actions Permalink
  • Andy

    A great workaround shared by one of our users involves setting up a simple local testing server using Python, no complex setup or full web server needed.

    You can find step-by-step instructions in this Mozilla Developer article:

    Scroll down to the "Using Python" section. The guide walks you through running a simple HTTP server from the command line with just one or two lines of code, depending on your Python version

    Hope this helps others encountering the same roadblock and big thanks to the user who shared this tip!

    Best,

    Andy

    Avenza Support

    0
    Comment actions Permalink

Please sign in to leave a comment.