WordPress.org

Ready to get started?Download WordPress

Forums

Geotag
Geotag - map with all posts (7 posts)

  1. Chris Laursen
    Member
    Posted 3 years ago #

    I have given all my posts geotag info with the Geotag plugin. I don't want a map on each post page, just one map showing markers for all posts on it. How can I get that to appear on a page? Thanks

    http://wordpress.org/extend/plugins/geotag/

  2. Boris
    Member
    Plugin Author

    Posted 3 years ago #

    Hi chrislaursen,
    depends on where you want to display your map. You can create a post and add the following text

    [gmap marker_query="numberposts=-1"]

    You can also integrate a map into your theme, but this requires a little php progrmming...

  3. Chris Laursen
    Member
    Posted 3 years ago #

    works! thanks

    why do the text windows when you click a marker look so wacky? see it here:
    http://chrislaursen.com/project-browser/

  4. herrpedro
    Member
    Posted 3 years ago #

    done a post to do that
    looks like the markes are there (they show up for a moment while zooming in and out) but when map loads the vanish

    http://www.panoramapalace.com/2011/04/panoramapalace-map/

    removed "marker manager" and distances to show markers from geotag settings

    ty

  5. Boris
    Member
    Plugin Author

    Posted 3 years ago #

    @chrislaursen:
    You can style the info windows with your own CSS. Every info window looks like this:

    <div class="gmap_infowindow">
    <p class="headline"><a href="...">TITLE</a></p>
    <p class="date">DATE</p>
    </div>

    So for example you can change the headline by adding the following line to your stylesheet:

    div.gmap_infowindow p.headline {font-size: 11px;}

    @herrpedro:
    That looks really strange and I think we have to check this step by step. First we should find out why the [gmap] shortcode is not working. I will hae a look at that tomorrow.

  6. herrpedro
    Member
    Posted 3 years ago #

    ty bobs.. have a nice night.

  7. mikeoliverismyname
    Member
    Posted 2 years ago #

    I have created a page containing a map with markers for all posts - of which there are about 30 posts - using Boris's code.

    [gmap marker_query="numberposts=-1" width="100%" height="400px" type="hybrid" center="markers,photos,files"]

    However when I you load the page you can only see 3 or 4 markers. Does anyone know why this is. I am expecting to see posts appearing in Australia!?!?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags