Created
May 19, 2018 16:19
-
-
Save janisdonis/7d67ccb9dd9dced9a1f0095cc0506a85 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var j = storeData.length; | |
for (var i=0; i<j; i++) { | |
console.log(storeData[i].title); | |
} | |
var markers = [ | |
{ | |
coords:{lat: 56.9715833, lng: 23.9890814}, | |
iconImage:'assets/img/map-marker.png', | |
content:'<div class="marker-pop-object">'+ | |
'<div class="thumb">'+ | |
'<img src="assets/img/marker-pop-thumb.png">'+ | |
'<div class="bottom-info">'+ | |
'<div class="price d-flex align-items-center justify-content-between">'+ | |
'<ul>'+ | |
'<li class="total">256 381 EUR'+ | |
'</li>'+ | |
'<li class="meter">5 207 EUR / m²'+ | |
'</li>'+ | |
'</ul>'+ | |
'</div>'+ | |
'</div>'+ | |
'</div>'+ | |
'<h4 class="object-location">Elizabetes iela <span>Klusais centrs</span></h4>'+ | |
'<ul class="details d-flex justify-content-center flex-wrap">'+ | |
'<li>Istabu skaits: <strong>3</strong></li>'+ | |
'<li>Stāvs: <strong>7 / 8</strong></li>'+ | |
'<li>Platība: <strong>74 m<sup>2</sup></strong></li>'+ | |
'</ul>'+ | |
'</div>' | |
}, | |
{ | |
coords:{lat:56.9600128, lng:24.0403903}, | |
iconImage:'assets/img/map-marker.png', | |
content:'<div class="marker-pop-object">'+ | |
'<div class="thumb">'+ | |
'<img src="assets/img/marker-pop-thumb.png">'+ | |
'<div class="bottom-info">'+ | |
'<div class="price d-flex align-items-center justify-content-between">'+ | |
'<ul>'+ | |
'<li class="total">256 381 EUR'+ | |
'</li>'+ | |
'<li class="meter">5 207 EUR / m²'+ | |
'</li>'+ | |
'</ul>'+ | |
'</div>'+ | |
'</div>'+ | |
'</div>'+ | |
'<h4 class="object-location">Elizabetes iela <span>Klusais centrs</span></h4>'+ | |
'<ul class="details d-flex justify-content-center flex-wrap">'+ | |
'<li>Istabu skaits: <strong>3</strong></li>'+ | |
'<li>Stāvs: <strong>7 / 8</strong></li>'+ | |
'<li>Platība: <strong>74 m<sup>2</sup></strong></li>'+ | |
'</ul>'+ | |
'</div>' | |
}, | |
{ | |
coords:{lat:56.9572007, lng:24.1064851}, | |
iconImage:'assets/img/map-marker.png', | |
content:'<div class="marker-pop-object">'+ | |
'<div class="thumb">'+ | |
'<img src="assets/img/marker-pop-thumb.png">'+ | |
'<div class="bottom-info">'+ | |
'<div class="price d-flex align-items-center justify-content-between">'+ | |
'<ul>'+ | |
'<li class="total">256 381 EUR'+ | |
'</li>'+ | |
'<li class="meter">5 207 EUR / m²'+ | |
'</li>'+ | |
'</ul>'+ | |
'</div>'+ | |
'</div>'+ | |
'</div>'+ | |
'<h4 class="object-location">Elizabetes iela <span>Klusais centrs</span></h4>'+ | |
'<ul class="details d-flex justify-content-center flex-wrap">'+ | |
'<li>Istabu skaits: <strong>3</strong></li>'+ | |
'<li>Stāvs: <strong>7 / 8</strong></li>'+ | |
'<li>Platība: <strong>74 m<sup>2</sup></strong></li>'+ | |
'</ul>'+ | |
'</div>' | |
}, | |
{ | |
coords:{lat:56.8934427, lng:24.1238537}, | |
iconImage:'assets/img/map-marker.png', | |
content:'<div class="marker-pop-object">'+ | |
'<div class="thumb">'+ | |
'<img src="assets/img/marker-pop-thumb.png">'+ | |
'<div class="bottom-info">'+ | |
'<div class="price d-flex align-items-center justify-content-between">'+ | |
'<ul>'+ | |
'<li class="total">256 381 EUR'+ | |
'</li>'+ | |
'<li class="meter">5 207 EUR / m²'+ | |
'</li>'+ | |
'</ul>'+ | |
'</div>'+ | |
'</div>'+ | |
'</div>'+ | |
'<h4 class="object-location">Elizabetes iela <span>Klusais centrs</span></h4>'+ | |
'<ul class="details d-flex justify-content-center flex-wrap">'+ | |
'<li>Istabu skaits: <strong>3</strong></li>'+ | |
'<li>Stāvs: <strong>7 / 8</strong></li>'+ | |
'<li>Platība: <strong>74 m<sup>2</sup></strong></li>'+ | |
'</ul>'+ | |
'</div>' | |
}, | |
{ | |
coords:{lat:56.9313837, lng:24.1232994}, | |
iconImage:'assets/img/map-marker.png', | |
content:'<div class="marker-pop-object">'+ | |
'<div class="thumb">'+ | |
'<img src="assets/img/marker-pop-thumb.png">'+ | |
'<div class="bottom-info">'+ | |
'<div class="price d-flex align-items-center justify-content-between">'+ | |
'<ul>'+ | |
'<li class="total">256 381 EUR'+ | |
'</li>'+ | |
'<li class="meter">5 207 EUR / m²'+ | |
'</li>'+ | |
'</ul>'+ | |
'</div>'+ | |
'</div>'+ | |
'</div>'+ | |
'<h4 class="object-location">Elizabetes iela <span>Klusais centrs</span></h4>'+ | |
'<ul class="details d-flex justify-content-center flex-wrap">'+ | |
'<li>Istabu skaits: <strong>3</strong></li>'+ | |
'<li>Stāvs: <strong>7 / 8</strong></li>'+ | |
'<li>Platība: <strong>74 m<sup>2</sup></strong></li>'+ | |
'</ul>'+ | |
'</div>' | |
} | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment