Title: Uploading interactive map
Last modified: September 3, 2017

---

# Uploading interactive map

 *  Resolved [myrdin](https://wordpress.org/support/users/myrdin/)
 * (@myrdin)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/uploading-interactive-map/)
 * Hello, I would like to display an interactive map on my website. I found some
   svg maps here [https://www.amcharts.com/svg-maps/](https://www.amcharts.com/svg-maps/)
   but i can’t upload it (http error) I tried other svg files and it worked. Is 
   there something to change in the map’s file?
    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Benbodhi](https://wordpress.org/support/users/benbodhi/)
 * (@benbodhi)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/uploading-interactive-map/#post-9464617)
 * Hi there,
 * Indeed, you will need to remove the first line:
    `<?xml version="1.0" encoding
   ="utf-8"?>`
 * Then they will upload fine.
 *  Plugin Author [Benbodhi](https://wordpress.org/support/users/benbodhi/)
 * (@benbodhi)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/uploading-interactive-map/#post-9464621)
 * I probably should have been a little clearer.
    SVG files are actually XML code,
   and for some reason declaring this tag at the top of a file can cause issues 
   when uploading. I have seen this before and personally remove everything outside
   of the `<svg>` tag, both to avoid this and for a neater file.
 * Additionally, I run my files through something called SVG Cleaner which you can
   find here:
    [https://github.com/RazrFalcon/svgcleaner-gui/releases](https://github.com/RazrFalcon/svgcleaner-gui/releases)
 *  Thread Starter [myrdin](https://wordpress.org/support/users/myrdin/)
 * (@myrdin)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/uploading-interactive-map/#post-9464715)
 * Thank you for answering and for the explanations. I removed everything around
   the `<svg>` tag but i still got the error. I also tried the svgcleaner.
    -  This reply was modified 8 years, 8 months ago by [myrdin](https://wordpress.org/support/users/myrdin/).
 *  Plugin Author [Benbodhi](https://wordpress.org/support/users/benbodhi/)
 * (@benbodhi)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/uploading-interactive-map/#post-9464730)
 * You only need to remove the first line in the files I tested from that site:
   `
   <?xml version="1.0" encoding="utf-8"?>`
 *  Plugin Author [Benbodhi](https://wordpress.org/support/users/benbodhi/)
 * (@benbodhi)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/uploading-interactive-map/#post-9464826)
 * How did you go?
    I managed to replicate exactly what you described using the 
   Italy maps, I then opened the SVG files in my code editor and removed the first
   line as mentioned, then both files uploaded fine.
 * I hope you got it sorted.
 *  Thread Starter [myrdin](https://wordpress.org/support/users/myrdin/)
 * (@myrdin)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/uploading-interactive-map/#post-9490023)
 * It works thanks a lot for your help.
 *  Plugin Author [Benbodhi](https://wordpress.org/support/users/benbodhi/)
 * (@benbodhi)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/uploading-interactive-map/#post-9490166)
 * Great news! Thanks for letting me know 😁

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Uploading interactive map’ is closed to new replies.

 * ![](https://ps.w.org/svg-support/assets/icon.svg?rev=1417738)
 * [SVG Support](https://wordpress.org/plugins/svg-support/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/svg-support/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/svg-support/)
 * [Active Topics](https://wordpress.org/support/plugin/svg-support/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/svg-support/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/svg-support/reviews/)

## Tags

 * [interactive map](https://wordpress.org/support/topic-tag/interactive-map/)

 * 7 replies
 * 2 participants
 * Last reply from: [Benbodhi](https://wordpress.org/support/users/benbodhi/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/uploading-interactive-map/#post-9490166)
 * Status: resolved