• crdunst

    (@crdunst)


    Hi Stephen,

    Not really a bug report, more a quick change request if I may be so bold.

    I’ve been adding a small venue map for a client using eo_get_venue_map(), but I was unable to turn off the fullscreen control in G Maps mode.

    I had a quick play with your code, and it seemed quite easy to add a default arg to your function in /includes/event-organiser-venue-functions.php (line 740)
    'fullscreencontrol' => true,

    And also adding a line to /js/maps/googlemaps-adapter.js (line 15) :
    fullscreenControl: args.fullscreencontrol

    You would no doubt want to edit your shortcode function too, to support this.

    It seemed to work fine and turned off the fullscreen icon in the map. I haven’t changed the source code in my installation, but I’ve left the fullscreencontrol arg in the eo_get_venue_map() call in my installation, should you decide to add this.

    Many thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘eo_get_venue_map() new arg?’ is closed to new replies.