Yes, with some limitations. This method is not a supported use of MetaLocator's software.
When deployed via an IFRAME, the interface loses some functionality including the ability to control it's size, and the ability to receive incoming search requests from other pages. Deploying the Interface via an IFRAME is outside our Scope of Support. Additionally, IFRAME deployment can be used only with MapBox Maps (the default), not Google Maps-based Interfaces
To obtain the IFRAME code, click Preview on the desired interface. This provides a link specific to your Interface as shown below:
Your link will differ slightly, in that XXXXX will be replaced with your Interface ID number. That link should be modified as follows:
- To include 'https' instead of 'http',
- admin.metalocator.com must be replaced with code.metalocator.com,
- &preview=1 should be removed as shown below:
- &redir=1 should be removed as shown below:
This is the "src" URL of the IFRAME tag, as shown below:
Normally MetaLocator's script automatically handles the height and width, however you may need to manually tweak those attributes to ensure a seamless layout.
<iframe allow="geolocation" src="https://code.metalocator.com/index.php?option=com_locator&view=directory&layout=combined&framed=1&tmpl=component
&Itemid=XXXXX" width="100%" height="2000" frameborder="0" scrolling="no"></iframe>