- This topic has 0 replies, 1 voice, and was last updated 9 years, 10 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
Home › Forums › MapPress Support › hide lines, polygons, circles and rectangles from poi list
Hi,
I wanted to hide lines, polygons, circles and rectangles from my POI list and only show the regular POIs.
Couldn’t find anything in the documentation, so here is what I did:
I changed
<?php foreach($map->pois as $poi) : ?>
to
<?php
foreach($map->pois as $poi) :
if($poi->iconid == "POI") :
?>
and
<?php endforeach; ?>
to
<?php
endif;
endforeach;
?>
in my map_poi_list.php