diff --git a/README.md b/README.md index d200ad1..e67204a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # WebMap2 #first test +This is a test commit from terminal, this is the second commit from local tc2searchmap branch \ No newline at end of file diff --git a/TestMult.html b/TestMult.html index de25ef5..3301763 100644 --- a/TestMult.html +++ b/TestMult.html @@ -4,170 +4,19 @@ - ArcGIS API for JavaScript | Search widget with multiple sources + DOF | TC2 Property Search Map: Queens + + + + + @@ -198,23 +47,57 @@ "dijit/TooltipDialog", "dijit/popup", "dijit/TitlePane", + "dojo/ready", "dijit/registry", + "dojo/aspect", "dijit/layout/BorderContainer", "dijit/layout/ContentPane", "dijit/form/ToggleButton", "dojo/domReady!" - ], function(Map, BasemapToggle, FeatureLayer, FeatureTable, LayerList, Search,InfoTemplate,domConstruct, dom, on, Query, QueryTask, SimpleLineSymbol, SimpleFillSymbol, SimpleRenderer, Color, Graphic, esriLang,number, domStyle, parser,localeNumber,TooltipDialog,dijitPopup, TitlePane,registry, + ], function(Map, BasemapToggle, FeatureLayer, FeatureTable, LayerList, Search,InfoTemplate,domConstruct, dom, on, Query, QueryTask, SimpleLineSymbol, SimpleFillSymbol, SimpleRenderer, Color, Graphic, esriLang,number, domStyle, parser,localeNumber,TooltipDialog,dijitPopup, TitlePane,ready,registry,aspect, ToggleButton) { - - - - parser.parse(); + dojo.extend(dijit.Tooltip, { + startup: function() { + dojo.forEach(this.connectId, function(id) { + var node = dojo.byId(id); + dojo.connect(node, 'onclick', this, function(e) { + node.blur(); + }); + dijit._Widget.prototype.startup.apply(this, arguments); + }); + } + }); + + var guideline = { + "Variables":["Vacancy Rate","Effective Tax Rate","HighIncome","HighExpense","HighExpense Ratio","HighCap Rate","HighApproximate Market Value Range","MedianIncome","MedianExpense","MedianExpense Ratio","MedianCap Rate","MedianApproximate Market Value Range","LowIncome","LowExpense","LowExpense Ratio","LowCap Rate","LowApproximate Market Value Range","dispBcat"], + "RR31":["3.00%","5.797%"," $21.61 "," $12.43 ","58%","7.02%"," $72 "," $14.60 "," $9.05 ","62%","8.33%"," $39 "," $10.46 "," $6.91 ","66%","10.27%"," $22 ","Rental Walk-Ups"], + "RR32":["2.00%","5.797%"," $19.77 "," $11.56 ","58%","7.24%"," $63 "," $14.44 "," $8.97 ","62%","8.38%"," $39 "," $10.42 "," $6.89 ","66%","10.30%"," $22 ","Pre-1974 Rental Elevator Buildings"], + "RR33":["2.00%","5.797%"," $29.00 "," $15.77 ","54%","6.70%"," $106 "," $17.49 "," $10.47 ","60%","7.62%"," $52 "," $10.42 "," $6.89 ","66%","10.30%"," $22 ","Post-1973 Rental Elevator Buildings"], + "RU31":["2.00%","5.797%"," $30.45 "," $16.40 ","54%","6.70%"," $112 "," $17.28 "," $10.37 ","60%","7.66%"," $51 "," $11.54 "," $7.48 ","65%","9.60%"," $26 ","Rental Walk-Ups"], + "RU32":["2.00%","5.797%"," $25.59 "," $14.25 ","56%","6.70%"," $91 "," $16.51 "," $10.00 ","61%","7.82%"," $48 "," $12.20 "," $7.83 ","64%","9.26%"," $29 ","Pre-1974 Rental Elevator Buildings"], + "RU33":["3.00%","5.797%"," $32.84 "," $17.44 ","53%","6.70%"," $123 "," $20.69 "," $12.00 ","58%","7.12%"," $67 "," $12.28 "," $7.87 ","64%","9.23%"," $29 ","Post-1973 Rental Elevator Buildings"], + "CR31":["3.00%","5.797%"," $21.61 "," $12.43 ","58%","7.02%"," $72 "," $14.60 "," $9.05 ","62%","8.33%"," $39 "," $10.46 "," $6.91 ","66%","10.27%"," $22 ","Cooperative Walk-Ups"], + "CR32":["2.00%","5.797%"," $19.77 "," $11.56 ","58%","7.24%"," $63 "," $14.44 "," $8.97 ","62%","8.38%"," $39 "," $10.42 "," $6.89 ","66%","10.30%"," $22 ","Pre-1974 Cooperative Elevator Buildings"], + "CR33":["2.00%","5.797%"," $29.00 "," $15.77 ","54%","6.70%"," $106 "," $17.49 "," $10.47 ","60%","7.62%"," $52 "," $10.42 "," $6.89 ","66%","10.30%"," $22 ","Post-1973 Cooperative Elevator Buildings"], + "CU31":["2.00%","5.797%"," $30.45 "," $16.40 ","54%","6.70%"," $112 "," $17.28 "," $10.37 ","60%","7.66%"," $51 "," $11.54 "," $7.48 ","65%","9.60%"," $26 ","Cooperative Walk-Ups"], + "CU32":["2.00%","5.797%"," $25.59 "," $14.25 ","56%","6.70%"," $91 "," $16.51 "," $10.00 ","61%","7.82%"," $48 "," $12.20 "," $7.83 ","64%","9.26%"," $29 ","Pre-1974 Cooperative Elevator Buildings"], + "CU33":["3.00%","5.797%"," $32.84 "," $17.44 ","53%","6.70%"," $123 "," $20.69 "," $12.00 ","58%","7.12%"," $67 "," $12.28 "," $7.87 ","64%","9.23%"," $29 ","Post-1973 Cooperative Elevator Buildings"], + "EU31":["2.00%","5.797%"," $30.45 "," $16.40 ","54%","6.70%"," $112 "," $17.28 "," $10.37 ","60%","7.66%"," $51 "," $11.54 "," $7.48 ","65%","9.60%"," $26 ","Condominium Walk-Ups"], + "EU32":["2.00%","5.797%"," $25.59 "," $14.25 ","56%","6.70%"," $91 "," $16.51 "," $10.00 ","61%","7.82%"," $48 "," $12.20 "," $7.83 ","64%","9.26%"," $29 ","Pre-1974 Condominium Elevator Buildings"], + "EU33":["3.00%","5.797%"," $32.84 "," $17.44 ","53%","6.70%"," $123 "," $20.69 "," $12.00 ","58%","7.12%"," $67 "," $12.28 "," $7.87 ","64%","9.23%"," $29 ","Post-1973 Condominium Elevator Buildings"], + "DU31":["2.00%","5.797%"," $30.45 "," $16.40 ","54%","6.70%"," $112 "," $17.28 "," $10.37 ","60%","7.66%"," $51 "," $11.54 "," $7.48 ","65%","9.60%"," $26 ","Condo-Coops/Condo-Rental Walk-Ups"], + "DU32":["2.00%","5.797%"," $25.59 "," $14.25 ","56%","6.70%"," $91 "," $16.51 "," $10.00 ","61%","7.82%"," $48 "," $12.20 "," $7.83 ","64%","9.26%"," $29 ","Pre-1974 Condo-Coops/Condo-Rental Elevator Buildings"], + "DU33":["3.00%","5.797%"," $32.84 "," $17.44 ","53%","6.70%"," $123 "," $20.69 "," $12.00 ","58%","7.12%"," $67 "," $12.28 "," $7.87 ","64%","9.23%"," $29 ","Post-1973 Condo-Coops/Condo-Rental Elevator Buildings"] + } + parser.parse(); var curCDkey, curCDkey_s, curCDunit, curBBL,curLot; - var noncdlayer = "//services3.arcgis.com/aD88pT4hjL80xq0F/arcgis/rest/services/TC2_MH_noncd1210/FeatureServer/0"; - var cdmainlayer = "//services3.arcgis.com/aD88pT4hjL80xq0F/arcgis/rest/services/MHcdmain/FeatureServer/0"; - var cdsufftable = "//services3.arcgis.com/aD88pT4hjL80xq0F/arcgis/rest/services/MHcdsuffix/FeatureServer/0"; - var cdunittable = "//services3.arcgis.com/aD88pT4hjL80xq0F/arcgis/rest/services/tc2MH_unitlist1_12212015/FeatureServer/0"; + var noncdlayer = "//services3.arcgis.com/aD88pT4hjL80xq0F/arcgis/rest/services/TC2_QN_noncd12016c/FeatureServer/0"; + var cdmainlayer = "//services3.arcgis.com/aD88pT4hjL80xq0F/arcgis/rest/services/TC2_QN_cdmain12016/FeatureServer/0"; + var cdsufftable = "//services3.arcgis.com/aD88pT4hjL80xq0F/arcgis/rest/services/QNcdsuffix0104/FeatureServer/0"; + var cdunittable = "//services3.arcgis.com/aD88pT4hjL80xq0F/arcgis/rest/services/tc2QN_unitlist1_01042016/FeatureServer/0"; var Date = "Jan 2016"; + var latlong = [-73.828399, 40.713812]; // lon, lat: Queens + var addressTown = "Queens"; /* registry.byId("searchValue").on("click", doSearchValue); function doSearchValue() { @@ -239,11 +122,11 @@ var map = new Map("map", { basemap: "streets", - center: [-74.005941, 40.712784], // lon, lat + center: latlong, // lon, lat zoom: 17 }); - //ArcGIS Online feature service showing Mahattan Tc2 lots + //ArcGIS Online feature service showing Queens Tc2 lots var layer = new FeatureLayer(noncdlayer, { outFields: ["*"], maxScale:100, @@ -325,7 +208,7 @@ }; layer.on("mouse-over", function(evt){ closeDialog(); - var t = "${BORO}/${BLOCK}/${LOT}
Adress:${Street_Num} ${Street_Nam}, New York, NY
DOF Value 2017 Tentative: $${fmv:NumberFormat}
"; + var t = "${BORO}/${BLOCK}/${LOT}
Adress:${Street_Num} ${Street_Nam}, "+addressTown+", NY
DOF Value 2017 Tentative: $${fmv:NumberFormat}
"; var content = esriLang.substitute(evt.graphic.attributes,t); //var highlightGraphic = new Graphic(evt.graphic.geometry,highlightSymbol); //map.graphics.add(highlightGraphic); @@ -355,7 +238,7 @@ }); layercdm.on("mouse-over", function(evt){ closeDialog(); - var t = "${Boro}/${Block}/${Lot}
Adress:${Street_Num} ${Street_Nam}, New York, NY
"; + var t = "${Boro}/${Block}/${Lot}
Adress:${Street_Num} ${Street_Nam}, "+addressTown+", NY
"; var content = esriLang.substitute(evt.graphic.attributes,t); //var symbol = new esri.symbol.SimpleFillSymbol(); //symbol.setColor(new dojo.Color([150,150,150,0.5])); @@ -425,7 +308,7 @@ //Create an InfoTemplate and include three fields infoTemplate: new InfoTemplate("Parcel: ${BORO}/${BLOCK}/${LOT}", "
DOF Value 2016 Tentative: $${fmv:NumberFormat}
" - +"
Adress:${Street_Num} ${Street_Nam}, New York, NY
" + +"
Adress:${Street_Num} ${Street_Nam}, "+addressTown+", NY
" +"
Total Units:${resunit}
" +"
Gross SQFT:${ttlsqft} SQFT
" +"
Stories:${story:NumberFormat}
" @@ -434,7 +317,7 @@ +"
View Property Tax Bills
" +"
Exemptions and Abatements
" +"
Request Data Correction
" - +"

