G-map, a WordPress plugin to display Google maps
September 9th, 2006 ericdes
Would you like to display a Google map like this one within your posts or pages?
It’s really easy with this plugin. Activate G-map, enter your Google Maps API key (get it from there: http://www.google.com/apis/maps/signup.html), add a new address. The Google magic should return the latitude and longitude of your spot: copy / paste and save.
Call your map with this code:
[MAP: %your map name%]
Et voilĂ !
Plugin available for free (GPL license) from this link:
G-map 1.0-beta (tgz)
G-map 1.0-beta (zip)
Entry Filed under: WordPress plugins


16 Comments Add your own
Pages: [2] 1 »
16. Nokao | March 3rd, 2008 at 2:00 pm
Hi…
I had several problems with PRECISION of the float latitude and longitude with your plugin.
After that, I recognized that in my godaddy hosting, with mysql 5, the float was every time truncated by 4 decimals.
I changed the latitude and longitude to “var char 20″ and that’s it.
Now I would like to choose the zoom because like that it’s too far (I need to display where is a shop not the eiffel tower).
15. gabizzo | March 30th, 2007 at 10:44 pm
Non funziona con la versione 2.1.2.
sql non genera db wp_gmap
14. Josh | March 5th, 2007 at 4:45 am
Would it be possible to modify the code to allow multiple locations on each map?
13. francois | October 19th, 2006 at 11:12 am
“The Google magic should return the latitude and longitude of your spot: copy / paste and save.”
sorry for my stupid question….
another stupid question…!
this text is at the top when i publish the map:
“‘; doc += ”; doc += ‘ [’ + title + ‘] ‘; doc += ‘ ‘; winimg.document.writeln(doc); winimg.document.close(); } //]]>”
you can see on my test blog…
thanks a lot!
francois
12. francois | October 19th, 2006 at 10:50 am
Hello from France!
i’m a newbee..and sorry for my english….
when i put my adress it’s remain always “tour eiffel” parameters…
i have to clear long and lat to put the parameters found by your wonderful plugin..
like this:
dijon 48.8586 2.29394 500 300 [——MAP: %dijon%]
Rue de la Liberté, 21000 Dijon, France
Latitude: 47.321953 Longitude: 5.038838
thanks for your help!
francois
11. Andrea | October 1st, 2006 at 3:00 pm
Ok, I found it…
In K2, removing the .primary .item .itemtext div and .primary img selectors fixes the Google map.
Hope this helps!
Pages: [2] 1 »
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed