Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #853985

    Dear Kriesi,
    dear team,
    dear all,

    is there any way to have a Google Map build using the Media Element “Google Maps” from Enfolds Avia editor and to hook up on initialization? What’s the standard jQuery called and where is it located?

    My intention is to add KML layers to the map, in my case to add german states layers.

    Thank You very much,
    Thomas

    #854285

    Hey mailworm,

    AviaMapsAPI is in the shortcodes.js and so is the init function.
    https://cl.ly/0u0I2R2t0g2E

    Changes in shortcodes.js are better to be made in a child theme. Here is how to do it:

    https://kriesi.at/support/topic/edit-shortcodes-js-in-child-theme/#post-399336

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #860159

    yes there is a question- i want to get rid of that anoying white background of infowindow on google maps.
    but this fuc… div has no id or class – it is the div just before gm-style-iw class so i think i could manage it in this way:

    google.maps.event.addListenerOnce(map, 'idle', function(){
        jQuery('.gm-style-iw').prev('div').remove();
    });

    every attempt to do it via functions.php hook is failing – so i created this shortcodes.js file in child-theme/js folder – but i think i inserted it in the wrong place!
    i pasted it behind the other addListenerOnce rule on line 583 – and because it does not work – i changed it to (this.map …)

    where can i get rid of the background styling. It is very easy to handle styles on .gm-style-iw

    #864606

    Hi,

    I’m not sure if you can remove that div once the infoWindow has been created. The div before the “gm-style-iw” are generated again once you click on the marker. You can cover it by styling the “gm-style-iw” container but I don’t think it can be removed.

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.