From 650763b609e5ecf2944a908aec4da2ee0dec61dc Mon Sep 17 00:00:00 2001 From: SanjayPrabhakaran Date: Mon, 28 Oct 2024 11:50:18 +0530 Subject: [PATCH] latest --- SJPv6/www/here-maps.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/SJPv6/www/here-maps.js b/SJPv6/www/here-maps.js index a02c9a9..b72b2dc 100644 --- a/SJPv6/www/here-maps.js +++ b/SJPv6/www/here-maps.js @@ -116,11 +116,10 @@ function addLocationsToPanel(locations){ for (i = 0; i < locations.length; i += 1) { let location = locations[i]; var li = document.createElement('li'), - divLabel = document.createElement('div'), - address = location.address, - content = '' + address.label + '
'; - position = location.position; - + divLabel = document.createElement('div'), + address = location.address, + content = '' + address.label + '
'; + position = location.position; content += 'houseNumber: ' + address.houseNumber + '
'; content += 'street: ' + address.street + '
'; content += 'district: ' + address.district + '
';