wpsl_marker_props

  1. Description
  2. Parameters
  3. Usage
  4. Changelog
  5. Source File
  6. Related

Description

This filter allows you to change the “scaledSize”, “origin” and “anchor” marker properties.

Parameters

$marker_props - (array) The existing marker properties.

Usage

This code example shows the default values that you can overwrite for the marker properties:

If you want to change the URL that points to the marker images folder, then you can do this by setting the WPSL_MARKER_URI constant in the functions.php.

Changelog

Since 2.1

Source File

This filter is located in /frontend/class-frontend.php