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.

Google Map features:

► Insert a Google map in the best position within your blog
► Deal with large volumes of dots or markers on the Google Maps
► Uses Google Maps to discover additional entries related to the post
► The location can be defined by physical address and point coordinates
► Map markers customization
► Allows to embed Google Maps in multiple languages
► Allows several Google Maps controls and configuration options

CP Google Maps allows to insert a Google Maps in a post or in any of the WordPress templates that display multiple posts.

The Google Maps inserted in a single post displays a marker at the position indicated by the geolocation information pertaining to the post, but also shows markers of the last posts published in related categories. The number of markers to display on the Google Maps can be set in the plugin's settings.

The Google Maps inserted into a template displaying multiple posts will contain as many markers as posts making up the page with the associated geolocation info. When the mouse is hovered over the marker, the post to which it belongs gets highlighted.

Google Maps has a wide range of settings to make your maps more versatile and adaptable.

More about the Main Features:

  • The plugin is capable of dealing with large volumes of dots or markers.
  • Another way for users to discover additional entries related to the post.
  • The location information can be defined by physical address and point coordinates.
  • Allows to insert the Google maps in the best position within your blog or simply associate the geolocation information to the post but without displaying the Google maps.
  • Markers customization.
  • Allows to display or hide the bubbles with markers information.
  • Allows to display a bubble opened by default.
  • Based on Google Maps Javascript API Version 3.
  • Allows to embed Google maps in multiple languages.
  • Displays markers belonging to posts of the same categories.
  • Several customization options are available: initial zoom, width, height, margins, alignment, map type, map language, the way the map is displayed in a single post (either fully deployed or icon to display the Google maps), enable or disable map controls, the number of points plotted on a Google map, as well as the class that will be assigned to the post when the mouse hovers over the marker associated with the post.

Premium Features:

  • Allows to load all points that belong to a specific category.
  • Allows to load the points associated to all posts.
  • Allows to display the points that belong to the posts with a specific tag.
  • The location information and description may be used in posts search.
  • Allows to associate multiple Google maps points to each post/page.
  • Allows to draw routes through points in the same post.
  • Allows to draw shapes on map.
  • Allows to create a legend with categories, tags, or custom taxonomies, and display or hide the points, checking or unchecking legend items.
  • Allows to display a link to get directions to the point.
  • Allows to display a link to open the point directly on Google Maps.
  • Allows to display a link to display directly the street view in the specific point.
  • Allows to display multiple maps in the same post/page (but displays the same points in all maps on page).
  • Allows to insert the map as widget on sidebars.
  • Allows to styling the map.
  • Allows to display the Panoramio layer on map.
  • Allows grouping multiple markers in a cluster.
  • Allows to display the user location on map.
  • Generates dynamic points from the geolocation information, stored in the image's metadata when it is uploaded to WordPress.
  • Generates dynamic points on map, relative to the geolocation information, assigned to the posts from WordPress App.
  • Allows to associate the Google maps with any public post_type in WordPress.
  • In non singular webpages, Google Maps display a map for each post.

Demo of Premium Version of Plugin

http://demos.net-factor.com/cp-google-maps/wp-login.php

http://demos.net-factor.com/cp-google-maps/

Note 1: 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:

        <?php echo do_shortcode('[codepeople-post-map cat="3"]'); ?>

Note 2: To display all points that belong to more than one category, separate the categories IDs with the comma symbol [codepeople-post-map cat="3,5"]. The numbers 3 y 5 are the categories IDs, replace these numbers by the corresponding categories IDs. To insert the code directly in a template, the snippet of code is:

        <?php echo do_shortcode('[codepeople-post-map cat="3,5"]'); ?>

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

Note 4: 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:

        <?php echo do_shortcode('[codepeople-post-map tag="mytag"]'); ?>

If you prefer configure your map directly from the shortcode, then you must enter an attribute for each map feature to specify. For example:

        [codepeople-post-map width="500" height="500"]

The complete list of allowed attributes are:

Very Important. Some of attributes are available only in the premium version of the plugin.

width: Values allowed, number or percentage. Defines the map's width. [codepeople-post-map width="300"] or [codepeople-post-map width="100%"]

