Okay
  Public Ticket #1671012
Replace square blocks on map
Closed

Comments

  • San Aung started the conversation

    Is it possible to not have the square blocks on the map and have something else like a pin, a triangle, or a logo of the event?

  •  94
    Valentin replied

    At this moment you change it to the default Google Maps pin. Paste this code on the bottom of your theme functions.php file:

    add_action('wp_footer', function() {
        ?>
        <script type="text/javascript">
            ;
            (function ($) {
                $(function () {                 if (typeof $.stecExtend !== 'function') {
                        return;
                    }                 $('.stec').on('stecMapMarkerIcon', function (a, data) {
                        data.temp.stecMapMarkerIcon = '';
                    });             });
            })(jQuery);
        </script>
        <?php });

    Stachethemes Support
    My Time Zone is GMT+3


    Envato Profile | Facebook | Twitter | Newsletter | Rate & Review

  • San Aung replied

    Thank you. It works.