Search on Google Map
" + +"

Search on Google Map
" ), enableSuggestions: true, minCharacters: 0 @@ -454,11 +337,11 @@ //Create an InfoTemplate infoTemplate: new InfoTemplate("Parcel: ${Boro}/${Block}/${Lot}", - "
Adress:${Street_Num} ${Street_Nam}, New York, NY
" + "
Adress:${Street_Num} ${Street_Nam}, "+addressTown+", NY
" +"
View Property Tax Bills
" +"
Exemptions and Abatements
" +"
Request Data Correction
" - +"

Search on Google Map
" + +"

Search on Google Map
" ), enableSuggestions: true, @@ -476,6 +359,7 @@ h = ""; if (rs == null){ document.getElementById("alerttext").innerHTML = "BBL cannot be find\nPlease enter a valid block and lot."; + document.getElementById('SearchBox').style.height = "150px"; return; } if (rs[1] == null){ @@ -484,6 +368,10 @@ return; }else{//NON CONDO ([0]) var resultItems = []; + + document.getElementById('toolsPane').style.width="30vw"; + document.getElementById('toolsPane').style.zindex="300"; + dijit.byId("borderContainer").resize(); dijit.byId("toolsPane").destroyDescendants(false); domConstruct.empty("toolsPane"); var containerNode = dojo.byId("toolsPane"); @@ -492,8 +380,10 @@ /*for (var attr in featureAttributes) { resultItems.push("" + attr + ": " + featureAttributes[attr] + "
"); }*/ - resultItems.push("

