problem with loop

i think you are missing semicolons on flowing code. i have added semicolons.

    <div class="headdark"><h3>Places nearby <?php echo the_title();?> </h3></div>


<header class="thumb-header"><a href="https://wordpress.stackexchange.com/questions/244872/<?php the_permalink(get_the_ID()); ?>" class="hover-img">



<div class="thumb-caption">
            <h5 itemprop="name" class="thumb-title"><a class="text-darken" href="<?php the_permalink() ;?>"><?php the_title();?></a></h5>

and

you have used {} but in flowing code you use ** : ** in closing logic

<?php else : ?
    <h3 class="center">It seems like there are no places around</h3>
 <?php endif;  ?>