Code Monkey home page Code Monkey logo

Comments (5)

petkivim avatar petkivim commented on August 16, 2024

Could you send me a link to your site or post here the html code that the plugin generates? Without seeing the code it's difficult to say what causes the problem.

from embed-google-map.

Vulgum-Techus avatar Vulgum-Techus commented on August 16, 2024

Thanks!
Here is the link to it... http://vt.cx/aX

from embed-google-map.

petkivim avatar petkivim commented on August 16, 2024

Thanks! Have you copied the address from a webpage? It seems that there's some HTML formatting information that should not be there. This is the code that is generated:

<iframe class="embedGoogleMap" style="border: 0px none rgb(0, 0, 0); pointer-events: none;" src="https://www.google.com/maps?q=%3Cspan+style%3D%22font-size%3A+13.3333px%3B%22%3E29+rue+des+Orteaux+-+75020+Paris%3Cspan+style%3D%22font-size%3A+12.16px%3B%22%3E&amp;z=3&amp;t=m&amp;hl=fr&amp;output=embed" width="460" height="400"></iframe>

This is how it should look like:

<iframe class="embedGoogleMap" style="border: 0px none rgb(0, 0, 0); pointer-events: none;" src="https://www.google.com/maps?q=29+rue+des+Orteaux+-+75020+Paris&amp;z=3&amp;t=m&amp;hl=fr&amp;output=embed" width="460" height="400"></iframe>

To get rid of all the HTML formatting information you must copy/paste the address to notepad first, and then copy the address from notepad to Joomla article. After that the code should work as expected.

{google_map}9 rue des Orteaux - 75020 Paris|zoom:3{/google_map}

from embed-google-map.

Vulgum-Techus avatar Vulgum-Techus commented on August 16, 2024

Well done Peter! It works like a charm. I usually copy with [[ctrl]] to avoir this but this time, I just typed it in and kept the doc span in the process. How dumb. Should have thought of that right away. Sorry for the noise and thanks for the amazingly short time of response!!!!

from embed-google-map.

petkivim avatar petkivim commented on August 16, 2024

Happy to hear that the problem was resolved. :)

from embed-google-map.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.