Title: Need help inserting a map
Last modified: September 1, 2016

---

# Need help inserting a map

 *  [ladyandthetramper](https://wordpress.org/support/users/ladyandthetramper/)
 * (@ladyandthetramper)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/need-help-inserting-a-map/)
 * Hi there, pretty new to wordpress and trying to insert an amchart map using the
   new plug in. I have generated the code using the pixel generator on amcharts 
   website. however, when I paste it into the javascript and preview, all i get 
   is a blank screen and an error in the bottom left which says } catch( err ) {
   console.log( err ); }
 * hope you can help
 * Thanks
    Sally
 * [https://wordpress.org/plugins/amcharts-charts-and-maps/](https://wordpress.org/plugins/amcharts-charts-and-maps/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [martynasma](https://wordpress.org/support/users/martynasma/)
 * (@martynasma)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/need-help-inserting-a-map/#post-7588642)
 * Hi Sally,
 * You’ll need to divide up the code between the Resources, HTML and JavaScript 
   boxes.
 * Create a new map in WP using the “+ Map” amdin menu link.
 * If you are using default world map (worldLow), you don’t need to change anything
   in Resources box.
 * In HTML box take the <div> line, i.e.:
 * `<div id="map" style="width: 100%; height: 1075px;"></div>`
 * In JavaScript goes everything between `<script>` and `</script>` tags. (without
   those tags)
 * Everything that starts with:
 * `AmCharts.makeChart("map",{`
 * and ends with
 * `});`
 * I hope that helps.

Viewing 1 replies (of 1 total)

The topic ‘Need help inserting a map’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amcharts-charts-and-maps_6f74b0.svg)
 * [amCharts: Charts and Maps](https://wordpress.org/plugins/amcharts-charts-and-maps/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amcharts-charts-and-maps/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amcharts-charts-and-maps/)
 * [Active Topics](https://wordpress.org/support/plugin/amcharts-charts-and-maps/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amcharts-charts-and-maps/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amcharts-charts-and-maps/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [martynasma](https://wordpress.org/support/users/martynasma/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/need-help-inserting-a-map/#post-7588642)
 * Status: not resolved