Hello again, Is there a way to add polyline overlays on all streets in the current viewport? I know there's a way to the information on the nearest road to where a user clicks, a la this example: http://econym.org.uk/gmap/example_snappath.htm But I'm having trouble figuring out how to get the information from all the roads in sight. I have a viewport of 500x500 pixels, and the minimum zoom level is 16. Once these roads have polyline overlays, I'd like to use their intersection points to create polygons for "city blocks".
Questions I have about how Google calculates road layouts: - How does one get the information about a road that Google is able to obtain? - How does Google find a nearby road? It looks like in that example that the function loadFromWaypoints is used. Are Google maps just covered in a series of waypoints? - Is it possible to differentiate between large roads, highways, side streets, alleys, etc? - According to that example's tutorial page ( http://econym.org.uk/gmap/snap.htm ), running too many GDirection calls will cause issues. Is it possible to do one GDirection call and use a for loop to collect and push the results to an array? - I know Google Maps can plot an actual road intersection (like if you search for "38th St & Thomas"). How would one get the intersection of two polylines? Would it be with a hittest? I'm sure I'll have more questions about this as I look into it further. Right now I'm thinking of running a loop to check within the boundaries of my viewport and compare with loadFromWaypoints to see if I can populate an array with street names. Thanks for any help and insight! -- 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.
