Google Maps Iframe
This is an open discussion with 4 replies, filed under XSLT.
Search
Useful utility.
Instead of
<xsl:with-param name="returnUrl">true</xsl:with-param>
You can also use:
<xsl:with-param name="returnUrl" select="true()"/>
Thanks! Didn’t think of that, for some reason…
The utility has been updated now.
@mqchen - Nice work man!
Just in case anyone wants to make this utility "responsive", set the iframe in your css to be 100% like so:
#google-map-wrapper iframe{max-width:100%;}
Also you may want to pass this value through in the param like so:
<xsl:with-param name="width">100%</xsl:with-param>
and voila! responsive iframe map..
Create an account or sign in to comment.
A new XSLT utility, “Google Maps Iframe” is now available for download. Comments and feedback can be left here but if you discover any issues, please post it on the issue tracker.