# Class Map

This class represents a map.

  WPGMZA\Factory
  WPGMZA\Crud implements IteratorAggregate, JsonSerializable
  WPGMZA\Map

#### Direct known subclasses

WPGMZA\GoogleMap
Namespace: WPGMZA
Located at class.map.php

Methods summary
`public` | # `__construct( integer|array|object $id_or_fields = -1 )` Constructor Constructor #### Parameters $id_or_fields The ID to read an existing map, or an object or array to create a new one. #### Overrides `WPGMZA\Crud::__construct()`
`public mixed` | # `__get( $name )` Magic method to get map object fields Magic method to get map object fields #### Returns mixed #### Throws Exception The object has been trashed #### Params string $name The name of the property to read #### Overrides `WPGMZA\Crud::__get()`
`public static` | # `create_instance( $id_or_fields = -1 )` Deprecated. The Factory class will takeover here Deprecated. The Factory class will takeover here #### Deprecated
`protected string` | # `get_arbitrary_data_column_name( )` Returns the name of the column used to store arbitrary data, which is "other_settings" on the map table. Returns the name of the column used to store arbitrary data, which is "other_settings" on the map table. #### Returns string The column name. #### Overrides `WPGMZA\Crud::get_arbitrary_data_column_name()`

Methods inherited from WPGMZA\Crud
`__isset(), __set(), __unset(), assert_not_trashed(), bulk_read(), bulk_trash(), column_exists(), create(), getIterator(), get_column_names(), get_column_parameter(), get_column_parameters(), get_column_placeholders(), get_column_type(), get_columns(), get_placeholder_by_type(), get_table_name(), is_read_only(), jsonSerialize(), parse_arbitrary_data(), read(), set(), store_arbitrary_data(), trash(), update()`

Methods inherited from WPGMZA\Factory
`createInstance()`

Constants inherited from WPGMZA\Crud
`BULK_READ, SINGLE_READ`