Posted: October 19, 2012 at 8:51 am
|
Hi, I am wondering if it is possible to customise the Google Maps feature in EE. It is not currently picking up the correct location automatically from the address. I have set up a customised Map on Google for the event and I am wondering if I can add this to the event in EE. Thanks, Nick |
Hi Nick, In this case, you could try hiding the Google map that’s not working, and add your map via the event description. In the email, instead of using the Google map link shortcode for that event, you could include a link to your customized map on Google. |
|
|
Thanks Josh, It sounds like there’s not a way at present of directly including my customised map with the plugin as it stands. So I’ll work around it. I think this would be a useful additional feature, as often I find automated Google Maps in WP plugins don’t quite get it right. Nick |
|
UPDATE I am happy to include a custom link to my Google Map in the email, but would also like to include a map in the ticket) So I added the Google Map iframe to the index.php for the ticket template, replacing the map shortcode. It looks OK on the HTML version of the ticket, as you can see here: http://openparadigmproject.com/?ticket_launch=true&id=28&r_id=1-5086e9a7a3e14&html=true But on the PDF version the map doesn’t show at all and on the print version it shows too low and runs onto a 2nd page. Could someone help with this please? Thanks, Nick |
The PDF generator does not understand iframes (or, rather, it can’t parse iframes and dynamic php into a PDF) which is why, by default, the template uses an image instead. The only suggestion I would have is to play with it. The PDF resolution is also going to be different than a screen resolution, and no PDF generator understands all html/php/css — it’s basically like working with a really old browser. I’ve found using media queries to check the screen width helps a lot in isolating things between the screen (print) version and the PDF version. |
|
To answer your original question regarding customizing Google Maps, there’s actually quite a bit of customization options available: https://eventespresso.com/wiki/shortcodes-template-variables/#venue |
|
The support post ‘Customising Google Maps’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.