Before Location Data Request Callback

cslBeforeSend

Description

Fires right before the location data request. If not using the full map start setting the user’s origin will have already been determined.

Parameters

Name Type Description
lat float Origin latitude
lng float Origin longitude
address string The full origin address
formattedAddress string Human-readable address of this location returned from the Google Maps Geocoding API
northEast object Northeast corner viewport bounding box latitude and longitude
southWest object Southwest corner viewport bounding box latitude and longitude
map object Google Maps object