• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Conditional field with Google Maps doesn't load

Conditional field with Google Maps doesn't load 8 years 11 months ago #31299

  • michooo
  • michooo's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
When using the conditinal field function with a google map block, then the google map doesn't load properly. The Geolocation-funciton works correctly, but instead of the google map it show a gray background.

Any ideas how to fix that?

RSForm Pro 1.50.14
The administrator has disabled public write access.

Conditional field with Google Maps doesn't load 8 years 11 months ago #31301

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
A quick fix for this issue is to initiate the map when triggering the conditional field. You can do so by binding a function to the onclick event of the conditional field trigger.

Edit the field that triggers the showing of the map and add in the Additional Attributes area the following line:
onclick="setTimeout(function(){rsfp_initialize_map81();},100);"

note that you should change the "81" number to match your case. in order to retrieve the "id number" inspect the field and the div containing the map should have a proper ID like this one:

<div id="rsform-map141"..> this would imply that you will have to use :
onclick="setTimeout(function(){rsfp_initialize_map141();},100);"

Let me know if it works!
My help is not official customer support. To receive your support, submit a ticket by clicking here
Last Edit: 8 years 11 months ago by cosmin.cristea.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!