Print Module (mapstore 2025.01.01)

20 views
Skip to first unread message
Assigned to lorenzo...@geosolutionsgroup.com by me

Luke Howarth

unread,
Mar 10, 2026, 12:57:23 PMMar 10
to mapstore-users
Hello,

I have recently installed the printing module in our mapstore application. Currently the plugin is installed, I can open the plugin, select the background etc However, when I click on 'print' the map is generated, with the legened etc, so far so good. But, when I click on the download button,the mapstore application 'blinks' and does nothing.... I'm guessing there is a parameters somewhere that I'm missing  ?

Thanks 

Luke



Lorenzo Natali

unread,
Mar 10, 2026, 1:20:01 PMMar 10
to mapstore-users
Hi,
This works for me. 
Can you specify the version you are using, and the browser too. 
Please check if your browser do advice you of blocking some request (e.g. opening new tabs) or other things. 
In fact the download button is simply a link to the file generated to open in a new tab. So you should see another tab with the PDF file available. 
In chrome it tells you to download too.

Luke Howarth

unread,
Mar 19, 2026, 6:27:25 AMMar 19
to mapstor...@googlegroups.com
Hi Lorenzo,

Thanks for the reply. And sorry for not  replying sooner. So for some context, I'm  working on corporate network. I working on the application side. Other teams handle security and infra in the company. I've been talking with guys from infra while doing some tests. We had a company wide windows update which knocked out a couple of applications. Where working in mapstore version 2025.01.01.

As far as I can tell reinforced security settings in the browsers have blocked things for this plugin. When I copy the link behind the download button into into a new browser tab the download starts but I get a security warning, and I have to click a button to confirm that iwant to continue continue with the download. 

However, I noticed the download URL contains a 'http://...' and not 'https://...' address and I guess this is getting caught up in the browser security. So am I guessing we messed up a parameter somewhere 🤔  I've already checked the base mapstore localConfig and the config.yaml in the printing plugin folder - where we already defined 'proxyBaseUrl: https://maps.xxx.xx.xx/mapstore/pdf' , and see anything explicitly about this in the documentation.

So basically, where and how can I change 'http://' to a 'https://'  in my download URL ?

Cheers

Luke 




--
You received this message because you are subscribed to a topic in the Google Groups "mapstore-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mapstore-users/eMmhQr06D_I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mapstore-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mapstore-users/61c1fc7f-62e3-4393-91c5-ad60bde621d8n%40googlegroups.com.

Lorenzo Natali

unread,
Mar 25, 2026, 5:42:25 AM (13 days ago) Mar 25
to mapstor...@googlegroups.com
Hi,
If you see an HTTP only link for downloading pdf, probably the server do not recognize properly the protocol of the request. Probably a missing X-Forwarded-Proto: https in some proxy in the chain.
Anyway for MapStore, there is a troubleshooting section related to how to fix the print base URL.
This is a quick workaround that avoids this problem at all. I hope a future version of MapStore will have this setup by default.





You received this message because you are subscribed to the Google Groups "mapstore-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapstore-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mapstore-users/CAEkqe4ux8KLkAZSG3_vbvxB%2BCsu-uBoUKRiK4GQXj6kmjWs8Hw%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages