Ah! I see.  Thanks guys (once again)

On Jun 23, 9:58 am, TheDeal56 <[email protected]> wrote:
> Thanks for the fast replies, you guys are awesome. I'm not sure I'm
> following, though.  Let me break it down a bit more, and maybe that
> will help.
>
> Here's where I'm creating the GIcon:
>
>  var reccenter = new GIcon();
>
> Here's the start of my function:
> function createMarker(point, name,icontype,category, html)
>
> Here's the XML GET:
> var icontype = markers[i].getAttribute("icontype");
>
> The XML value is  - icontype="reccenter" -
>
> Here's where I create the marker:
> var marker = createMarker(point,tag,icontype,category,html);
>
> If I were to forgo the XML and just insert reccenter in place of
> icontype, everything works fine.
>
> This works:
> var marker = createMarker(point,tag,reccenter,category,html);
>
> Is there a way to make the above line work with the XML?
>
> On Jun 23, 9:45 am, Ralph Ames <[email protected]> wrote:
>
> > IE7 complains about this line
> > map = new GMap2(document.getElementById("map"));
>
> > var map needs to be declared globally.
>
> > Ralph
--~--~---------~--~----~------------~-------~--~----~
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