Problem with autocomplete field in OSM when I use with googlemap in the sameform

Support MB Frontend Submission Problem with autocomplete field in OSM when I use with googlemap in the sameformResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #14392
    proyectohappyweb@gmail.com[email protected]
    Participant

    Hello,

    In a frontend form I use the two fields, the two maps:
    'type' => 'map',
    and
    'type' => 'osm',

    If I put only one, all run well, but when I put the two maps, the autocomplete field direction of the Open Street Map doesn't work... The autocomplet direction field of google maps it's still working.

    Is there any solution for this?

    Many thanks,
    Sergio

    #14407
    Anh TranAnh Tran
    Keymaster

    Hi Sergio,

    Please use either of them. The address field, which is used for autocompletion works only with one map. Putting 2 maps will break the code.

    #14409
    proyectohappyweb@gmail.com[email protected]
    Participant

    Ah ok, I wanted to put both, with a radio field, to hide one of the two maps, and that the user could choose to create a business with Google Maps or open a street map ... But I see that I will have to think of another solution ...

    Thanks.

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