Skip Navigation

[Resolved] How do I adjust map settings with a CRED form?

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user wanted to specify their map settings with Toolset forms.

Solution:

Unfortunately no this is not possible to do.

This support ticket is created 6 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Author
Posts
#1129342

I would like to change the zoom level on a map used on a form. I tried the options listed at the following:
https://toolset.com/documentation/user-guides/programmatically-change-map-settings/

However it seems the event is never fired.

#1129356

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Shomar,

Thank you for contacting our support forum.

Unfortunately this is not possible to do.

Thanks,
Shane

#1129361

Thanks. Are there *any* options that are available with the Map on a CRED form? Can I make any change aside from setting a default value? I see that a lot can be done with views.

#1129381

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Shomar,

Unfortunately, no all the map settings are set when you insert it into a view or through the use of JS when displaying the map.

Thanks,
Shane

#1129411

Ok thanks. I decided to convert the Address field to a regular text field and then add a Google Map with some event handlers to capture drag and clicks. I then store the lat/lng values in the text field. Works pretty good since I don't need the address lookup feature.