Building Information

"); - resultItems.push("
Address: "+setNullValue(featureAttributes.Street_Num,"--") + " " + + resultItems.push("
"); + resultItems.push("

Building Information

"); + resultItems.push("" +"" +"" @@ -505,35 +395,38 @@ +"" +"" +"" - +"" + +"" +"
Address: "+setNullValue(featureAttributes.Street_Num,"--") + " " + setNullValue(featureAttributes.Street_Nam,"--") +"
Neighborhood: "+setNullValue(featureAttributes.NBHD, "--")+"
Property Type: "+setNullValue(featureAttributes.Structure, "--")+"
Commercial Units: "+setNullValue(featureAttributes.comunit, "--")+"
Total Story: "+setNullValue(featureAttributes.story, "--")+"
Year Built: "+setNullValue(featureAttributes.AYB, "--")+"
Zoning Code: "+setNullValue(featureAttributes.Zone_1, "--")+"
Zoning Code: "+setNullValue(featureAttributes.Zone_1, "--")+"
"); resultItems.push("

"); resultItems.push("

Tax Information

"); resultItems.push("" - +"" - +"" - +"" - +"" + +"" + +"" + +"" + +"" + +"" + +"" +"
DOF Value: $"+setNullValue(localeNumber.format(featureAttributes.fmv), "--")+"
Agi_Pgsf: $"+setNullValue(localeNumber.format(featureAttributes.Agi_Pgsf), "--")+"
Exp_Pgsf: $"+setNullValue(localeNumber.format(featureAttributes.Exp_Pgsf), "--")+"
Noi_Pgsf: $"+setNullValue(localeNumber.format(featureAttributes.Noi_Pgsf), "--")+"
This Parcel Neighborhood Median
DOF Value: $"+setNullValue(localeNumber.format(featureAttributes.fmv), "--")+" $"+setNullValue(localeNumber.format(featureAttributes.mid_fmv), "--")+"
DOF Value pgsf: $"+setNullValue(localeNumber.format(featureAttributes.fmv_pgsf), "--")+" $"+setNullValue(localeNumber.format(featureAttributes.mid_fmvpsf), "--")+"
Agi_Pgsf: $"+setNullValue(localeNumber.format(featureAttributes.Agi_Pgsf), "--")+" $"+setNullValue(localeNumber.format(featureAttributes.mid_agi), "--")+"
Exp_Pgsf: $"+setNullValue(localeNumber.format(featureAttributes.Exp_Pgsf), "--")+" $"+setNullValue(localeNumber.format(featureAttributes.mid_exp), "--")+"
Noi_Pgsf: $"+setNullValue(localeNumber.format(featureAttributes.Noi_Pgsf), "--")+" $"+setNullValue(localeNumber.format(featureAttributes.mid_noi), "--")+"
"); resultItems.push("

