The WordPress Geo Mashup Plugin
Thanks for your interest in Geo Mashup! If you want to learn more about what it does and how to use it, visit the GitHub page or play with my hobomap as an example.
Donations in the past month: $0
Powered by cyberhobo and you
Geo Mashup started as a hobby and eventually helped me transition from a salaried web developer to an independent freelancer. Maybe one cyberhobo can make a good plugin, but it won’t be great unless I make it easy for you to help me. If you can do any of these things, Geo Mashup will benefit:
- Answer questions in the forum.
- See if any of my recommend affiliates suit your needs.
- If you’re a developer, offer to help solve an issue or implement a new feature.
- Make a donation. It doesn’t have to be big to make a difference.
Examples
The comment list was getting too long, please visit the community forum for continued discussion.
250 responses to “Geo Mashup Plugin”
@cyberhobo
Do you know in wich line of code i can change the Marker-Icon?
Kind Regards
Sandro
Code would have to be added to geo-mashup.js in the createMarker function around line 129.
Thanks for the help and quick response last time. The guys over at the K2 forums weren’t much help really, so I’ve sorted it now by ditching bodyclass and just putting my own body tag in there, and it seems to have worked – I can now see the map 🙂
However, I seem to be getting the blocky rendering problem you mentioned in the documentation. I’ve checked the html, and all there is there is and nothing else for that page. Also, in IE I can see the map, and move about, but the info window still renders in the same blocky manner.
See http://www.dafyddllyr.net/?page_id=129 for what I mean.
Thanks for the help, but it doesn’t seem to want to work, i tired doing this –
and once again, no effect 🙁
The plugin was working really well, then suddenly nada. I installed a plugin and thought that might be the problem, but uninstalling did nothing. I’m going to try to restore the database from yesterday’s backup, but color me puzzled.
BTW, you wouldn’t happen to know what’s cauing this:
Warning: Cannot modify header information – headers already sent by (output started at /hsphere/local/home/oldcrank/shoregoodfood.org/wp-content/plugins/geo.php:2) in /hsphere/local/home/oldcrank/shoregoodfood.org/wp-admin/plugins.php on line 16
If you have any ideas, please let me know. Thanks for your time. I hope I can do something to make it up to you.
Best,
Ben
I should’ve worked it out by now 😛 Code doesn’t come up sorry. I wrapped it in div tags, so div at the start, then /div at the end, both in . But yeah, still no difference.
I do realise that this may be to do with K2 however, and I have posted a similar message on the K2 forum.
I’ve noticed that if you remove these two selectors from the K2 stylesheet, the map renders correctly:
.primary .item .itemtext div
.primary img
My conclusion is that the K2 stylesheet is not Google map friendly, and you’ll have to muck around with it to get it to work.
This is such a great idea. Unfortunately, I’m having the same loading problem as Jeroom and Nodge. I’ve activated geocode and it seems to be working because the coordinates fields appear in the edit screen. However, when I activate geomash and click on the geomash options screen I get an error message saying that geocode needs to be activated. Any tips would be great.
Hey CH, thanks for the note about the K2 bugs. Appreciate the help fixing this thing–my map is working!
You’re welcome Ken, maybe you can give DafyddyLlr a hint…
Great plugin! Got it working for the most part.
http://hoboken411.com/crime-map
However, the location points are not coming up clearly?!
Does anyone know of what may be wrong, and what I should look for elsewhere on my site?
Cyberhobo.. good work, much appreciated. Once it’s working I’ll give a shoutout and credits to your blog.
Perry
I should clarify one thing, and add another (sorry!)
1. The markers show up in IE but not FireFox… (yuck)
2. My post TITLES aren’t showing up in the box above the markers.. what do I need to do?
Thanks again!!
PK
I also got the problem that when I click on a post, it says loading in the pop-up ballon but then it does nothing.
Thanks for the plugin though! It’s really cool!!
Gumbah, your mashup is working great for me! You could try clearing your browser cache – one of the fixes for the next release is for improper browser caching, along with some other bug fixes for the Loading… problem.
Hey guys.. I’m sorta back (beyond) square one. I had this “almost” working last night, started over from scratch.. now the 5182 geo plugin doesn’t even work.
I noticed above that some people had problems with the coordinates not working in the geo plugin.. what was the workaround that?
I have WP 2.02, using geo plugin 5182.
I’m stumped. So I haven’t even begun to try again with the mashup..
ideas?
I think most of the trouble with coordinates not working was caused by using the wrong version of Geo, but you’re using the right one. You might have to submit a ticket for Geo if it seems like a bug.
I submitted a ticket, thanks.
Here’s a general question I have regarding GeoMashup.
You indicate in your quick start that: > has to be in the page.php file.
That sort of plays with my theme pretty badly.
Is there anyway that I can just use that code in the ONE page that will be using the GeoMashup? That would be a great relief for me.
Thanks for you efforts at making the WP community a very strong one.
Now tha val taro have the ability to be show in the world:
http://www.amiciamici.com
Thanks a lot!!!
hoboken411: I think you mean this: <body<?php GeoMashup::body_attribute(); ?>>. If your body tag is in page.php, then you should be able to make a page template specific to the map page, based on page.php.
Note that this code doesn’t actually add an attribute to the body tag except on the map page, so even if it’s in the general page template, it’s only adding HTML on the map page itself.
I don’t really like having to mess with the template, and I’ve been experimenting with ways to eliminate the need for that body tag attribute.
Works great man!!!
See it in action here:
http://www.gumbah.nl/index.php/googlemaps/
I got a lot of good reactions from my visitors!!
I saw you put it in your “Sites with a WordPress Geo Mashup up & running:” section… Little remark on that: gumbah.nl is in Dutch and not in German. Stuff like that is a little sensitive with the worldcupfeever and all 😉
Thanks for the great plugin!!!
Excellent! Coming from a family of Blocksmas, I should know better than to mistake Dutch for German, sorry!
Really great plugin!
I included it into my blog about “ballooning all over the world”:
http://www.ballonservice.de/webblog/posts-on-maps/
(it’s in German language)
Anyway, it’s a great feature that I added to my Google Maps Mashup at
http://www.ballonservice.de/ballonfahrten/
Cyberhood, thanks for your work!
Hello,
great Plugin, but i can not see the map. what is wrong? Please take a look:
http://www.geckos-geocaching.de/?page_id=207
Hello, this plugin is exactly what I’m looking for. Though, what are the changes of having the google map displayed on my index page? Must I use a separate page?
I’ve added a section to the documentation to recommend the Filosofo home page plugin for putting a map mashup on your front page.
Thanks for an amazing plugin: I’ve got it running at http://www.phnomenon.com/index.php/food-map-phnom-penh/ mapping Phnom Penh’s food.
My only problem generating a link to the current post on the mashup map using in the loop
Although the link displays ok, it goes to http://www.phnomenon.com/index.php/food-map-phnom-penh/?lat=11.54428&lon=104.920936 which ends up as an error page. Any suggestions?
Thanks for this amazing plugin!
Although I am having trouble with the zoom levels:
No matter what i set in the options page i always get zoom level 4 displayed. Any suggestions?
Issue with the zoom level resolved…. I don’t know what caused that but its working now. Thanks again.
Great plugin, thank you very much.
My Website:
http://www.verkehrstot.ch
Regards Sandro
I have just set up a fresh copy of wordpress on my site, followed all instructions for both geo and the mashup plugin. Everything seemed to install and activate properly. I have created a post with location coordinates and verified they appear in the meta tag.
However, I am getting the same problem Andrew reported above. ie the box for the map appears with controls, however there is no map in there.
Has anyone had this problem? Can suggest a solution? Any suggestions much appreciated.
Scott.
Hey Scott,
I had the very same problem. Try disabling all your css and see if it works then. If so, then you probably have to change some of it. In my case there was a “max-width: 100%” which caused the map not showing up.
I for myself got 2 things on my mind:
1. Internet Explorer gives me an error that it cannot open the page containing the map.
2. I have not been able to figure out where in the javascript I can insert my own two cents. I am planning for a trip around the world and would like the map to show some GPolyLines and Markers by default.
Any help or pointers are appreciated.
Thanks guys.
Stephan
In the market pop up my links look like this:
?lat=(number)=(number)#geoPost
However, I see everyone has a link back to the post here. What do I have wrong that is causing this?
Hi again!
I don’t know what happened but the documentation isn’t where it is supossed to be anymore.
See for yourself:
http://dev.wp-plugins.org/wiki/GeoMashup
Seems like a domain parking site to me.
And again!
Inserting
in the Loop in order to display links from a post to the marker on the map, as the documentation says, didn’t work for me. I took a look at the geo-mashup.php and couldn’t find a matching function. But I found a function show_on_map_link. So replacing the above for
did the trick for me. I’m not sure, but this could be an error in the documentation!
Regards
Stephan
Inserting
didn’t work but
did the trick.
Last try leaving out the outer signs:
did not work:
?php GeoMashup::show_on_map(‘link_text’) ?
but this did it:
?php GeoMashup::show_on_map_link(‘link_text’) ?
I’m getting weird errors in wordpress admin page in the “write” page:
Warning: Cannot modify header information – headers already sent by (output started at /home/www-geektravel/htdocs/wp-content/plugins/geo.php:852) in /home/www-geektravel/htdocs/wp-admin/inline-uploading.php on line 5
Warning: Cannot modify header information – headers already sent by (output started at /home/www-geektravel/htdocs/wp-content/plugins/geo.php:852) in /home/www-geektravel/htdocs/wp-admin/inline-uploading.php on line 140
and when submitting a post:
Warning: Cannot modify header information – headers already sent by (output started at /home/www-geektravel/htdocs/wp-content/plugins/geo.php:852) in /home/www-geektravel/htdocs/wp-admin/post.php on line 127
also the map doesn’t show up (it’s empty except for google logo).
Ideas?
WordPress used: 2.02
Test-URL http://www.geektravel.info/maps/
Mh, my download of the geo plugin seems to have been bad. Nevermind! Sorry. Map still not showing, but I’ll investigate.
Your anti-spam plugin does suck though 🙂
This is awesome! It took a bit to get it working, but it turned out to be something simple, such as the permissions on my GeoMashup folder and files. My server is a bit twitchy which might be the case for others who are having trouble seeing the map beyond the grey square.
Since many of our colleagues travel the world, hopefully they’ll use this to plot their positions. Google Maps is also incredible because they are constantly improving the quality of their satellite images to the point where more and more parts of the world are coming into focus.
Thank you Cyberhobo!!!
Thank you for the great plugin. I use it on my page.
http://www.geckos-geocaching.de
Re: Scott’s question about the map frame and controls appearing but no map…
That happened to me, too, and what fixed it was checking the “Show future posts” box on the Options > GeoMashup page. I only had one test post up with Geo coordinates attached, and apparently some sort of server time issue was causing a glitch. It had no posts to display, so it didn’t know where to go on the map…? Maybe? All I know is that it works now…
First of all, congrats for this excelent plugin. Is the best one I have found related to google map management from WordPress.
I have a question / feature suggestion for it. Is there anyway to show goe locations in the map without having an associated post?
I’m using the plugin to show the world places where I have been and I would like to add all the places I have been in my life (it’s obviously I don’t have posts for all of them :-))
Thanks!
Regards
Javier
Great Plugin, great work as I can see from various other sites but not mine 🙁
I have tried every solutions that I have seen here to the point that my template for GeoMash is just hardcore php and html, with no javascript, css or any other parameters.
Still, no map and always the same error that I receive in IE: ‘this.Za.width’ is null or not an object as an Javascript error.
I have tried everything that I can think of, can anyone help me on this and give any ideas of what can possible have gone wrong at my site?
http://raftur.org/um-mig/travelmap/
Sorry for bashing you with comments but my site is behaving strangly and I cannot for the life of me figure it out.
If I enter the coordinates for the map then it showes but without the posts.
http://raftur.org/um-mig/travelmap/?lat=-2.811371193331128&lon=40.078125&zoom=1
But if I just go at my page
http://raftur.org/um-mig/travelmap/
Then there is no map. Stranger then fiction.
Also, I get Operation Aborted but template page has
‘
‘
‘
‘
Any Ideas og suggestions?
Mine just stopped working. And I have no clue why. Any ideas are appreciated…
Excellent plugin.
Is there a way to stop the info window appearing by default?
Thanks
Jake
I have a few genealogy sites and had the idea to start adding cemetery information to maps using your plugin.
The map is at the following page….
http://www.northcarolinagenealogy.net/cemetery-maps
It’s an excellent plugin but I would LOVE to be able to deal with multiple maps within a site – perhaps using the category of the post to filter.
Anyway, excellent plugin, thanks for your work.
Cool! Have you tried the category link option? That will let you map out each category separately.
Thanks, I hadn’t quite realized exactly how that feature worked yet. After re-reading the manual I see where the categories in the navigation sidebar have the “map” text next to them. That’s half of what I was thinking.
Maybe I just need to rethink the presentation, but…. what if you could specify with the (GeoMashup) tag something along the lines of (GeoMashup#category1) which would embed a map with most of the default settings, except only pull those items from category1 or even (GeoMashup#keyword) which would only pull posts matching that keyword?
That way, you could go ahead and embed a map in a page and “pre-select” the filter used, which let’s you do multiple category based maps without having a single page that get’s EVERYTHING mapped on it if you visit directly.
Of course, when you do start thinking about including multiple maps in the site it makes more sense to do profiles for your GeoMashup#options that would define what category and other specific settings. It sounds like that would break the current category link concept (since that relies on the slug for the page with the map.) So, like I said, I may just need to rethink the presentation of things…
Of course, it’s your plugin and I greatly appreciate it, it’s certainly head and shoulders above what I could have come up with from scratch.
Thanks again,
Avery
I have thought about allowing multiple maps, but I just can’t see enough benefit to justify the added complexity, both for administration and programming. There are definitely some features on my list to do first that I think will provide more benefits without making the plugin harder to use.