Geotag - map with all posts (7 posts)

  1. Chris Laursen
    Posted 5 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


  2. Boris
    Plugin Author

    Posted 5 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
    Posted 5 years ago #

    works! thanks

    why do the text windows when you click a marker look so wacky? see it here:

  4. herrpedro
    Posted 5 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


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


  5. Boris
    Plugin Author

    Posted 5 years ago #

    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>

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

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

    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
    Posted 5 years ago #

    ty bobs.. have a nice night.

  7. mikeoliverismyname
    Posted 4 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