On Apr 21, 4:38 am, "[email protected]" <[email protected]>
wrote:
> On Apr 20, 10:53 pm, textdriven <[email protected]> wrote:
>
> > It should work now. Thanks for letting me know. I rarely check IE6
> > these days.
>
> I still get an error in IE6 on this line:
> omap.style.left = x+"px";
>
> This will open the infoWindow:
> javascript:GEvent.trigger(exml.overlayman.markers[0], "click");
>
> But the "parsed" event doesn't seem to want to fire...
> (I don't use GeoXml that much)
Looks like the "initialized" event is what you want. Try this between
the creation of the GeoXml object and calling exml.parse():
(not extensively tested...)
GEvent.addListener(exml, "initialized", function() {
if (exml.overlayman.markers.length == 1)
GEvent.trigger(exml.overlayman.markers[0], "click");
});
-- Larry
>
> -- Larry
>
>
>
>
>
> > On Apr 21, 1:17 am, "[email protected]" <[email protected]>
> > wrote:
>
> > > On Apr 20, 3:27 pm, "[email protected]" <[email protected]>
> > > wrote:
>
> > > > On Apr 20, 1:28 pm, textdriven <[email protected]> wrote:
>
> > > > > Sorry about that. Here is the link...
>
> > > > >http://kadampafestivals.org/map/
>
> > > > I get "Operation Aborted" on that page in IE6 (a blast from the
> > > > past...), I would expect that to mean your html is invalid and you
> > > > have unclosed elements:
>
> > > >http://validator.w3.org/check?uri=http%3A%2F%2Fkadampafestivals.org%2...
>
> > > There is a "<br /" that is missing the close ">".
>
> > > -- Larry
>
> > > > > If you select a link to an event from the right you'll see an example
> > > > > of a single map page. This is where i want the info bubble open but
> > > > > default.
>
> > > > I would think you would be able to check the size of the markers array
> > > > and trigger a "click" event on the marker if there is only one (after
> > > > the kml has finished loading).
>
> > > > -- Larry
>
> > > > > On Apr 20, 5:43 pm, "[email protected]" <[email protected]>
> > > > > wrote:
>
> > > > > > On Apr 20, 8:58 am, textdriven <[email protected]> wrote:
>
> > > > > > > I would like it so that if only one marker is shown on a
> > > > > > > particular
> > > > > > > map the info window open automatically on page load. Is this
> > > > > > > possible?
>
> > > > > > Yes.
>
> > > > > > > This is my current code....
>
> > > > > > Where is your
> > > > > > map?http://groups.google.com/group/google-maps-api/web/suggested-posting-......
>
> > > > > > Where do your markers come from? I don't see any in your code
> > > > > > dump...
>
> > > > > > -- Larry
>
> > > > > > --
> > > > > > 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
> > > > > > athttp://groups.google.com/group/google-maps-api?hl=en.
>
> > > > > --
> > > > > 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
> > > > > athttp://groups.google.com/group/google-maps-api?hl=en.-Hidequotedtext-
>
> > > > > - Show quoted text -
>
> > > > --
> > > > 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
> > > > athttp://groups.google.com/group/google-maps-api?hl=en.-Hidequotedtext -
>
> > > > - Show quoted text -
>
> > > --
> > > 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
> > > athttp://groups.google.com/group/google-maps-api?hl=en.
>
> > --
> > 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
> > athttp://groups.google.com/group/google-maps-api?hl=en.
>
> --
> 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
> athttp://groups.google.com/group/google-maps-api?hl=en.
--
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.