File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -389,7 +389,7 @@ function hexToABGR($hex) {
389389 if ($ _GET ['height_radio_1 ' ] == 'dob ' ) {
390390 $ dob_get = file_get_contents ('https://data.cityofnewyork.us/resource/5zhs-2jue.json?bin= ' . $ bin_1 );
391391 print_r ($ dob_get );
392- $ meters_1 = json_decode ($ dob_get , true )['0 ' ]['heightroof ' ] * 0.3048 ;
392+ $ meters_1 = json_decode ($ dob_get , true )['0 ' ]['height_roof ' ] * 0.3048 ;
393393 $ alt_mode_1 = "relativeToGround " ;
394394 }
395395 // Get height using cell in db
@@ -430,7 +430,7 @@ function hexToABGR($hex) {
430430 if ($ _GET ['height_radio_2 ' ] == 'dob ' ) {
431431 $ dob_get = file_get_contents ('https://data.cityofnewyork.us/resource/5zhs-2jue.json?bin= ' . $ bin_2 );
432432 print_r ($ dob_get );
433- $ meters_2 = json_decode ($ dob_get , true )['0 ' ]['heightroof ' ] * 0.3048 ;
433+ $ meters_2 = json_decode ($ dob_get , true )['0 ' ]['height_roof ' ] * 0.3048 ;
434434 $ alt_mode_2 = "relativeToGround " ;
435435 }
436436 // Get height using cell in db
You can’t perform that action at this time.
0 commit comments