Straight line passing through the viewable area

Topics: General
Jun 20, 2011 at 2:20 PM


[WPF version]

Is there a way to determine that a straight line passes through the viewable area of the map. I have 2 points (extremities of the line) and when we're zoomed in very close, both ends of the line might fall outside of the 'zoomed in' viewable area but the line still goes through the viewable area. I tried the the BoundsOfMap, but with no luck.


Jun 22, 2011 at 9:08 AM
Edited Jun 22, 2011 at 9:18 AM

This might help you:

Jun 23, 2011 at 6:44 PM

Indeed, it did help me a lot.

thanks a million