Small addition: insert many placemarks in the map using their IDs
Hi there, thanks for the great plugin! I have a small suggestion:
In public function getMapPlacemarks( $attributes ), the following line:
$query[ ‘p’ ] = $attributes[ ‘placemark’ ];
can be replaced with:
$query[ ‘post__in’ ] = explode(“,”,$attributes[ ‘placemark’ ]);
This allows to add more than 1 placemark in the map specifying the IDs (eg: placemark=”154, 467, 334″), so no need to have all these placemarks under one common category anymore.
- The topic ‘Small addition: insert many placemarks in the map using their IDs’ is closed to new replies.