thydzik Google Map v1.4.7 – inline WordPress Google Maps

I have released an updated version of thydzik Google Map which allows for coloured and variable text markers, see the example below.

thydzikGoogleMap(example.xml)

Unfortunately, it now requires FreeType being compiled into PHP. If FreeType is not installed only the default marker and markers A-Z will be usable, with anything else being replaced with the default marker.

Download the latest from the WordPress Plugin Directory.

  • Jamie

    I thank you for the plugin-I only have the problem of marker not showing, just shadow?

  • thydzik

    Jamie,

    please send me a link to your site with map, I shall have a look.

  • thydzik

    Also, are any other users experiencing the same problem?
    Are you using the latest version?

  • http://www.visitfassa.com/ Baga

    Hello Travis, great plugin!
    I was wondering if it is possible to insert the map directly in the template files, which tag do I have to use?
    Thanks

  • jan

    Hi, plugin looks great but example.xml is not shown on the map. i’am using WP 2.6.5 . I’am very interessed in working with a combination of robogeo and colored markers. It would be nice to have a workflow example. best jan

  • thydzik

    Jan,

    I have had a quick look at your site, test post. you need to type “thydzikgooglemap(example.xml,9)”

  • thydzik

    Baga,

    Thanks.

    What is a template file? Are you referring to a WordPress theme? It it is a theme, then it isn’t possible as the plug-in only searches posts for thydzikGoogleMap.

    What you could do is create a dummy post with a map, then read the HTML and copy it to your theme’s template.

  • http://www.kungfu-silat.com/ Erik Harris

    I’m having the same problem with the new version of thydzikGoogleMap; I get a shadow, but no icon. This applies to both sites I use it on, but one example is at http://www.kungfu-silat.com/class-info, where the map is called with “thydzikGoogleMap(../cimac.xml, 15, H)”. The XML file contents are (brackets removed to keep them from being stripped)

    -markers-
    -marker lat=”38.77387″ lng=”-77.10703″ html=”Lee District RECenter<br/>6601 Telegraph Rd<br/>Franconia, VA 22310″ label=”Lee District RECenter” icon=”1″ color=”aa0000″ /-
    -/markers-

    Also, I assume you mean 1.4.7 and not 1.7 in the post title? the version I’m using is 1.4.7.2, and is the latest version on wp.org.

  • thydzik

    Erik, thanks for the information

    try replacing the marker.php file with the following. let me know how it goes.
    http://thydzik.com/marker.zip

  • jan

    Hi thanks for your fast reply – but it’s still not working. I pasted the code thydzikgooglemap(example.xml,9) and changed the new marker.php .
    But just get no markers. best jan

  • thydzik

    Hi Jan

    Please try replacing thydzikGoogleMap.php in the plugin folder with the following. Let me know how it goes.
    http://thydzik.com/thydzikGoogleMap.zip

  • http://WWW.tespl.co.in bineet

    how we can make example.xml file and where we upload it.
    can we use this plugin in our local server?.

    thanks

  • thydzik

    follow the formating of example.xml, it is quite straight forward.

    You can use the plugin in your local server, make sure to copy all the files to your WordPress plugins directory.

  • computermdbismarck.com

    Well i’m going install that plugins too.. Nice post my friend.. =)

  • Stephen

    Hi–

    I am wondering if it is possble to have the text in the popup link out to another site– for example with clicking on the $ in the above map having Perth Mint?

    Thanks for a might fine plugin!
    Stephen

  • thydzik

    Hi Stephen,

    Sorry it took so long to get back to you.

    Yes!, it is possible and has aways been possible. See the updated map :)

    Though you need to convert the HTML entities first,
    I found two sites that can do this for you.
    http://www.functions-online.com/htmlentities.html
    http://www.dan.co.jp/cases/javascript/encode_entities.html

    So for your example the code:

    <a href="http://perthmint.com.au&quot; rel="nofollow">Perth Mint</a>

    would look like:

    &lt;a href=&quot;http://perthmint.com.au&quot; rel=&quot;nofollow&quot;&gt;Perth Mint&lt;/a&gt;

  • Scooraddini

    Fantastic – very cool topic. I will write about it also!

  • http://www.sarelayforlife.org Patrick

    This script is fantastic! I do have an issue with an error coming from the system that I can’t seem to figure out.

    Error:
    Warning: parse_url() expects exactly 1 parameter, 2 given in /home/sarelay/public_html/wp-content/plugins/thydzik-google-map/thydzikGoogleMap.php on line 79

    Link to page with error:
    http://sarelayforlife.org/?p=1

    This is the link to my XML file:
    http://www.sarelayforlife.org/wp-content/plugins/thydzik-google-map/example.xml

    This is code I am using to load the map:
    thydzikGoogleMap(example.xml, 580, 480)

    Any ideas?

    This is for the American Cancer Society. I am just building in the mapping functionality on a very unedited template :)

  • Kraig

    I’m having the same issue as others – no marker on the map, just the shadow. I know that this was working many months ago, and I only recently looked at the map area of my client’s site again. Here’s an example: http://www.sppa.com/beacon-bluff/map/

    I have tried this with several browsers and different computers. No joy with any of them.

    I tried downloading the files you mentioned above, but they are identical to what I have installed on my site, except for the version number in “thydzikGoogleMap.php”.

    I even tried replacing the image reference in your “marker.php” with a static PNG file on my server. Still no joy.

    Any ideas?

    Thanks,
    Kraig

  • thydzik

    Hi Patrick and Kraig, your comments are appreciated.

    I will look into when I have a chance and get back to you both.

    Travis

  • thydzik

    Kraig,

    I think I have found the problem,
    Please download marker.php from here and let me know if it fixes the problem.

    http://thydzik.com/thydzikGoogleMap/marker.zip

    Travis

    Edit: if you still have that static marker file on your server, try renaming it to php extension, I think it would also work. let me know.

  • thydzik

    Patrick,

    Please try replacing the thydzikGoogleMap.php file with the one below
    http://thydzik.com/thydzikGoogleMap/thydzikGoogleMap.zip

    let me know how it goes.

    Travis