How to use Google Map on your blog and blog posts? Sometimes you may want to add map of some locations on your blog. If your blog platform is WordPress then you have a wonderful plugin available.As mentioned on the wordpress-geo-mashup page “WordPress Geo Mashup make WordPress into a GeoCMS. Include Google maps in posts and pages, and map them on global maps.” Geo Mashup allows you to save location information most commonly with posts and pages. To use the WordPress Geo Mashup you need to have a Google Maps API key.
How to setup wordpress-geo-mashup ?
You can download WordPress Geo Mashup from WordPress Plugins page or from the the Geo Mashup Google Code project
The plugin requires WordPress Version: 2.8 or higher.
Extract and upload this entire geo-mashup folder to your wp-content/plugins directory. Activate the Geo Mashup plugin in the Plugins admin interface.
Get the Google Maps API key and add the key in the Geo Mashup Options page.
How to use the Geo Mashup and add location map to your post.
Once you activation is over, the wordpress post editor will have Location area added. Click in the Find Location text box and type a place name to do a search:
Give a name to the map and save the location. To display the map in your WordPress post / page you need to add the following text, also known as its “shortcode”, to the content area:
[geo _ mashup _ map] or you can add the optional parameters as given below.
"[geo _mashup _map height="200" width="400" zoom="2" add_overview_control="false" add_map_type_control="false"]" ( Extra space is added in the shortcode.Remove those you you are using this as it is)
We will discuss more about the proper shortcode usage and how to Template Tag parameters and KML attachments in the future posts. More documentation see here
[geo_mashup_map object_name="user" height="200" width="400"
Before you go, subscribe to get latest technology articles right in your mailbox!.