Guideline Information

"); resultItems.push("" - +"" - +"" - +"" + +"" + +"" + +"" +"" - +"" - +"" - +"" - +"" - +"" + +"" + +"" + +"" + +"" + +"" +"
Bcat:Row:1
Vacancy Rate:Row:1
Effective Tax Rate:Row:1
Building Category:"+guideline[featureAttributes.bcat][17] +"
Max Vacancy Rate:"+guideline[featureAttributes.bcat][0]+"
Effective Tax Rate:"+guideline[featureAttributes.bcat][1]+"
LowMedianHigh
IncomeRow:4 Cell:2Row:4 Cell:3Row:4 Cell:4
ExpenseRow:5 Cell:2Row:5 Cell:3Row:5 Cell:4
Expense RatioRow:6 Cell:2Row:6 Cell:3Row:6 Cell:4
Cap RateRow:7 Cell:2Row:7 Cell:3Row:7 Cell:4
Approximate Market Value RangeRow:8 Cell:2Row:8 Cell:3Row:8 Cell:4
Income"+guideline[featureAttributes.bcat][12]+""+guideline[featureAttributes.bcat][7]+""+guideline[featureAttributes.bcat][2]+"
Expense"+guideline[featureAttributes.bcat][13]+""+guideline[featureAttributes.bcat][8]+""+guideline[featureAttributes.bcat][3]+"
Expense Ratio"+guideline[featureAttributes.bcat][14]+""+guideline[featureAttributes.bcat][9]+""+guideline[featureAttributes.bcat][4]+"
Cap Rate"+guideline[featureAttributes.bcat][15]+""+guideline[featureAttributes.bcat][10]+""+guideline[featureAttributes.bcat][5]+"
Approximate Market Value Range"+guideline[featureAttributes.bcat][16]+""+guideline[featureAttributes.bcat][11]+""+guideline[featureAttributes.bcat][6]+"
"); resultItems.push("

