Custom Fields
Re-Envisioned
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  proyectohappyweb@gmail.com 4 months, 2 weeks ago.

  • Creator
    Topic
  • #14392
    Resolved
    proyectohappyweb@gmail.com
    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

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

    Anh 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

    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 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.