Search code examples
htmlgoogle-mapsiframegoogle-maps-api-3

Change language parameter for Google Map Iframe


I am embedding this google map, but would like to change the language from Thai to English.

I read previously about adding the following parameters to the end of the code, but I have tried with no success. ?hl= &hl=

<iframe style="-webkit-filter: grayscale(100%); filter: blackscale(100%);" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d4710.0663131367055!2d100.5459341450774!3d13.882428806986514!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x30e283461efba1a3%3A0x8afb2e118473af38!2z4LiL4Lit4LiiIOC4q-C4oeC4ueC5iOC4muC5ieC4suC4meC5geC4geC4o-C4meC4lOC5jOC4hOC4suC5geC4meC4pSDguJXguLPguJrguKXguJrguLLguIfguJXguKXguLLguJQg4Lit4Liz4LmA4Lig4Lit4Lib4Liy4LiB4LmA4LiB4Lij4LmH4LiUIOC4meC4meC4l-C4muC4uOC4o-C4tSAxMTEyMA!5e0!3m2!1sth!2sth!4v1566888288318!5m2!1sth!2sth" width="100%" height="450" frameborder="0" allowfullscreen="allowfullscreen"></iframe>


Solution

  • Use the below iframe code

     <iframe style="-webkit-filter: grayscale(100%); filter: blackscale(100%);" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d4710.0663131367055!2d100.5459341450774!3d13.882428806986514!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x30e283461efba1a3%3A0x8afb2e118473af38!2z4LiL4Lit4LiiIOC4q-C4oeC4ueC5iOC4muC5ieC4suC4meC5geC4geC4o-C4meC4lOC5jOC4hOC4suC5geC4meC4pSDguJXguLPguJrguKXguJrguLLguIfguJXguKXguLLguJQg4Lit4Liz4LmA4Lig4Lit4Lib4Liy4LiB4LmA4LiB4Lij4LmH4LiUIOC4meC4meC4l-C4muC4uOC4o-C4tSAxMTEyMA!5e0!3m2!1sth!2sth!4v1566888288318!5m2!1sen!2sus" width="100%" height="450" frameborder="0" allowfullscreen="allowfullscreen"></iframe>
    

    Whats changed?

    The last parameter has been changed to 1sen!2sus from 1sth!2sth