Income= Gross Income per sq.ft.

Expense= Total Expense per sq.ft.

"); - resultItems.push("
View Property Tax Bills
" - +"
Exemptions and Abatements
" - +"
Request Data Correction
" - +"

Search on Google Map
"); + resultItems.push("

Useful Links

"); + resultItems.push("" + +"" + +"" + +"
View Property Tax Bills
Exemptions and Abatements
Request Data Correction
Search on Google Map
"); function setNullValue(value, defaultValue){ @@ -570,6 +463,7 @@ dijit.byId("toolsPane").destroyDescendants(false); domConstruct.empty("toolsPane"); document.getElementById("alerttext").innerHTML=""; + document.getElementById('SearchBox').style.height = "100px"; document.getElementById("execute2").disabled = true; //If multiple results are found, it will default and select the first. searchvar.set("activeSourceIndex", 0); @@ -582,7 +476,7 @@ } //Query--condounit //Initiate Query - var queryTaskunit = new QueryTask("//services3.arcgis.com/aD88pT4hjL80xq0F/arcgis/rest/services/tc2MH_unitlist1_12212015/FeatureServer/0"); + var queryTaskunit = new QueryTask(cdunittable); var queryunit = new Query(); queryunit.returnGeometry = false; queryunit.outFields = ["*"] @@ -592,6 +486,7 @@ dijit.byId("toolsPane").destroyDescendants(false); domConstruct.empty("toolsPane"); document.getElementById("alerttext").innerHTML=""; + document.getElementById('SearchBox').style.height = "100px"; var search_block = dom.byId("searchtext_Block").value; var search_lot = dom.byId("searchtext_Lot").value; var searchx = search_block + "/" + search_lot; @@ -614,6 +509,7 @@ execute(); }else{ document.getElementById("alerttext").innerHTML = "BBL cannot be find\nPlease enter a valid block and lot for Condominium Unit."; + document.getElementById('SearchBox').style.height = "150px"; return; }; @@ -637,10 +533,16 @@ query.where = "CONDO_KEY = "+curCDkey +" and Unit='"+curCDunit+"'"; }else{ query.where = "CONDO_KEY = "+curCDkey ; + document.getElementById("alerttext").innerHTML = "Please enter a Condominium Unit block and lot for details on the building."; + document.getElementById('SearchBox').style.height = "150px"; } queryTask.execute(query, showResults,function(error){console.log(error);}); } function showResults (results) { + + document.getElementById('toolsPane').style.width="30vw"; + document.getElementById('toolsPane').style.zindex="300"; + dijit.byId("borderContainer").resize(); var resultItems = []; var resultCount = results.features.length; dijit.byId("toolsPane").destroyDescendants(false); @@ -667,25 +569,32 @@ resultItems.push("