height: Values allowed, number or percentage (In the web's development, the height in percentage is effective only if the parent element has a height defined). Defines the map's height. [codepeople-post-map height="300"]

align: Values allowed, left, right, center. Aligns the map's container to the left, right or center. [codepeople-post-map align="center"]

dynamic_zoom: Values allowed, 1 or 0. Adjust the zoom of map dynamically to display all points on map at the same time. [codepeople-post-map dynamic_zoom="1"]

zoom: Accepts a number to define the map's zoom. To apply a zoom to the map, the dynamic zoom should be 0. [codepeople-post-map dynamic_zoom="0" zoom="5"]

type: Values allowed, SATELLITE, ROADMAP, TERRAIN and HYBRID. Select the type of map to display. [codepeople-post-map type="ROADMAP"]

language: Values allowed, en for English, es for Spanish, pt for Portuguese, etc. (for the complete list, check the Google Maps documentation). Select a language to display on map. [codepeople-post-map language="en"]

route: Values allowed, 0 or 1. Draw or not the route between points in a same post or page. [codepeople-post-map route="1"]

mode: Values allowed, DRIVING, BICYCLING and WALKING. Define the type of route. [codepeople-post-map route="1" mode="DRIVING"]

show_window: Values allowed, 0 or 1. To enable or disable the infowindows. [codepeople-post-map show_window="1" ]

show_default: Values allowed, 0 or 1. Display or not an infowindow expanded by default. [codepeople-post-map show_window="1" show_default="1"]

panoramiolayer: Values allowed, 0 or 1. Displays a layer with pictures of places. [codepeople-post-map panoramiolayer="1"]

markerclusterer: Values allowed, 0 or 1. Displays a cluster with the number of points in an area. [codepeople-post-map markerclusterer="1"]

mousewheel: Values allowed, 0 or 1. Enables the map's zoom with the mouse wheel. [codepeople-post-map mousewheel="1"]

zoompancontrol: Values allowed, 0 or 1. Displays or hide the zoom and pan controls. [codepeople-post-map zoompancontrol="1"]

typecontrol: Values allowed, 0 or 1. Displays or hide the type control. [codepeople-post-map typecontrol="1"]

streetviewcontrol: Values allowed, 0 or 1. Displays or hide the street-view control. [codepeople-post-map streetviewcontrol="1"]

defaultpost: Defines the post ID, for centring the map, and display by default the infowindow corresponding to the first point associated to this post. [codepeople-post-map defaultpost="396"]

legend: Accepts a taxonomy name as value. Some common taxonomies names are: category and post_tag, for the categories and tags, respectively. Displays the legend with the list of elements that belong to the taxonomy and are assigned to the posts associated with the points. [codepeople-post-map legend="category"]

legend_title: Text to be used as legend title. [codepeople-post-map legend="category" legend_title="Select the categories to display on map"]

legend_class: Class name to be assigned to the legend. The legend design may be modified through CSS styles. Creates a class name, with the styles definition, and associates the new class name to the legend through the legend_class attribute. [codepeople-post-map legend="category" legend_class="my-legend-class"]

tag: Tags slugs separated by ",". Displays on map the points whose posts have assigned the tags.[codepeople-post-map tag="tag1,tag2,tag3"]

cat: Categories IDs separated by "," or -1. Displays on map the points whose posts belong to the categories. The special value -1, allows display on map all points defined in the website.[codepeople-post-map cat="2,4,56"] [codepeople-post-map cat="-1"]

excludecat: Categories IDs to exclude, separated by ",". From points to be displayed on map, the plugin excludes the points whose posts belong to the categories to exclude. [codepeople-post-map tag="tag1,tag2" excludecat="4"]

excludepost: Posts IDs to exclude separated by ",". [codepeople-post-map cat="-1" excludepost="235,260"]

excludetag: Tags IDs to exclude separated by ",". [codepeople-post-map excludetag="2,13"]

taxonomy: The taxonomy is a special attribute that should be combined with other attributes, depending of taxonomies to use for points filtering. Suppose the website includes two new taxonomies: taxonomyA and taxonomyB, and the map should display all points that belong to the posts with the value T1 for taxonomyA, and T3,T4 for taxonomyB, the shortcode would be: [codepeople-post-map taxonomy="taxonomyA,taxonomyB" taxonomyA="T1" taxonomyB="t2,t3"]

Note 5: The geolocation information is stored in image's metadata from mobiles or cameras with GPS devices.

Note 6: 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.

Note 7: To display all points in posts with a specific taxonomy assigned, or multiple taxonomies, should be used the "taxonomy" attribute in the shortcode, with the list of all taxonomies separated by the comma symbol, for example: taxonomy="taxonomy1,taxonomy2", and a new attribute for each taxonomy with the values corresponding. For example if you want select the points that belong to the posts with the values: "value1" for "taxonomy1", the shortcode would be: [codepeople-post-map taxonomy="taxonomy1" taxonomy1="value1"], for multiple taxonomies: [codepeople-post-map taxonomy="taxonomy1,taxonomy2" taxonomy1="value1" taxonomy2="value2,value3"].

If you want more information about this plugin or another one don't doubt to visit my website:

http://wordpress.dwbooster.com

Requires: 3.0.5 or higher
Compatible up to: 3.9.1
Last Updated: 2014-7-16
Downloads: 122,129

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