hide lines, polygons, circles and rectangles from poi list

Home Forums MapPress Support hide lines, polygons, circles and rectangles from poi list

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #14145
    Mr.Flash
    Participant

      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

    Viewing 1 post (of 1 total)
    • You must be logged in to reply to this topic.