Lamhot / php-google-map-api

Automatically exported from code.google.com/p/php-google-map-api
0 stars 0 forks source link

Custom icon shadows and enableDirections do not work. #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Custom  icon shadows do not show up at all even though the path is correct.
2. I cannot get 'Directions: From here - To There' to show up on map markers 
which makes the API unusable.

What version of the product are you using? On what operating system?
Lastest version, on all browsers.

Please provide any additional information below.
I have been using this API for a very long time like 5 years has it been out 
that long? I appreciate your work and it's ease of use and reliability, I 
really want to upgrade to v3 but I need these few items worked out.

Original issue reported on code.google.com by kerry%ni...@gtempaccount.com on 17 Sep 2010 at 5:41

GoogleCodeExporter commented 9 years ago
I have the same problem, icon shadows do not work for custom marker icons.

Original comment by leande...@gmail.com on 24 Sep 2010 at 4:54

GoogleCodeExporter commented 9 years ago
Also experiencing this issue.  Too bad.

Original comment by b...@benknight.me on 21 Oct 2010 at 10:51

GoogleCodeExporter commented 9 years ago
shadow icons don't appear for me either

Original comment by dynamica...@gmail.com on 28 Nov 2010 at 12:36

GoogleCodeExporter commented 9 years ago
Quick Fix for the icon shadow problem for custom icons

find the line: 

    if(icon_shadow!=''){marker_options.icon_shadow = icon_shadow;}

change it to:

 if(icon_shadow!=''){marker_options.shadow = icon_shadow;}

done! the shadow icon should appear!

this is a great API!!! excelent work!!

Original comment by draconia...@gmail.com on 22 Dec 2010 at 11:52

GoogleCodeExporter commented 9 years ago
I got exactly the same problems and im sure that im using it right because i 
just upgraded from 2.5 to 3.0 but now the directions doesn't show up and the 
shadows are broken.

Original comment by Wesleymo...@gmail.com on 29 Dec 2010 at 12:28

GoogleCodeExporter commented 9 years ago
The suggested solution from draconia has been integrated into the api already.

As for directions, checked out these examples of how this could be done - it 
should be noted that directions have been greatly enhanced in this version and 
the old method is no longer officially supported.  

http://www.bradwedell.com/phpgooglemapapi/demos/advanced_marker_directions.php 
http://www.bradwedell.com/phpgooglemapapi/demos/advanced_marker_directions_2.php
?tofrom=to&address=Denver%2C+CO

Original comment by b...@mycnl.com on 25 Sep 2011 at 3:34

GoogleCodeExporter commented 9 years ago
Issue 29 has been merged into this issue.

Original comment by b...@mycnl.com on 25 Sep 2011 at 3:51