ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Overlaying a transparent PNG using Slippy map

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

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