Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Geocode

$meta_query = array(
	array(
		'key'     => 'geocode_[field id]',
		'value'   => 'lattitude',
	),
	array(
		'key'     => 'geocode_[field id]',
		'value'   => 'longitude',
	),
);