# Class ProMarker

This class represents a marker

  WPGMZA\Factory
  WPGMZA\Crud implements IteratorAggregate, JsonSerializable
  WPGMZA\Marker implements JsonSerializable
  WPGMZA\ProMarker

Namespace: WPGMZA
Located at class.pro-marker.php

Methods summary
`public` | # `__construct( integer|array|object $id_or_fields = -1 )` Constructor Constructor #### Parameters $id_or_fields integer ID to read a marker, or an array or object to read data from to create a new one. If this argument is not specified, a new marker will be created. #### Overrides `WPGMZA\Marker::__construct()`
`public array` | # `jsonSerialize( )` Returns a clone of this marker for JSON serialization. Unsets latlng binary spatial data which corrupts JSON, and sets custom field data. Returns a clone of this marker for JSON serialization. Unsets latlng binary spatial data which corrupts JSON, and sets custom field data. #### Returns array A JSON representation of this marker, without spatial data and with custom field ata. #### Throws Exception #### Overrides `WPGMZA\Marker::jsonSerialize()`
`public static` | # `getIconSQL( $map_id = null, $as_html_tag = false )`

Methods inherited from WPGMZA\Marker
`__set(), create_instance(), getColumns(), getPosition(), get_arbitrary_data_column_name(), get_column_parameter(), get_placeholder_by_type(), get_table_name_static(), update(), update_latlng()`

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

Methods inherited from WPGMZA\Factory
`createInstance()`

Constants inherited from WPGMZA\Marker
`DEFAULT_ICON`

Constants inherited from WPGMZA\Crud
`BULK_READ, SINGLE_READ`

Properties inherited from WPGMZA\Marker
`$custom_fields`