Tax Information

"); resultItems.push("" - +"" - +"" - +"" - +"" + +"" + +"" + +"" + +"" + +"" + +"" +"
DOF Value: $"+setNullValue(localeNumber.format(featureAttributes.fmv), "--")+"
Agi_Pgsf: $"+setNullValue(localeNumber.format(featureAttributes.Agi_Pgsf), "--")+"
Exp_Pgsf: $"+setNullValue(localeNumber.format(featureAttributes.Exp_Pgsf), "--")+"
Noi_Pgsf: $"+setNullValue(localeNumber.format(featureAttributes.Noi_Pgsf), "--")+"
This Parcel Neighborhood Median
DOF Value: $"+setNullValue(localeNumber.format(featureAttributes.fmv), "--")+" $"+setNullValue(localeNumber.format(featureAttributes.mid_fmv), "--")+"
DOF Value pgsf: $"+setNullValue(localeNumber.format(featureAttributes.fmv_pgsf), "--")+" $"+setNullValue(localeNumber.format(featureAttributes.mid_fmvpsf), "--")+"
Agi_Pgsf: $"+setNullValue(localeNumber.format(featureAttributes.Agi_Pgsf), "--")+" $"+setNullValue(localeNumber.format(featureAttributes.mid_agi), "--")+"
Exp_Pgsf: $"+setNullValue(localeNumber.format(featureAttributes.Exp_Pgsf), "--")+" $"+setNullValue(localeNumber.format(featureAttributes.mid_exp), "--")+"
Noi_Pgsf: $"+setNullValue(localeNumber.format(featureAttributes.Noi_Pgsf), "--")+" $"+setNullValue(localeNumber.format(featureAttributes.mid_noi), "--")+"
"); resultItems.push("

Guideline Information

