gpaa_map_options (JS)
Description
Filter the options used to initialize the map.
Usage
window.gform.addFilter( 'gpaa_map_options', 'my_custom_function' );
Parameters
options google.maps.MapOptions
Contains the map configuration options. All available options are documented here.
formId int
The current form ID.
fieldId int
The current field ID.
Examples
Customize the default map center
This example sets the starting location to Berlin, Germany.
window.gform.addFilter( 'gpaa_map_options', function( opts ) {
opts.center = {
lat: 52.5200,
lng: 13.4050,
};
return opts;
} );
Since
This filter is available since Gravity Forms Address Autocomplete 1.2.1.
All Connections
All Perks
- GF Address Autocomplete
- GF Advanced Calculations
- GF Advanced Phone Field
- GF Advanced Save & Continue
- GF Advanced Select
- GF Auto List Field
- GF Auto Login
- GF Better User Activation
- GF Blocklist
- GF Conditional Logic Dates
- GF Conditional Pricing
- GF Copy Cat
- GF Date Time Calculator
- GF Disable Entry Creation
- GF Easy Passthrough
- GF eCommerce Fields
- GF Email Users
- GF Entry Blocks
- GF Expand Textareas
- GF File Renamer
- GF File Upload Pro
- GF Inventory
- GF Limit Checkboxes
- GF Limit Choices
- GF Limit Dates
- GF Limit Submissions
- GF Live Preview
- GF Media Library
- GF Multi-Page Navigation
- GF Nested Forms
- GF Notification Scheduler
- GF Page Transitions
- GF Pay Per Word
- GF Populate Anything
- GF Post Content Merge Tags
- GF Preview Submission
- GF Price Range
- GF QR Code
- GF Randomizer
- GF Read Only
- GF Reload Form
- GF Terms Of Service
- GF Unique ID
- GF Word Count