Okay
  Public Ticket #2276409
map zoom
Closed

Comments

  • nocs90 started the conversation

    Hi, i have put the following shortcode in my event page:

    [stachethemes_ec view="map" views="map" show_views=0 map_zoom=30]

    but even if i change the value of map zoom...the zoom doesn't change.

    How can i do? thanks

  •  894
    Zhivko replied

    Hi,

    Try changing map_zoom to gmap_zoom:

    [stachethemes_ec view=map views=map show_views=0 gmap_zoom=30]


    Stachethemes Developer

  • nocs90 replied

    Thanks...is it possible to change the icon of an event? i would like a push pin instaed of a square.

  •  894
    Zhivko replied

    Hi,

    In your theme functions.php file add following code:

    add_action('stec_after_html', function() {
        ?>
        <script type="text/javascript">
            (function ($) {
                $.stecExtend(function (m) {
                    m.$instance.on('stecMapMarkerIcon', function () {
                        m.glob.temp.stecMapMarkerIcon = '';
                    });
                });
            })(window.jQuery);
        </script>
        <?php
    });

    Stachethemes Developer