WordPress.org

Ready to get started?Download WordPress

Plugin Directory

CP Google Maps

CP Google Maps allows to associate geolocation information to your posts and to integrate your blog with Google Maps in an easy and natural way.

Q: Why the map's tag is not inserted on page content?

A: There are some content editors, available as WordPress plugins, that provoke some compatibility issues with WordPress, in this case you should type the shortcode manually: [codepeople-post-map]

Q: How many maps I can insert into a post?

A: In the free version of plugin only one map with only one point associated in each post/page. In the premium version of plugin it is possible associate multiple points to the post and insert multiple shortcodes ( if there are multiple maps included in the same post/page, all of them will display the same points)

Q: How to insert Google maps into a template?

A: Load the template in which you want to place the map in the text editor of your choice and place the following code in the position where you want to display the Google maps:

Q: Is possible to load all points that belong to the posts with a tag assigned?

A: To display all points that belong to the posts with a specific tag assigned, for example the tag name "mytag", use the shortcode's attribute "tag", like follows: [codepeople-post-map tag="mytag"]. To insert the code directly in a template, the snippet of code is:

Q: Is possible to load all points in a category?

A: To display all points that belong to a specific category, it is required to insert the following shortcode [codepeople-post-map cat="3"]. The number 3 represent the category ID, replace this number by the corresponding category's ID. To insert the code directly in a template, the snippet of code is:

Q: How to exclude the points in a category?

A: To exclude the points that belong to a specific category, or various categories, inserts the attribute excludecat in the shortcode [codepeople-post-map excludecat="3,4"]. The number 3 and 4 represent the categories IDs.

Q: How to exclude the points in a post?

A: To exclude the points that belong to a post, or various posts, inserts the attribute excludepos in the shortcode [codepeople-post-map excludepost="3,4"]. The number 3 and 4 represent the posts IDs.

Q: How to exclude the points in posts with tag?

A: To exclude the points that belong to the post with a specific tag, or various tags, inserts the attribute excludetag in the shortcode [codepeople-post-map excludetag="3,4"]. The number 3 and 4 represent the tags IDs.

Q: Is possible to load all points in more than one category?

A: To display all points that belong to multiple categories, it is required separate the categories IDs with comma "," [codepeople-post-map cat="3,5"]. The numbers 3 and 5 are the categories IDs, replace these numbers with the corresponding categories IDs. To insert the code directly in a template, the snippet of code is:

Q: Is possible to load all points in the website?

A: To display all points in the website use -1 as the category ID: [codepeople-post-map cat="-1"] or for template.

Q: If I link geolocation information to a post but do not insert a Google map in it, will the geolocation information be available?

A: If you have inserted a Google map into a template where multiple posts are displayed, then the geolocation information associated with posts is displayed on the map.

Q: How can I disable the information window of point opened by default?

A: Go to the settings of map (the settings page of plugin for settings of all maps, or the settings of a particular map), and uncheck the option "Display a bubble by default"

Q: How can I disable all information windows of points?

A: Go to the settings of map (the settings page of plugin for settings of all maps, or the settings of a particular map), and uncheck the option "Show info bubbles"

Q: How can I stylize the maps?

A: In the premium version of plugin is possible define a JSON object to stylize the maps: the maps' colors, labels, etc.

Q: How can I use different icons, in the points markers?

A: To use your own icons, you only should to upload the icons images to the following location: "/wp-content/plugins/codepeople-post-map/images/icons/", and then select the image from the list in the point's definition.

Q: How can I use particular settings in a map?

A: You may use a particular settings in a map, defining the options directly as attributes of shortcode: [codepeople-post-map width="100%"]

If you are inserting the map in a particular page/post, you may check the field named "Use particular settings for this map", and then entering the particular values in the settings options.

Q: Is possible to display the map as responsive design?

A: Yes, that is possible, you only should to define the width of map with values in percent. For example: 100% Pay attention the height definition with percent is not recommended, because it is only possible if the map's container has a fixed height.

Q: How to get the directions to the point?

A: Go to the settings page of plugin and check the box to display the "Get directions" link in the infowindow. The "Get directions" link will be displayed in the infowindow.

Q: How to open the point on Google Maps?

A: If you want to display a link to open the point directly on Google Maps, go to the settings page of plugin, and checks the box to display the link in the infowindow.

Q: Could I insert the map as widget?

A: Yes, you can. Go to the menu option: "Appearance / Widgets" and insert the "CP Google Maps" widget on side bar.

Q: My images include geolocation information. Is possible use the geolocaion information stored in the image to generate points on map?

A: Go to the settings page of plugin and select the corresponding option to allow processing the information stored on image's metadata, and then if an image uploaded to WordPress, includes geolocation information, will be generated a point with this information dynamically, that will be displayed on map.

Q: Why the maps are not showing on website?

A: Some plugins interfere with the shortcodes replacements, and provokes that maps don't be loaded correctly, in this case should be passed a new parameter through the shortcode print=1 Passing the parameter print=1, displays the map at beginning of page/post content.

Q: How can I change the route between address?

A: The route depends on the order of the points. If you want change the route, you should change the order of point. Takes the point by the handle's icon, and drag it to its correct position in the points list.

Requires: 3.0.5 or higher
Compatible up to: 3.9.1
Last Updated: 2014-7-9
Downloads: 121,103

Ratings

4 stars
4.7 out of 5 stars

Support

6 of 6 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

2 people say it works.
0 people say it's broken.

100,4,4
100,1,1
100,5,5
100,1,1
100,3,3
100,2,2
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,2,2