Due to Kevin suggestions:

[Quote Kevin]

I'm REALLY liking your Google maps classes.  Nice work!
One thing I noticed with your various overlays (polygons, polylines,
markers, . . .): in Google Maps API V3, the way to "hide" an overlay
object is to call setMap(null).  But in your classes, you are
preventing that, because of this line:
        var map = [map, this.getMap()].pick();
I had to comment out that line in each of the overlay classes, then I
was able to remove overlays from the map.  Perhaps you could add
methods like hide(), show(), and destroy().

-- Kevin

[/Quote]

Some custom methods such like:

show,hide,destroy

added to classes such like:

Marker, Polygon, Rectangle, Circle, PolyLine


Note:
I hadn't test them working on all classes, just in some of them.

Any error please advise me to fix it as quicly as possible.

Posted and uploaded to forums:
http://www.mooforum.net/script-showcase-f25/google-maps-api-mootools-class-t3676-20.html#p14695

Best regards,
Ciul.

Reply via email to