  						<div style="font-size:x-small">
 							Error is not displayed here; examine the locality before doing anything.
 							<br>Large WKT (>~30K characters) will not work properly
-							<br><span class="likeLink" onclick="openOutsidePoints();">
-								click here to view specimens using "outside" points in a new window
-							</span>
+							<cfif len(wkt_polygon) gt 0>
+								<br><span class="likeLink" onclick="openOutsidePoints();">
+									click here to view specimens using "outside" points in a new window
+								</span>
+							</cfif>
 						</div>
 						<div id="map"></div>
 	                </td>

	}

	function initializeMap() {
		var infowindow = new google.maps.InfoWindow();
		var mapOptions = {
			zoom: 3,

		    scaleControl: true
		};
		map = new google.maps.Map(document.getElementById('map'),mapOptions);

		//using regex, we will get the indivudal Rings
		var regex = /\(([^()]+)\)/g;
		var Rings = [];
