Auto-complete and map field conflicts

Support MB Geolocation Auto-complete and map field conflicts

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3096
    SinusiteSinusite
    Participant

    Hi,
    there are some conflicts about autocomplete by using map field ('type' => 'map') and binding it with the 'address_field':

    1 - A warning : You have included the Google Maps API multiple times on this page. This may cause unexpected errors.

    2 - (may be because of 1) ) When map field is present, adress field doesn't care about geo settings, for instance :

    'geo' => array(
    'types' => array('establishment','geocode'),
    'componentRestrictions' => array(
    'country' => 'fr'
    )
    ),
    

    thanks !

    #3133
    Tan NguyenTan Nguyen
    Participant

    Dear Sinusite,

    Thanks for your contributing, I've updated Map field and MB Geolocation.

    This is the commit for Map field:

    https://github.com/rilwis/meta-box/commit/8fb4448469d80910c6b61ac634b7f95533a7fd04

    In case you need to make map field works for now. Please download the latest version of MB Geolocation (1.0.1) and replace your map.js on js directory with

    https://github.com/rilwis/meta-box/blob/master/js/map.js

    Best regards,

    Tan

    #3136
    SinusiteSinusite
    Participant

    Perfect it works.
    Thank you !

    #3137
    Tan NguyenTan Nguyen
    Participant

    Glad that you like it \m/

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Auto-complete and map field conflicts’ is closed to new replies.