there seems to be another bug in the following function - if I pass an
integer as the label, firebug reports an error.

/**
 * Utility function for doing special chart API escaping first,
 *  and then typical URL escaping. Must be applied to user-supplied
text.
 * @private
 */
MapIconMaker.escapeUserText_ = function(text) {
  if (text === undefined) {
    return null;
  }

  if (typeof(text) != 'number') {
          text = text.replace(/@/, "@@");
          text = text.replace(/\\/, "@\\");
          text = text.replace(/'/, "@'");
          text = text.replace(/\[/, "@[");
          text = text.replace(/\]/, "@]");*/
  }
  return encodeURIComponent(text);
};



On Sep 2, 7:27 pm, "pamela (Google Employee)" <[EMAIL PROTECTED]>
wrote:
> This is fixed now, thanks for the report.
>
> On Tue, Sep 2, 2008 at 2:55 AM, Mike Williams <[EMAIL PROTECTED]> wrote:
>
> > Yes, it's a bug in createLabeledMarkerIcon() in MapIconMaker 1.1
>
> > The fix is to change this line
> >        iconUrl += "Lauto'f\\";
> > to
> >        iconUrl += "Lauto'f\\&ext=.png";
>
> > The other two types of icon have &ext-png where appropriate, but
> > createLabeledMarkerIcon() doesn't, so the API doesn't know that it
> > should tell MSIE to use the AlphaImageLoader.
>
> > --
> >http://econym.googlepages.com/index.htm
> > The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to