Custom Fields
Support MB Frontend Submission Problem with autocomplete field in OSM when I use with googlemap in the sameform

This topic contains 2 replies, has 2 voices, and was last updated by 6 months, 2 weeks ago.

  • Creator
  • #14392


    In a frontend form I use the two fields, the two maps:
    ‘type’ => ‘map’,
    ‘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,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
  • #14407

    Anh Tran

    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.


    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 …


Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.