"); resultItems.push("" - +"" - +"" - +"" + +"" + +"" + +"" +"" - +"" - +"" - +"" - +"" - +"" + +"" + +"" + +"" + +"" + +"" +"
Bcat:Row:1
Vacancy Rate:Row:1
Effective Tax Rate:Row:1
Building Category:"+guideline[featureAttributes.bcat][17] +"
Max Vacancy Rate:"+guideline[featureAttributes.bcat][0]+"
Effective Tax Rate:"+guideline[featureAttributes.bcat][1]+"
LowMedianHigh
IncomeRow:4 Cell:2Row:4 Cell:3Row:4 Cell:4
ExpenseRow:5 Cell:2Row:5 Cell:3Row:5 Cell:4
Expense RatioRow:6 Cell:2Row:6 Cell:3Row:6 Cell:4
Cap RateRow:7 Cell:2Row:7 Cell:3Row:7 Cell:4
Approximate Market Value RangeRow:8 Cell:2Row:8 Cell:3Row:8 Cell:4
Income"+guideline[featureAttributes.bcat][12]+""+guideline[featureAttributes.bcat][7]+""+guideline[featureAttributes.bcat][2]+"
Expense"+guideline[featureAttributes.bcat][13]+""+guideline[featureAttributes.bcat][8]+""+guideline[featureAttributes.bcat][3]+"
Expense Ratio"+guideline[featureAttributes.bcat][14]+""+guideline[featureAttributes.bcat][9]+""+guideline[featureAttributes.bcat][4]+"
Cap Rate"+guideline[featureAttributes.bcat][15]+""+guideline[featureAttributes.bcat][10]+""+guideline[featureAttributes.bcat][5]+"
Approximate Market Value Range"+guideline[featureAttributes.bcat][16]+""+guideline[featureAttributes.bcat][11]+""+guideline[featureAttributes.bcat][6]+"
"); resultItems.push("

Income= Gross Income per sq.ft.

Expense= Total Expense per sq.ft.

"); + resultItems.push("

Useful Links

"); + resultItems.push("" + +"" + +"" + +"
View Property Tax Bills
Exemptions and Abatements
Request Data Correction
Search on Google Map
"); function setNullValue(value, defaultValue){ if (value == 0 || value ==""||value == "0" ||value == "$0") { @@ -728,8 +637,10 @@ var block = bbl[1]; var lot = bbl[2]; document.getElementById("alerttext").innerHTML = ""; + document.getElementById('SearchBox').style.height = "100px"; document.getElementById("searchtext_Block").setAttribute("value", block); document.getElementById("searchtext_Lot").setAttribute("value", lot); + //add here if (curCDkey/*curLot>7500*/){ //executeunit(); //curBL = curBBL.substring(2,curBBL.length); @@ -750,29 +661,52 @@ } + var splitter = registry.byId("borderContainer").getSplitter("leading"); + var moveHandle = null; + + aspect.after(splitter, "_startDrag", function() { + moveHandle = aspect.after(splitter.domNode, "onmousemove", function() { + var coords = { + x: !splitter.horizontal ? splitter.domNode.style.left : 0, + y: splitter.horizontal ? splitter.domNode.style.top : 0 + } + //dom.byId("dndOutput").textContent = JSON.stringify(coords); + }) + }); + aspect.after(splitter, "_stopDrag", function() { + moveHandle && moveHandle.remove(); + }); + + aspect.after(registry.byId("toolsPane"), "resize", function(duno, size) { + //dom.byId("resizeOutput").textContent = JSON.stringify(size); + }); + + function resizeWindow() { + dijit.byId("borderContainer").resize(); + } }); - -
+ +
- - + +
| Tax Class 2 Property Search Map: Manhattan
| Home
| Tax Class 2 Property Search Map: Queens
| Home
-
+

This is an interactive map for Tax Class 2 Properties in New York City.

-

You are currently in the Borough Map of Manhattan.

+

You are currently in the Borough Map of Queens.

Enter a Block and Lot number in the box and click "Get Non Condo" to search for rental buildings or Coop buildings .

Or click "Get Condo Unit" to search for units in Condominium Buidlings or Development .

Then click on "Get Condo Suffix Details" for information on the Condominium Buidlings or Development.

@@ -789,6 +723,7 @@

This is an interactive map for Tax Class 2 Properties in New York City.

For Example: 1845/7501
+