Title: Adding additional information to the map
Last modified: August 21, 2016

---

# Adding additional information to the map

 *  Resolved [nicola524](https://wordpress.org/support/users/nicola524/)
 * (@nicola524)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/adding-additional-information-to-the-map/)
 * Hello, I would like to add additional information to the comic that appears on
   the map, I saw that the information is loaded through an array in the file map.
   js getPTIWContent through the function (s). My problem is that I can not find
   the piece of code where the vector mainMapArgs.locations [i] is loaded.
    I’m 
   using version 1.7 of the plug.
 * I hope you can help me.
 * Sorry for the bad English, Nicola
 * [http://wordpress.org/extend/plugins/geo-my-wp/](http://wordpress.org/extend/plugins/geo-my-wp/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Eyal Fitoussi](https://wordpress.org/support/users/ninjew/)
 * (@ninjew)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/adding-additional-information-to-the-map/#post-3870621)
 * Hi Nicola,
    What kind of information are you trying to pass to the bubble? with
   the version that you are using all the map arguments pass to the Javascript file
   using the $main_map_args array. it is in the file geo-my-wp/plugin/post-types/
   shortcodes.php ( lines 193 to 210). This array hold the information about the
   map and its settings and also the information about each location (‘locations’
   => $wppl[‘posts_within’] ). $wppl[‘posts_within’] is the array of the locations.
 * I am not sure what information you want to add but if it is information about
   the individual posts such as custom field you will need to create a foreach loop
   and add information about each post into the array which could be a little complex.
 * What i’ll suggest you is to update to the latest version of the plugin. It is
   a beta still but the latest beta version is very close to be final. so not too
   many bugs.
    The code in the new version is much more advanced and better written.
   which will make it much easier for you to add information to the bubble or to
   modify the plugin in other ways.
 * email me to [info@geomywp.com](https://wordpress.org/support/topic/adding-additional-information-to-the-map/info@geomywp.com?output_format=md)
   if you want me to send you the latest version.

Viewing 1 replies (of 1 total)

The topic ‘Adding additional information to the map’ is closed to new replies.

 * ![](https://ps.w.org/geo-my-wp/assets/icon-256x256.gif?rev=2803407)
 * [GEO my WP](https://wordpress.org/plugins/geo-my-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/geo-my-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/geo-my-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/geo-my-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/geo-my-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/geo-my-wp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Eyal Fitoussi](https://wordpress.org/support/users/ninjew/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/adding-additional-information-to-the-map/#post-3870621)
 * Status: resolved