nomo-kazza / google-maps-utility-library-v3

Automatically exported from code.google.com/p/google-maps-utility-library-v3
Apache License 2.0
0 stars 0 forks source link

MarkerManager displaying default marker instead of custom marker? #256

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am not sure when this broke. But I was previously adding markers as follows:

     addTheListener(marker);

     var MapPin = { url: 'http://goo.gl/'+pinlink };

     marker.icon=MapPin;

     mgr.addMarker(marker, 6);

Custom marker displays as intended when pulled up directly in browser.
For example: 

     http://goo.gl/EGEsp

Used to work within MarkerManager on my web page but now only default marker is 
being displayed???

Any guidance would be appreciated! Thanks!

Demo link or sample code:

  http://foodtrucktracker.com/bug/

Browser / Operating System:
All browsers

*********************************************************
Tip: Star this issue (next to title) to receive notifications of status
changes against this issue, also used as a gauge for how many people are
interested in seeing it resolved.
*********************************************************

Original issue reported on code.google.com by etick...@gmail.com on 12 May 2013 at 7:10

GoogleCodeExporter commented 9 years ago
Not sure if you figured out your issue yet, but marker is expecting a string in 
the icon field, not an object.

Original comment by brett.mc...@gmail.com on 15 Jul 2013 at 9:52