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
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
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...
works! thanks
why do the text windows when you click a marker look so wacky? see it here:
http://chrislaursen.com/project-browser/
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
@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.
ty bobs.. have a nice night.
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!?!?
This topic has been closed to new replies.