> http://www.geoactio.es/google/prototipo-esp.html
It needs some trimming down to become a viable map. It crashed my IE6, and took about 5 minutes to render in FF2 with many 'unresponsive script' prompts. I think this mostly due to the 4Mb of marker data you are trying to load. Most of that is text info and not needed to plot markers that may never be clicked. Consider changing things to fetch detail via AJAX only when it is needed i.e. on marker click. So far I haven't found where the polyline data is coming from, but clearly it is very detailed. It may be worth looking into encoded polylines for that. But even easier is to simplify and just remove a large percentage of the points data. The two-colour effect of drawing two polylines is just doubling the work the API has to do. For your mouseover, I can't see anywhere that you've declared your 'mouseMove' variable. I hate to suggest yet another global, but this needs to be global to pass the mouse position from the map mousemove listener to the poly mouseover listener. cheers, Ross K -- 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=.
