T O P I C R E V I E W |
bmesser |
Posted - Sep 10 2022 : 15:13:29 Hi
I am trying to overlay a transparent PNG on a Slippy map using stretchdraw. That works fine until I change the zoom level - the map zooms in and the weather radar overlay stays the same size. Is there someway that I can lock the PNG overlay to the map? Perhaps I should check the bounding rectangle coordinates because they are fixed lat/lons before I do the stretch draw.
Bruce. |
2 L A T E S T R E P L I E S (Newest First) |
bmesser |
Posted - Sep 11 2022 : 06:20:22 Thanks Nigel.
I was forgetting that and trying to zoom in the usual way rather than using Map.Zoom and stepping through the zoom levels!
That's good news that you're going to be able to use Google Maps in future versions and I would think a good reason to update.
Bruce. |
xequte |
Posted - Sep 10 2022 : 16:38:37 Hi Bruce
SlippyMaps use a virtual bitmap, so you're going to have to repaint it each time the view changes (and scale it by the zoom level).
Alternatively, if you don't need panning (just zooming), we have support for Google Maps in our current beta, which would avoid using a virtual bitmap (though Google does charge for the service).
Nigel Xequte Software www.imageen.com
|