<!-- Replace the value of the key parameter with your own API key. -->
<script defer
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCkUOdZ5y7hMm0yrcCQoCvLwzdM6M8s5qk&callback=initMap">
</script>
<script type = "text/javascript" src="jquery-1.6.4.min.js"></script>
<table class="layout" border="0" cellpadding="0" cellspacing="1" bgcolor="#D0CBC9">
<tr>
<td colspan="3" align="center" bgcolor="#FFFFFF" class="usernotes">Use our <strong>New York Ground Snow Loads</strong> map to easily determine the ground snow load (2010 Building Code of New York State: Chapter 16 Section 1608) for any location in the State of New York. You can click on the map below to find the design ground snow load for that location.<br>
<br>
The ground snow loads to be used in determining the design snow loads for roofs shall be determined in accordance with ASCE 7-10 or <a href="http://publicecodes.cyberregs.com/st/ny/st/b200v10/st_ny_st_b200v10_16_sec008.htm" target="_blank">Figure 1608.2</a>. When using Figure 1608.2 for sites at elevations above 1,000 feet (304 m), the ground snow load shall be increased from the mapped value by 2 psf (0.095 kN/m<span class="ninept">2</span>) for every 100 feet (30.48 m) above 1,000 feet (304 m). Site-specific case studies may be made in lieu of snow loads in Figure 1608.2 or ASCE 7-10.
</td>
</tr>
<tr id="searchbar">
<td height="33" colspan="3" align="center">
<div style="position:relative">
<table width="75%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td class="twelevept"><font color="#333333">Street:</font></td>
<td><input id="street" name="street" type="text" size=26></td>
<td class="twelevept"><font color="#000000">City:</font></td>
<td><input id="city" name="city" type="text" size="17"></td>
<td class="twelevept"><font color="#333333">State:</font></td>
<td><SELECT id="state" name="state"...
var src = 'https://raw.githubusercontent.com/piterat/kmlLink/642e292853adc55d34f4105d94cb024fac104db4/NEWYORK_COUNTIES.kml'
var src2 = 'https://raw.githubusercontent.com/piterat/kmlLink/642e292853adc55d34f4105d94cb024fac104db4/NEWYORK_SNOWLOADS.kml';
var elevator;
//var infowindow = new google.maps.InfoWindow();
var map2;
var geocoder;
var marker;
var clickedLocation;
var NewYorkCounties;
var NewYorkSnowLoads;
var mdktbxcookie;
function newPopup4(url)
{
popupWindow = window.open(url,'popUpWindow','height=600,width=1100,left=50,top=50,resizable=yes,scrollbars=yes,toolbar=no,menubar=yes,location=no,directories=no,status=yes')
}
function initialize()
{
geocoder = new google.maps.Geocoder();
var myLatlng = new google.maps.LatLng(42.80,-75.19);
var mapOptions =
{
zoom: 7,
center: myLatlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
}
map2 = new google.maps.Map(document.getElementById('map-canvas'), mapOptions);
// Create an ElevationService
elevator = new google.maps.ElevationService();
// Add a listener for the click event and call getElevation on that location
google.maps.event.addListener(map2, 'click', getElevation);
loadASCEdata();
}
function loadASCEdata()
{
NewYorkCounties = new google.maps.KmlLayer(src,{suppressInfoWindows: true,preserveViewport: true});
NewYorkCounties.setMap(map2);
NewYorkSnowLoads = new google.maps.KmlLayer(src1,{suppressInfoWindows: true,preserveViewport: true});
NewYorkSnowLoads.setMap(map2);
google.maps.event.addListener(NewYorkCounties, 'click', function(kmlEvent)
{
if (marker != null)
{
marker.setMap(null);
}
var snowloadtext = kmlEvent.featureData.description;
var countyname = kmlEvent.featureData.name;
clickedLocation = kmlEvent.latLng;
// Puts down marker at Clicked Location
marker = new google.maps.Marker({map: map2,position: clickedLocation,draggable:...
Please Whitelist JSFiddle in your content blocker.
Help keep JSFiddle free for always by one of two ways:
Whitelist JSFiddle in your content blocker (two clicks)
Go PRO and get access to additional PRO features →
Join the 4+ million users, and keep the JSFiddle dream alive.
Ad-free
All ads in the editor and listing pages are turned completely off.
Use pre-released features
You get to try and use features (like the Palette Color Generator) months before everyone else.
Fiddle collections
Sort and categorize your Fiddles into multiple collections.
Private collections and fiddles
You can make as many Private Fiddles, and Private Collections as you wish!
Console
Debug your Fiddle with a minimal built-in JavaScript console.