Changes between Initial Version and Version 1 of Ticket #2083, comment 4


Ignore:
Timestamp:
Jan 19, 2018, 4:52:55 PM (6 years ago)
Author:
jive

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2083, comment 4

    initial v1  
    1919problem. There is a lab without a location:
    2020
    21 labTitle: "Comunidad gvSIG Uruguay"
    22 locationTitle: "Montevideo"
    23 pageUrl: "https://www.osgeo.org/geo-for-all-labs/comunidad-gvsig-uruguay/"
     21
     22{{{
     23            labTitle: "Comunidad gvSIG Uruguay"
     24            locationTitle: "Montevideo"
     25            pageUrl: "https://www.osgeo.org/geo-for-all-labs/comunidad-gvsig-uruguay/"
     26
     27}}}
    2428
    2529lat and lng are null, but any item added to the map as feature
     
    2933The problem is in the updateMarkers function. It should start with
    3034
     35
     36{{{
    3137            var markers = [];
    3238
     
    3945                        var lng = parseFloat(currentItem.locations[j].lng);
    4046                        if (isNaN(lat) || isNaN(lng) { continue }
     47}}}
     48
    4149
    4250The last line is the one that needs to be added.
    4351
    4452
    45