Function Reference: geodir_map_zoom_level

Summary

Returns available map zoom levels.

Package

GeoDirectory

Return Values

(array)
  • Available map zoom levels.

Change Log

Since: 1.0.0

Filters

‘geodir_map_zoom_level’ [Line: 2080]

Source File

geodir_map_zoom_level() is located in geodirectory-functions/general_functions.php [Line: 2074]

Source Code

function geodir_map_zoom_level() {
	/**
	 * Filter GD map zoom level.
	 *
	 * @since 1.0.0
	 */
	return apply_filters( 'geodir_map_zoom_level', array(
		1,
		2,
		3,
		4,
		5,
		6,
		7,
		8,
		9,
		10,
		11,
		12,
		13,
		14,
		15,
		16,
		17,
		18,
		19
	) );

}