PluginProbe
CodePeople Post Map for Google Maps / 1.2.3
CodePeople Post Map for Google Maps v1.2.3
1.3.0 1.2.9 1.2.8 1.2.7 1.2.6 trunk 1.0.44 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5
codepeople-post-map / readme.txt

readme.txt in CodePeople Post Map for Google Maps 1.2.3, at readme.txt

670 lines 39.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 === Google Maps CP ===
2 Contributors: codepeople
3 Donate link: http://wordpress.dwbooster.com/content-tools/codepeople-post-map
4 Tags:google maps,maps,marker,places,shape,cluster
5 Requires at least: 3.0.5
6 Tested up to: 6.7
7 Stable tag: 1.2.3
8 License: GPLv2 or later
9 License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
11 Google Maps CP allows to associate geolocation information to your posts and to integrate your blog with Google Maps in an easy and natural way.
12
13 == Description ==
14
15 Google Map features:
16
17 ► Insert a Google map in the best position within your blog
18 ► Deal with large volumes of dots or markers on the Google Maps
19 ► Uses Google Maps to discover additional entries related to the post
20 ► The location can be defined by physical address and point coordinates
21 ► Map markers customization
22 ► Allows to embed Google Maps in multiple languages
23 ► Allows several Google Maps controls and configuration options
24
25 **Google Maps CP** allows to insert a Google Maps in a post or in any of the WordPress templates that display multiple posts.
26
27 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.
28
29 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.
30
31 **Google Maps** has a wide range of settings to make your maps more versatile and adaptable.
32
33 **More about the Main Features of Google Maps CP:**
34
35 * The plugin is capable of dealing with **large volumes of dots or markers**.
36 * Another way for users to discover **additional entries related** to the post.
37 * The **location information** can be defined by physical address and point coordinates.
38 * 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.
39 * Markers **customization**.
40 * Display or hide the bubbles with markers information.
41 * Allows to display a bubble opened by default.
42 * Based on **Google Maps Javascript API Version 3**.
43 * Allows to embed Google maps in **multiple languages**.
44 * Displays **markers** belonging to posts of the same categories.
45 * **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.
46 * Allows to styling the map.
47
48 **Premium Features of Google Maps CP:**
49
50 * Load points belonging to specific pages or posts.
51 * Load in a same map all points that belong to a specific category.
52 * Load in a same map the points associated to all posts.
53 * Display the points that belong to the posts with a specific tag.
54 * The location information and description may be used in posts search.
55 * Allows to associate multiple Google maps points to each post/page.
56 * Allows to draw routes through points in the same post.
57 * Include a search box on the map for searching additional places.
58 * Draw shapes on the Google Maps.
59 * Allows to create a legend with categories, tags, or custom taxonomies, and display or hide the points, checking or unchecking legend items.
60 * Include a link to get directions to the point from Google Maps.
61 * Include a link to open the point directly on Google Maps.
62 * Include a link to display directly the street view in the specific point.
63 * Allows to display multiple Google Maps in the same post/page (but displays the same points in all maps on page).
64 * Allows to insert the map as widget on sidebars.
65 * Allows grouping multiple markers in a cluster.
66 * Allows to display the user location on map.
67 * Allows to refresh the user location on map in the time interval defined in the map's settings.
68 * Generates dynamic points from the geolocation information, stored in the image's metadata when it is uploaded to WordPress, and includes a button for processing all previous images.
69 * Generates dynamic points on map, relative to the geolocation information, assigned to the posts from WordPress App.
70 * Allows to associate the Google maps with any public post_type in WordPress.
71 * In non singular webpages, Google Maps display a map for each post.
72 * Allows to export all points defined in the website to a CSV file.
73 * Allows to import the points from a CSV or KML file.
74 * Allows to load a KML layer on the map from a KML file.
75
76 The third, and most extended version of the plugin is the "Developer Version". The Developer version of the Google Maps CP plugin includes all features of the Premium version, and the features listed below:
77
78 **Developer Features of Google Maps CP**
79
80 * Allows design a Contact Form, and associate it with the points in the map.
81 * Send notification emails with the information collected by the form.
82 * Associate an email address to the points, to contact a different person by each point, or a global email address to be notified from all points.
83 * Supports Contact Form 7 plugin's forms in the points' descriptions by inserting their shortcodes ( [contact-form-7 id="1" title="Contact Form" label="Click Here"] )
84 * Allows to use the image associated with the point as the point's icon on map.
85
86 **Demo of the Developer Version of Google Maps CP Plugin**
87
88 [https://demos.dwbooster.com/cp-google-maps/wp-login.php](https://demos.dwbooster.com/cp-google-maps/wp-login.php "Click to access the administration area demo")
89
90 [https://demos.dwbooster.com/cp-google-maps/](https://demos.dwbooster.com/cp-google-maps/ "Click to access the Public Page")
91
92
93 Note 1: To display all points that belong to a specific category in the same Google Map, 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 would be:
94
95 <?php echo do_shortcode('[codepeople-post-map cat="3"]'); ?>
96
97 Note 2: To display all points that belong to more than one category in a same Google Map, 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 would be:
98
99 <?php echo do_shortcode('[codepeople-post-map cat="3,5"]'); ?>
100
101 Note 3: To display all points defined in the website in a same Google Map, use -1 as the category's ID:
102
103 [codepeople-post-map cat="-1"]
104
105 or
106
107 <?php echo do_shortcode('[codepeople-post-map cat="-1"]'); ?> for template.
108
109 Note 4: To display all points that belong to the posts with a specific tag assigned in a same Google Map, for example the tag name "mytag", use the shortcode's attribute "tag", as follows: `[codepeople-post-map tag="mytag"]`. To insert the code directly in a template, the snippet of code would be:
110
111 <?php echo do_shortcode('[codepeople-post-map tag="mytag"]'); ?>
112
113 Note 5: To display the points belonging to specific posts or pages in a same Google Map, enter their ids separated by comma through the "id" attribute in the shortcode as follows: `[codepeople-post-map id="123"]`. To insert the code directly in a template, the snippet of code would be:
114
115 <?php echo do_shortcode('[codepeople-post-map id="123"]'); ?>
116
117 The "id" attribute has preference over the rest of the filtering attributes.
118
119 If you prefer configure your map directly from the shortcode, then you must enter an attribute for each map feature to specify. For example:
120
121 [codepeople-post-map width="500" height="500"]
122
123 The complete list of allowed attributes are:
124
125 Very Important. Some of attributes are available only in the premium and developer versions of the plugin.
126
127 width: Values allowed, number or percentage. Defines the map's width:
128
129 [codepeople-post-map width="300"]
130
131 or
132
133 [codepeople-post-map width="100%"]
134
135 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:
136
137 [codepeople-post-map height="300"]
138
139 align: Values allowed, left, right, center. Aligns the map's container to the left, right or center:
140
141 [codepeople-post-map align="center"]
142
143 dynamic_zoom: Values allowed, 1 or 0. Adjust the zoom of map dynamically to display all points on map at the same time:
144
145 [codepeople-post-map dynamic_zoom="1"]
146
147 zoom: Accepts a number to define the map's zoom. To apply a zoom to the map, the dynamic zoom should be 0:
148
149 [codepeople-post-map dynamic_zoom="0" zoom="5"]
150
151 type: Values allowed, SATELLITE, ROADMAP, TERRAIN and HYBRID. Select the type of map to display:
152
153 [codepeople-post-map type="ROADMAP"]
154
155 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:
156
157 [codepeople-post-map language="en"]
158
159 route: Values allowed, 0 or 1. Draw or not the route between points in a same post or page:
160
161 [codepeople-post-map route="1"]
162
163 mode: Values allowed, DRIVING, BICYCLING and WALKING. Define the type of route:
164
165 [codepeople-post-map route="1" mode="DRIVING"]
166
167 show_window: Values allowed, 0 or 1. To enable or disable the infowindows:
168
169 [codepeople-post-map show_window="1" ]
170
171 show_default: Values allowed, 0 or 1. Display or not an infowindow expanded by default:
172
173 [codepeople-post-map show_window="1" show_default="1"]
174
175 markerclusterer: Values allowed, 0 or 1. Displays a cluster with the number of points in an area:
176
177 [codepeople-post-map markerclusterer="1"]
178
179 mousewheel: Values allowed, 0 or 1. Enables the map's zoom with the mouse wheel:
180
181 [codepeople-post-map mousewheel="1"]
182
183 zoompancontrol: Values allowed, 0 or 1. Displays or hide the zoom controls in the Google Maps:
184
185 [codepeople-post-map zoompancontrol="1"]
186
187 typecontrol: Values allowed, 0 or 1. Displays or hide the type control in the Google Map:
188
189 [codepeople-post-map typecontrol="1"]
190
191 streetviewcontrol: Values allowed, 0 or 1. Displays or hide the street-view control in the Google Map:
192
193 [codepeople-post-map streetviewcontrol="1"]
194
195 defaultpost: Defines the post ID, for centring the map, and display by default the infowindow corresponding to the first point associated to this post:
196
197 [codepeople-post-map defaultpost="396"]
198
199 center: To define the center of the map, but if the infowindows are configured to be opened by default, the map will be centered in the point with the infowindow opened:
200
201 [codepeople-post-map center="40.7127837,-74.00594130000002"]
202
203 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:
204
205 [codepeople-post-map legend="category"]
206
207 legend_title: Text to be used as legend title:
208
209 [codepeople-post-map legend="category" legend_title="Select the categories to display on map"]
210
211 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:
212
213 [codepeople-post-map legend="category" legend_class="my-legend-class"]
214
215 tag: Tags slugs separated by ",". Displays on map the points whose posts have assigned the tags:
216
217 [codepeople-post-map tag="tag1,tag2,tag3"]
218
219 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:
220
221 [codepeople-post-map cat="2,4,56"]
222
223 [codepeople-post-map cat="-1"]
224
225 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:
226
227 [codepeople-post-map tag="tag1,tag2" excludecat="4"]
228
229 excludepost: Posts IDs to exclude separated by ",":
230
231 [codepeople-post-map cat="-1" excludepost="235,260"]
232
233 excludetag: Tags IDs to exclude separated by ",":
234
235 [codepeople-post-map excludetag="2,13"]
236
237 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:
238
239 [codepeople-post-map taxonomy="taxonomyA,taxonomyB" taxonomyA="T1" taxonomyB="t2,t3"]
240
241 Note 5: The geolocation information is stored in image's metadata from mobiles or cameras with GPS devices.
242
243 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
244
245 Passing the parameter print=1, displays the map at beginning of page/post content.
246
247 Note 7: To display in the Google Map 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:
248
249 [codepeople-post-map taxonomy="taxonomy1" taxonomy1="value1"]
250
251 for multiple taxonomies:
252
253 [codepeople-post-map taxonomy="taxonomy1,taxonomy2" taxonomy1="value1" taxonomy2="value2,value3"].
254
255 post_type: In combination with other attributes like: cat, tag or taxonomy, it is possible to load on map only the points that belong to the post types in the list:
256
257 [codepeople-post-map cat="-1" post_type="post,page"]
258
259 excludepost_type: In combination with other attributes like: cat, tag or taxonomy, it is possible to load on map only the points that do not belong to the post types in the list:
260
261 [codepeople-post-map cat="-1" excludepost_type="post"]
262
263 kml: Absolute URL (http://...) to a KML file with the Keyhole Markup Language:
264
265 [codepeople-post-map kml="http://www.yourwebsite.com/your-file.kml"]
266
267 If you want more information about this plugin or another one don't doubt to visit my website:
268
269 [http://wordpress.dwbooster.com/content-tools/codepeople-post-map](http://wordpress.dwbooster.com/content-tools/codepeople-post-map "Google Maps CP")
270
271 == Installation ==
272
273 **To install Google Maps CP, follow these steps:**
274
275 1. Download and unzip the plugin
276 2. Upload the entire codepeople-post-map/ directory to the /wp-content/plugins/ directory
277 3. Activate the plugin through the Plugins menu in WordPress
278
279 == Interface ==
280
281 **Google Maps** offers several setting options and is highly flexible. Options can be set up in the Settings page (and will become the **default setup** for all maps added to posts in the future), or may be **specific to each post** to be associated with the Google maps (in this case the values are entered in the editing screen of the post in question.)
282
283 The settings are divided into two main groups, those belonging to the Google maps and those belonging to the geolocation point.
284
285 **Google Maps configuration options:**
286
287 * Map zoom: Initial map zoom.
288 * Dynamic zoom: Allows to adjust the map's zoom dynamically to display all points at the same time.
289 * Map width: Width of the map.
290 * Map height: Height of the map.
291 * Map margin: Margin of the map.
292 * Map align: Aligns the map at left, center or right of area.
293 * Map type: Select one of the possible types of maps to load (roadmap, satellite, terrain, hybrid).
294 * Map language: a large number of languages is available to be used on maps, select the one that matches your blog's language.
295 * Allow drag the map: allows drag the map to see other places.
296 * Map route: Draws the route through the points that belong to the same post (available only in the premium and developer versions of plugin)
297 * Travel Mode: Travel mode used in route drawing (available only in the premium and developer versions of plugin)
298 * Include Traffic Layer: Displays a traffic layer over the map.
299 * Show info bubbles: display or hide the bubbles with the information associated to the points.
300 * Display a bubble by default: display a bubble opened by default.
301 * Display map in post / page: When the Google maps are inserted in a post you can select whether to display the Google maps or display an icon, which displays the map, when pressed (if the Google maps are inserted into a template that allows multiple posts, this option does not apply)
302 * Options: This setting allows you to select which map controls should be available.
303 * Display a bundle of points in the same area, like a cluster: Allows grouping multiple points in a cluster (available only in the premium and developer versions of plugin)
304 * Display Featured Image by default: Displays the Featured Image in posts and pages in the infowindows, if the points don't have associated an image.
305 * Display the user's location: Displays a marker with the location of user that is visiting the webpage (available only in the premium and developer versions of plugin)
306 * Refresh the user's location every: Integer number that represent the interval in milliseconds to refresh the user's location (available only in the premium and developer versions of plugin)
307 * Title of user's location: Enter the title of infowindow belonging to the user's marker (available only in the premium and developer versions of plugin)
308 * Display the get directions link: Displays a link in the infowindow to get the directions to the point (available only in the premium and developer versions of plugin)
309 * Display a link to Google Maps: Displays a link in the infowindow to load the point directly on Google Maps.
310 * Display a link to Street View: Displays a link in the infowindow to display the street view in the specific point.
311 * Enter the number of points on the post / page map: When the Google maps are inserted into a post, points that belong to the same categories will be shown on the same Google map. This option allows you to set the number of points to be shown. When the Google maps are inserted into a template that allows multiple posts this option does not apply.
312 * Generate points dynamically from geolocation information included on images, when images are uploaded to WordPress: If the image uploaded to WordPress includes geolocation information is generated a point with related to the geolocation information.
313 * Generate points dynamically from geolocation information included on posts: Displays new points on maps, if the post includes geolocation information, generated by WordPress App.
314 * Display maps legends: Check the option to display a legend with categories, tags, or custom taxonomies, to display or hide the points on map dynamically.
315 * Select the taxonomy to display on legend: Select the taxonomies to display on legend.
316 * Enter a title for legend: Enter the title to display in the legend.
317 * Enter a classname to be applied to the legend: To customize the legend appearance, associate to it a classname, and set the class definition in any of style files in your website.
318 * Highlight post when mouse hovers over related point on map: When the Google maps are inserted into a template that allows multiple posts, hovering the mouse over one of the points will highlight the associated post through assignment of a class in the next setup option.
319 * Highlight class: Name of the class to be assigned to a post to highlight when the mouse is hovered over the point associated with that post on the Google map.
320 * Use points information in search results: Allows search in the points information ( available only in the premium and developer versions of plugin )
321 * Allow to associate a map to the post types: Allows to associate points to custom post types in website ( available only in the premium and developer versions of plugin )
322
323 **Configuration options related to the points location**
324
325 * Location name: Name of the place you are indicating on the Google maps, alternatively, the name of the post can be used.
326 * Location description: Description of the place you are showing on the Google maps. If left blank, the post summary will be used.
327 * Select an image from media library: Select an image to associate with the localization point.
328 * Address: Physical address of the geolocation point.
329 * Latitude: Latitude of the geolocation point (gotten from Google Maps).
330 * Longitude: Longitude of the geolocation point (gotten from Google Maps).
331 * Verify: This button allows you to check the accuracy of the geolocation point address by updating the latitude and longitude where necessary.
332 * Select the marker by clicking on the images: Select the bookmark icon to show on the Google Maps.
333 * Insert the map tag: Inserts a shortcode in the content of the post where the Google Map is displayed with the features selected in the setup. You can attach geolocation information to a post but choose not to show the Google maps in the content of the post. In case you do want to display a map in the post content, use this button.
334
335 **Configure Shapes**
336
337 * Check the box over the "Insert the map tag" button.
338 * Enter the stroke weight of shape.
339 * Enter the color of shape.
340 * Enter the opacity of shape.
341 * Press with the mouse on map at right to draw the shape.
342
343 **Inserting maps as widgets on sidebars** (available only in the premium and developer versions of plugin)
344
345 To insert the maps as widget on sidebars, go to the menu option "Appearance / Widgets", and drag the "CP Google Maps" widget to the sidebar.
346
347 It is possible define, for each map on sidebar, all attributes available with the format attr="value". The map's width is set to the 100% of sidebar by default.
348
349 **Translations**
350
351 The Google Maps CP uses the English language by default, but includes the following language packages:
352
353 * Spanish
354 * French
355
356 Note: The languages packages are generated dynamically. If detects any errors in the translation, please, contact us to correct it.
357
358 == Frequently Asked Questions ==
359
360 = Q: Why the Google Map shortcode is not inserted on page content? =
361
362 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:
363
364 [codepeople-post-map]
365
366 = Q: How many Google Maps I can insert into a post? =
367
368 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)
369
370 = Q: How to insert Google Maps into a template? =
371
372 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:
373
374 <?php echo do_shortcode ('[codepeople-post-map]'); ?>
375
376 = Q: Is possible to load all points that belong to the posts with a tag assigned in a same Google Map? =
377
378 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", as follows:
379
380 [codepeople-post-map tag="mytag"]
381
382 To insert the code directly in a template, the snippet of code would be:
383
384 <?php echo do_shortcode('[codepeople-post-map tag="mytag"]'); ?>
385
386 = Q: How to know the ID of a category? =
387
388 A: The explanation to determine the ID of a category is applied to other taxonomies.
389
390 Access to the categories through the menu option: "Posts/Categories". After accessing to the categories page, click the "Edit" link corresponding to the category, and pays special attention to the parameter "tag_ID", in the URL on browser. The value in this parameter correspond to the ID of the category.
391
392 = Q: Is possible to load all points in a category in a same Google Map? =
393
394 A: To display all points that belong to a specific category, it is required to insert the following shortcode
395
396 [codepeople-post-map cat="3"]
397
398 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 would be:
399
400 <?php echo do_shortcode ('[codepeople-post-map cat="3"]'); ?>
401
402 = Q: How to exclude the points in a category? =
403
404 A: To exclude the points that belong to a specific category, or various categories, inserts the attribute excludecat in the shortcode:
405
406 [codepeople-post-map excludecat="3,4"]
407
408 The number 3 and 4 represent the categories IDs.
409
410 = Q: How to exclude the points in a post? =
411
412 A: To exclude the points that belong to a post, or various posts, inserts the attribute excludepos in the shortcode:
413
414 [codepeople-post-map excludepost="3,4"]
415
416 The number 3 and 4 represent the posts IDs.
417
418 = Q: How to exclude the points in posts with tag? =
419
420 A: To exclude the points that belong to the post with a specific tag, or various tags, inserts the attribute excludetag in the shortcode:
421
422 [codepeople-post-map excludetag="3,4"]
423
424 The number 3 and 4 represent the tags IDs.
425
426 = Q: Is possible to load all points in more than one category in a same Google Map? =
427
428 A: To display all points that belong to multiple categories, it is required separate the categories IDs with comma ","
429
430 [codepeople-post-map cat="3,5"]
431
432 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 would be:
433
434 <?php echo do_shortcode ('[codepeople-post-map cat="3,5"]'); ?>
435
436 = Q: Is possible to load all points in the website in a same Google Map? =
437
438 A: To display all points in the website use -1 as the category ID:
439
440 [codepeople-post-map cat="-1"]
441
442 or
443
444 <?php echo do_shortcode ('[codepeople-post-map cat="-1"]'); ?>
445
446 for template.
447
448 = Q: If I link geolocation information to a post but do not insert a Google map in it, will the geolocation information be available? =
449
450 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.
451
452 = Q: How can I disable the information window of point opened by default? =
453
454 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"
455
456 = Q: How can I disable all information windows of points? =
457
458 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"
459
460 = Q: How can I use different icons, in the points markers? =
461
462 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.
463
464 = Q: How can I use particular settings in a map? =
465
466 A: You may use a particular settings in a map, defining the options directly as attributes of shortcode:
467
468 [codepeople-post-map width="100%"]
469
470 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.
471
472 = Q: Is possible to display the map as responsive design? =
473
474 A: Yes, that is possible, you only should to define the width of map with values in percent. For example: 100%
475 Pay attention the height definition with percent is not recommended, because it is only possible if the map's container has a fixed height.
476
477 = Q: How to get the directions to the point? =
478
479 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.
480
481 = Q: Is possible to include multiple taxonomies in the maps' legends? =
482
483 A: In the shortcode can be defined the attribute "legend" for selecting the taxonomy to use in the legend of map:
484
485 [codepeople-post-map legend="category"]
486
487 but from the version 5.0.6 of the plugin it is possible to define in the legend multiple taxonomies separated by comma, to include all of them in the map's legend:
488
489 [codepeople-post-map legend="category,post_tag"]
490
491 = Q: How to open the point on Google Maps? =
492
493 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.
494
495 = Q: Could I insert the map as widget? =
496
497 A: Yes, you can. Go to the menu option: "Appearance / Widgets" and insert the "CP Google Maps" widget on side bar.
498
499 = Q: My images include geolocation information. Is possible use the geolocaion information stored in the image to generate points on map? =
500
501 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.
502
503 = Q: Why the maps are not showing on website? =
504
505 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
506 Passing the parameter print=1, displays the map at beginning of page/post content.
507
508 = Q: It is possible to draw routes for flights between countries? =
509
510 A: By default Google draws routes between points connected by cars, bus, trains, etc, but not for flights. So, in this case should be used polylines. To connect points with polylines, tick the attribute: "Connect the points with polylines, even if there is not a route between points", in the settings page of maps.
511
512 = Q: How can I change the route between address? =
513
514 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.
515
516 = Q: What are the differences between routes and polylines? =
517
518 A: The routes are drawn on maps, only if there are known routes between the locations, based in the travelling mode (driving, walking), but if Google unknown a way between both address, is not able to draw the route. The polylines are straight lines connecting two addresses, even if there is not a route. It is main difference between both concepts, and why the polylines are preferred for representing flights.
519
520 = Q: Is possible create routes between points in different posts? =
521
522 A: Yes, it's possible to draw a route including points belonging to different posts/pages, but in the current version of the plugin would be needed duplicate some points. Visit the following link to our technical blog with detailed instructions:
523
524 [http://blog.net-factor.com/how-connecting-multiple-posts-on-a-route/](http://blog.net-factor.com/how-connecting-multiple-posts-on-a-route/ "How connecting multiple posts on a route?")
525
526 = Q: How can I centring the map in a point defined a specific post, and display its infowindow? =
527
528 A: Use the "defaultpost" attribute, in the map's shortcode, as follows:
529
530 [codepeople-post-map defaultpost="231"]
531
532 The number is the post's ID
533
534 = Q: I've configured the sizes of the map to be displayed with a responsive design, but the map is not showing =
535
536 A: To display the maps with a responsive design, you should define the map's width with percentages (for example 100% if you want that the map width be the same that its container), but PAY ATTENTION, in web development the treatment of the width and height is different. The page width is limited by the browser's width, but with the height it is not apply. So, you should enter a fixed height(for example 320px).
537
538 The only way to define the map's height in percentages, is if the element that contain the map has defined a fixed height.
539
540 = Q: Can be inserted a link in the infowindow? =
541
542 A: It is possible insert links, and any other HTML element in the infowindow. You only should insert HTML tags directly in the point description. For example, to insert a link to our web page: &lt;a href=&quot;http://wordpress.dwbooster.com&quot;&gt;Click Here&lt;/a&gt;
543
544 = Q: After entering an address, and to press the verify button, the address is modified, and the pin is displayed in a different location of the map =
545
546 A: If after pressing the "verify" button, the address is modified dynamically, and the pin is displayed in another location, the cause is simple. If Google Maps does not recognize an address, it uses the nearest known address, and displays the pin on this location.
547
548 To solve the issue, you simply should drag and drop the pin in the correct location, and type the address again, but this time "DON'T PRESS AGAIN THE VERIFY BUTTON".
549
550 = Q: I've inserted an image in the page, but have not been generated a new point in the map =
551
552 A: First, be sure you have checked the option "Generate points dynamically from geolocation information included on images, when images are uploaded to WordPress", from the settings page of the plugin.
553
554 Second, be sure the image includes the Exif tags with the geolocation information (latitude and longitude)
555
556 Finally, you should upload the image from the "Add Media" button of the page or post, and not from the media library.
557
558 = Q: Can be generated a point from the page publication, with the location of the author? =
559
560 A: Yes, that is possible but only from the WordPress App, available for iPhone, iPad and Android, with the option for sharing the location enabled in the application. Furthermore, from the settings page of the plugin, should be checked the option: "Generate points dynamically from geolocation information included on posts"
561
562 = Q: How to display a map in the search results page, with the points defined in the resulting posts and pages? =
563
564 A: To insert a map in the results page with the points defined in the resulting posts and pages, you simply should identify the template file, in the active theme on your WordPress, that is used in the search page (usually it is called search.php), and inserts the map's shortcode directly in the file's content:
565
566 <?php echo do_shortcode( '[codepeople-post-map]' ); ?>
567
568 = Q: Can be searched in the website by the points information? =
569
570 A: If was checked the option "Use points information in search results", from the settings page of the plugin. The searching process will consider the points information too, and the posts and pages resulting could be selected by its points.
571
572 Pay attention, the results of search will be the posts and pages that include the points, not the point directly.
573
574 = Q: What styles are used in the infowindows? =
575
576 A: The design of infowindows is defined through styles in the cpm-styles.css file, located in "/wp-content/plugins/codepeople-post-map/styles/cpm-styles.css", specifically with the styles:
577
578 .cpm-infowindow {margin:0; padding:0px; min-height:80px; font-size:11px; clear:both;}
579 .cpm-infowindow .cpm-content {float:left;width:100%; color:black;}
580 .cpm-infowindow .cpm-content .title {font-size:12px; line-height: 18px; font-weight:bold; color:black;}
581 .cpm-infowindow .cpm-content .address {font-weight:bold; font-size:9px;}
582 .cpm-infowindow .cpm-content .description {font-size:10px;}
583
584 = Q: Can be highlighted the post or page related with the point on map? =
585
586 A: From the settings page of the plugin, there are two options:
587
588 * Highlight post when mouse move over related point on map
589 * Highlight class
590
591 If you check the option: "Highlight post when mouse move over related point on map", and enter a class name in the "Highlight class" attribute, in the maps inserted on pages with multiple entries, the class name will be applied to the post, or page, when the mouse is moved over a point associated in the corresponding page or post.
592
593 = Q: How can be created shapes on map? =
594
595 A: In the map's definition, directly in the page or post where the map is being inserted, there is the checkbox: "Do you want display a shape on map?", please, tick the checkbox to expand the shape's section.
596
597 The shape's section includes some options like: the stroke weight (if you don't want to display an stroke around the shape, set its value to zero), the fill colour (the colour code with the format: #FFFFFF, to select the shape colour), and the opacity to be applied to the shape, take into consideration than zero is transparent and 1 is opaque. Remember, the shape is displayed over the map, if you set the opacity to 1, won't be possible to see the map's area.
598
599 Now the most important part create the shape's area. To create the shape's area is sufficient with click in the map at right (Don't worry, the pins are not included in the final map, are inserted in the preview map to allow modify the shape's area). Through the pins at right map it is possible modify the shape's area, click on the pin to delete it, or drag the pin to another location to vary the shape.
600
601 == Screenshots ==
602
603 01. Maps in action
604 02. Styling the maps
605 03. Map with user's location
606 04. Map with shape
607 05. Global maps settings
608 06. Point insertion's form
609 07. Inserting map on sidebars
610 08. Generates points, from the geolocation information stored on image's metadata
611 09. Contact Form Builder (only available in the Developer version of the plugin)
612 10. Associate the contact form with the point, and define an email address between the point's data (only available in the Developer version of the plugin)
613 11. Export/Import section (only available in the Developer version of the plugin)
614
615 == Changelog ==
616
617 = 1.2.3 =
618
619 * Enhance the compatibility with latest Google Maps APIs.
620
621 = 1.2.2 =
622
623 * Improves the plugin interface.
624
625 = 1.2.1 =
626
627 * Resolves a compatibility issue with WordPress version previous to 5.5.
628
629 = 1.2.0 =
630
631 * Introduces the new Marker and Cluster libraries.
632 * Updates the Gutenberg block and metabox for enhanced functionality.
633 * Enhances the plugin settings page for a better user experience.
634
635 = 1.1.8 =
636
637 * Allows configuring the points to display when WPML is installed on the website.
638
639 = 1.1.7 =
640
641 * Load Google Maps APIs asynchronously so as not to affect website performance.
642
643 = 1.1.6 =
644
645 * Fixes a conflict in the activation process with WP6.5.
646
647 = 1.1.5 =
648
649 * Implements the integration with new Borlabs Cookie version.
650
651 = 1.1.4 =
652
653 * Improves the integration with third-party plugins.
654
655 = 1.1.3 =
656
657 * Removes deprecated JS code.
658
659 = 1.1.2 =
660
661 * Hides the map gray background color on zoom out.
662
663 = 1.1.1 =
664
665 * Fixes an issue in default variables.
666
667 = 1.1.0 =
668
669 * Improves the plugin interface.
670 * Implements the WCML integration to display points from active language.