 	}
 	for (var i=0; i < markers.length; i++) {
 	   bounds.extend(markers[i].getPosition());
+
+
+
+
+	   if (google.maps.geometry.poly.containsLocation(google.maps.LatLng(getPosition().lat(), getPosition().on()),poly) == 'true'){
+	   	 console.log('inside');
+		} else{console.log('outside');}
+
+
+
+
+
+
+
+
+
+
 	}
 	// Don't zoom in too far on only one marker
     if (bounds.getNorthEast().equals(bounds.getSouthWest())) {

			google_private_key
		from cf_global_settings
	</cfquery>
<cfoutput>
		<cfhtmlhead text='<script src="http://maps.googleapis.com/maps/api/js?client=#cf_global_settings.google_client_id#&libraries=geometry" type="text/javascript"></script>'>
	</cfoutput>
	<style>
		#map-canvas { height: 300px;width:500px; }

		#map{
    width: 450px;
    height: 400px;
}

	</style>
<script>

	var map;
	var bounds = new google.maps.LatLngBounds();
	var markers = new Array();
		var ptsArray=[];





	var polygons=null;
google.maps.event.addDomListener(drawingManager, "polygoncomplete", function(polygon) {
        polygons=polygon;
});




    });
}



	jQuery(document).ready(function() {
