• Please patch / for anyone else having the same issue…

    Markers containing HTML in the details field caused the following error

    Basic Google Maps Placemarks error: bgmpData undefined.

    I was able to solve it by replacing

    markers : <?php echo json_encode( $this->getMapPlacemarks( $attributes ) ); ?>

    with

    markers : <?php echo json_encode( $this->getMapPlacemarks( $attributes ), JSON_HEX_QUOT | JSON_HEX_TAG); ?>

    in ./wp-content/plugins/basic-google-maps-placemarks/views/shortcode-bgmp-map.php

Viewing 1 replies (of 1 total)
  • Plugin Author Ian Dunn

    (@iandunn)

    Hmmm, I’m not able to reproduce that with general HTML, so it may be dependent on the specific HTML, or encoding, etc.

    Can you paste the exact content into a pastebin.com item and link it here? That might help me reproduce it.

Viewing 1 replies (of 1 total)

The topic ‘Basic Google Maps Placemarks error: bgmpData undefined.’ is closed to new replies.