Hey Andy--

Is there a reason you don't just use the '0' font-size to get it to auto-fit?

- pamela

On Thu, Sep 4, 2008 at 11:54 AM, Andy R <[EMAIL PROTECTED]> wrote:
>
> I use (abuse?) the Charts APi for Maps labels/icons and just want to
> know if the font size, spacing or other things can change?
>
> Example output from Chart API:
> http://chart.apis.google.com/chart?cht=itr&chs=32x18&chco=aa3311,000000ff,ffffff01&chl=Hotel&chx=FFFFFF,9&chf=bg,s,00000000&ext=.png
>
> I have written some JS to calculate buttonsize (32x18), fontsize (9)
> for the text (Hotel). See example above. This works fine. But, if the
> Charts API Team changes the font to, lets say "Courier" then my
> calculations will fail...
>
> On Sep 4, 8:08 pm, "pamela (Google Employee)" <[EMAIL PROTECTED]>
> wrote:
>> Hi Andy--
>>
>> Can you be more specific about what you're worried about failing? I
>> can double-check with the charts team. Generally we don't plan to make
>> backward-incompatible changes, but you may be relying on accidental
>> defaults now.
>>
>> - pamela
>>
>> On Sep 4, 7:31 am, Andy R <[EMAIL PROTECTED]> wrote:
>>
>> > Thanks for the great MapIconMaker, its very useful to place dynamic
>> > markers and labels on our maps.
>>
>> > The icons are generated by the "Charts API". Now my question is: can
>> > we be shure, that in future releases the font/sizes/etc. used by the
>> > Charts API are still the same? Otherwise my width/heigth/fontsize
>> > calculations will fail and the text is clipped ...
> >
>

--~--~---------~--~----~------------~-------~--~----~
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