First, if you don't want the check box marked at runtime you will need
to either specify the selected property as false or omit it from your
mxml. This will render the boxes unchecked. When creating your markers
just make sure the visible property of the marker is set to false.
This will make sure that all the markers are only visible when the
appropriate check box is marked.
Secondly, if you want your info windows to open on rollover/rollout
events you will need to alter your event listeners as such:
markerLocal.addEventListener(MapMouseEvent.ROLL_OVER, function
(e:MapMouseEvent):void {
// Open Marker Info window using openInfoWindow method.
});
markerLocal.addEventListener(MapMouseEvent.ROLL_OUT, function
(e:MapMouseEvent):void {
// Close Marker Info window using closeInfoWindow method.
});
And your last detial I cannot be much help on. Your data models are
very intricate.
On Dec 31, 12:07 pm, NJgirl <[email protected]> wrote:
> Hi. I posted the entire file in the files section. It is named
> mapxml.mxml.
>
> On Dec 31, 12:36 pm, Benji <[email protected]> wrote:
>
> > Could you please post your code so we can see what your doing with
> > more clarity?
>
> > On Dec 29, 10:25 am,NJgirl<[email protected]> wrote:
>
> > > Hi. I have a working map using one of the demos. I currently have it
> > > set to having all the points come up with check boxes checked on
> > > pageload. I would like to remove most of these checkmarks at pageload
> > > so the points don't all show unless the user checks them.
>
> > > Also my pop-up windows are are clicked to open and close. Can you show
> > > me the code for rollover for that? I believe I can get it to roll over
> > > but I still need the window to close when I roll off the marker.
>
> > > The last thing is: How do I add 1 location to more than 1 category
> > > without getting 2 markers in the same spot when both boxes are
> > > checked?
>
> > > Thank you so much!
> > > I really appreciate the help.
> > > I posted the file as mapxml.mxml
> > > Clare
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API For Flash" 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-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---