From mrdapotts at gmail.com Fri Apr 7 09:58:05 2023 From: mrdapotts at gmail.com (Dave Potts) Date: Fri, 7 Apr 2023 17:58:05 +0100 Subject: [OpenLayers-Users] Custom Canvas Render Open layers 7 Message-ID: I am trying to write a render to display a generated image over a map, the image may cover the entire screen or part of the screen, when the screen is resized or zoomed. want the image to keep its current location and resize itself to match the current zoom level. So for example if you zoom out, the image would shrink at the current zoom level or would expand if you zoomed in. The only examples I have seen assume you want to render across the entire screen. Has anybody seen an example of something similar or could suggest a way of doing it? -------------- next part -------------- An HTML attachment was scrubbed... URL: From wallyatkins at gmail.com Fri Apr 7 11:53:11 2023 From: wallyatkins at gmail.com (Wally Atkins) Date: Fri, 7 Apr 2023 14:53:11 -0400 Subject: [OpenLayers-Users] Custom Canvas Render Open layers 7 In-Reply-To: References: Message-ID: https://openlayers.org/en/latest/examples/static-image.html ? On Fri, Apr 7, 2023 at 12:59?PM Dave Potts wrote: > I am trying to write a render to display a generated image over a map, > the image may cover the entire screen or part of the screen, when the > screen is resized or zoomed. > > want the image to keep its current location and resize itself to match > the current zoom level. > > So for example if you zoom out, the image would shrink at the current zoom > level or would expand if you zoomed in. The only examples I have seen > assume you want to render across the entire screen. > > Has anybody seen an example of something similar or could suggest a way of > doing it? > _______________________________________________ > Users mailing list > Users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/openlayers-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: