I was able to add labelOffset as an option in mapiconmaker.js and then
use it in my script to offset the four data values:

----added to mapiconmaker.js----
var labelOffset = opts.labelOffset || new GSize(0, 0);
icon.iconAnchor = new GPoint((width + labelOffset.width) / 2, (height
+ labelOffset.height) / 2);
----end addition----

----added to my weather.js----
iconOptions.labelOffset = new GSize(-30, -10);
----end addition----

http://www.udfcd.org/FWP/LDAD/gmap_udfcd.html then click on Current
Temperature

Thanks for these great tools!  I'm having a hard time keeping myself
from doing work at home to get these things working because of the fun
challenge.

On Oct 13, 6:49 pm, Mike Williams <[EMAIL PROTECTED]> wrote:
> Wasn't it Rainman who wrote:
>
>
>
> >How hard would it be to add the offset option from labeledmarker into
> >mapiconmaker?
>
> You can use MapIconMaker inside a LabeledMarker. That's what we had to
> do in version 1.0 of MapIconMaker when there only was
> createMarkerIcon().
>
> See:http://econym.org.uk/temp/test_iconmaker.htm
>
> --http://econym.org.uk/gmap
> 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