Changes between Initial Version and Version 1 of Ticket #2083, comment 4
- Timestamp:
- Jan 19, 2018, 4:52:55 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2083, comment 4
initial v1 19 19 problem. There is a lab without a location: 20 20 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 }}} 24 28 25 29 lat and lng are null, but any item added to the map as feature … … 29 33 The problem is in the updateMarkers function. It should start with 30 34 35 36 {{{ 31 37 var markers = []; 32 38 … … 39 45 var lng = parseFloat(currentItem.locations[j].lng); 40 46 if (isNaN(lat) || isNaN(lng) { continue } 47 }}} 48 41 49 42 50 The last line is the one that needs to be added. 43 51 44 52 45