in reply to Radar and Goo::Canvas
From your ideas, it sounds like you are making it too complicated with overlays. What you need to do is setup a coordinate-transformation system, between your geotiff and the canvas. Then just put a blinking red-dot at that point, and move it as needed.
The difficult part is figuring out the formulas to match the geotiff to the canvas, and I have no idea what geotiff does. Does it define the latitude and longitude of it's corners with smooth gradations from corner to corner? That is the sort of thing you will need to figure out.
As far as pixel size goes, I bellieve you would just do your calculations as a 1-1 pixel size, then when done multiply the x y values by the current zoom level. I havn't tested that.... the zoom may work automagically.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Radar and Goo::Canvas
by Anonymous Monk on Jun 30, 2008 at 15:05 UTC | |
by deadpickle (Pilgrim) on Jun 30, 2008 at 15:45 UTC | |
by zentara (Cardinal) on Jun 30, 2008 at 18:21 UTC | |
by deadpickle (Pilgrim) on Jul 02, 2008 at 06:17 UTC | |
by zentara (Cardinal) on Jul 02, 2008 at 12:30 UTC |