First create a polygon of the US
var polygonUs = [
new google.maps.LatLng(25.774252, -80.190262),
new google.maps.LatLng(18.466465, -66.118292),
new google.maps.LatLng(32.321384, -64.75737)
];
check if tmplan is inside polygon, if yes show it.
if (google.maps.geometry.poly.containsLocation(tmplan, polygonUs)) {
marker = new google.maps.Marker({
map: map,
position: tmplan
});
}