- Messages
- 27
- Country

I'm trying to program my own GPS map display page. I would like to display a route with dashed lines between my waypoints (XMLVar lat and longs not stock waypoints). I want these lines to grow or shrink with the user-selected map scale. Due to technical reasons, I cannot use the stock map system so that's off limits.
Here's my idea:
Here's my idea:
- Draw skinny bitmaps for different style lines: dotted, dashed, or solid. Additionally, use a black bitmap to act as a maskImage
- Place a line bitmap at each waypoint X/Y and rotate it to point to the next waypoint
- Use that black bitmap as a maskImage to trim off the excess line
- Repeat for each waypoint
- For some reason, maskImages can't be rotated.
- The maskImage should handle line segments that are shorter than the line bitmap, but how would I handle line segments that are longer than the line bitmap? Too much math to tile multiple line bitmaps...
Last edited:

