Or something like:

        GEvent.addListener(map, "mousemove", function(point){
                                        lastX = point.lat().toFixed(4);
                                        lastY = point.lng().toFixed(4);
                                });

        function polyScan(){
                 for (i in arrayPolylines) {
                        // scan one polyline
                        var bounds = arrayPolylines[i].getBounds();
                        var compareBounds = GLatLngBounds(lastX,lastY);
                        if (!bounds.containsBounds(compareBounds)) {
                                alert("no");
                        }
                        else{
                                alert("yes");
                        }
                  }

                }

I don't know... I'm a little lost. Can someone point me in the right
direction?
--~--~---------~--~----~------------~-------~--~----~
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