Hi! Is there a way to get Google Maps open in a lightbox when it is clicked? I want it to grow bigger when customers click on it. I have it on a dynamic page, so the address changes from which department you are on
Hi,
You can do the following:
- Open a lightbox using code and send an object of the coordinations of the current item displayed as explained here .
- Get the object sent to the lightbox using the getContext function.
- Set the coordinations to the Google Maps app as explained here .
Good luck,
Tal.
Yes, there is a problem with this since the coordinates changed from which department you are on. I have nine stores and all of these pages are dynamic
Hi,
I’m not sure I understand what you were referring. Can you please clarify?
Thanks,
Tal
If you visit: https://www.ismokeking.no/hjem
An go into on of the stores, and in the bottom of the page it is a map. When you click this the map opens in a Lightbox. I want the address to the map to be transferred over to the Lightbox. Here is my code: