Difference between revisions of "WordPress-GeoMashup"

From Help Wiki
(Changing the location of a post)
(Global maps)
Line 39: Line 39:
  
 
=Global maps=
 
=Global maps=
 +
It is often desirable to display a global map of all locations. Global maps can appear in posts (when the post has no location, but contains the [geo_mashup_map] shortcode) and pages. Pages offer a bit more flexibility for global maps.
 +
 +
# Go to the WordPress dashboard
 +
# Click Pages > Add New
 +
# Add a title
 +
# In the page body, add the Geo Mashup shordcode
 +
 +
  [geo_mashup_map]
 +
 +
If you save and view the post, you will see all of your geolocations on a map.
 +
 
=categories and maps=
 
=categories and maps=
 
=Global maps=
 
=Global maps=
 
=Importing KMLs=
 
=Importing KMLs=

Revision as of 15:47, 12 January 2013

Introduction

This tutorial describes how to create maps using the WordPress Geo Mashup plugin. It is assumed that you are familiar with the basics of WordPress, and have already installed and activated the Geo Mashup plugin.

Creating a post

  1. Go to the WordPress dashboard.
  2. Go to Posts > Add New
  3. Enter a title and body text

Add a location

While you are on the post edit page

  1. Scroll the page to the Location section
  2. Look for a world map
  3. Drag the map (left click and hold while moving the mouse) to center it on your location
  4. Zoom the map (use the + an - buttons on the left side of the map) to get close to your location
  5. Click the map to add a green marker

Saving locations

To save a location, we need to name it. Look below the map, you should see:

  • Address
  • Saved Name
  • Geo Date
  1. Click the Saved Name field and give your location a name
  2. Modify the date as needed.

Reusing saved locations

Add a Map in the Post body

To add a map in the post body, you simply need to add the following shortcode anywhere in the text where you would like your map to render.

 [geo_mashup_map]

Note: be sure that you have added a location to the post, otherwise a global map of all posts will appear.

Changing the location of a post

To change the location for a post:

  1. Click to Edit the post
  2. On the edit page, scroll down to Location
  3. Click the map to select a new location
  4. Update the post (under the Publish section)

Global maps

It is often desirable to display a global map of all locations. Global maps can appear in posts (when the post has no location, but contains the [geo_mashup_map] shortcode) and pages. Pages offer a bit more flexibility for global maps.

  1. Go to the WordPress dashboard
  2. Click Pages > Add New
  3. Add a title
  4. In the page body, add the Geo Mashup shordcode
 [geo_mashup_map]

If you save and view the post, you will see all of your geolocations on a map.

categories and maps

Global maps

Importing KMLs