Luis wrote:
> Ok. I think you're talking about this:
> http://groups.google.com/group/Google-Maps-API/browse_thread/thread/69b311a50a7c1fd7
>
> right?
>
>   
I was suggesting that the same things which that is removing
you could hide and or show...

that function extends EGeoXml so each  instance of it then have a 
removeOverlay method
and

exml1.removeOverlay();
or
exml2.removeOverlay();

is how you might call it.

> That makes me think on another question (please be patient...i'm not a
> JS programmer...nor a object oriented programmer....): if i use that
> function, how can I specify the "layer" i wish to remove?
>   
Depends on what you mean by layer actually.
Each different "instance" of EGeoXml creates a set
of Overlays assocaited with the kml or kmls
that at parsed.
> in my case, from the example in my first post, i have
>
>     var exml1 = new EGeoXml("exml1", mmap, "input_possible.kml",
> {iwwidth:400,directions:false,markeroptions:{icon:warning}});
>     var exml2 = new EGeoXml("exml2", mmap, "input_probable.kml",
> {iwwidth:400,directions:false,markeroptions:{icon:fire}});
>     exml1.parse();
>     exml2.parse();
>
> If, for example, I wnted to remove exml2 and not all the "layers", how
> should I do? Remove all and then parse the first?
>   
if you want to remove just exml2s overlays
call exml2.removeOverlay();

> Please excuse me for all my (possibly dumb) questions.
> Thank you
> Regards
> On Oct 11, 12:28 am, Lance Dyas <[EMAIL PROTECTED]> wrote:
>   
>> I believe the explicit name of those arrays are documented in EGeoXmls
>> documentation
>>
>> Lance Dyas wrote:
>>     
>>> Did you miss the if clause on that sentence? or did you just want
>>> somebody to write the 3
>>>  or so "for loops" to iterate through the arrays of markers polys and
>>> lines of EGeoXml? which I described
>>> in the previous sentence.  Its pretty easy and GPolygon, GPolyline, and
>>> GMarker in those
>>> arrays has its own hide and show method. Give it a try.
>>>       
>>> Luis wrote:
>>>       
>>>> Garthan:
>>>>         
>>>> Thanks for your feedback. Unfortunately, I could not find any
>>>> reference to a quick (and easy) hide/show method.
>>>> Perhaps I've missed something.
>>>> Does anyone please can give me a hand (or two) on how to fulfill my
>>>> intentions?
>>>>         
>>>> Regards
>>>> luis
>>>>         
>>>> On Oct 9, 11:25 pm, Garthan <[EMAIL PROTECTED]> wrote:
>>>> (...)
>>>>         
>>>>> If there is a quick hide and show method already available
>>>>> I am sure its documented.
>>>>>           
>>>> .
>>>>         
>>> .
>>>       
> >
> .
>
>   


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