I have released an updated version of thydzik Google Map which allows for colored and variable text markers, see the example below.
Unfortunatley, it now requires FreeType being compiled into PHP. If FreeType is not installed only the default marker and markers A-Z will be useable, with anything else being replaced with the default marker.
Download the latest from the WordPress Plugin Directory.
Tags: FreeType, Google Maps, php, thydzik Google Map, thydzikGoogleMaps, v1.7, Wordpress
I thank you for the plugin-I only have the problem of marker not showing, just shadow?
Jamie,
please send me a link to your site with map, I shall have a look.
Also, are any other users experiencing the same problem?
Are you using the latest version?
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
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
Jan,
I have had a quick look at your site, test post. you need to type “thydzikgooglemap(example.xml,9)”
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.
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.
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
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
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
how we can make example.xml file and where we upload it.
can we use this plugin in our local server?.
thanks
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.
Well i’m going install that plugins too.. Nice post my friend.. =)
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
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:
would look like:
Fantastic – very cool topic. I will write about it also!
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 :)
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
Hi Patrick and Kraig, your comments are appreciated.
I will look into when I have a chance and get back to you both.
Travis
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.
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