Files
nairobi/app/assets/javascripts
rgarcia 994e15666e Skip invalid map markers
Why:
Sometimes the latitude or longitude it passed to the map as *********
instead of the actual latitude or longitud. The asterisks are not a
string, breaking the whole array
https://github.com/consul/consul/issues/2380

What:
This commits skips invalid markers and displays the rest

How:
- Substituting the mysterious asterisks for null
(cleanInvestmentCoordinates)

- Validating the coordinates are numbers before trying to pain
them(validCoordinates)

- Adding a numeric function to validate the latitude and longitude
(isNumeric)
https://stackoverflow.com/questions/9716468/is-there-any-function-like-i
snumeric-in-javascript-to-validate-numbers#answer-9716488
2018-05-28 11:44:53 -04:00
..
2015-07-30 12:55:45 +02:00
2018-05-09 16:05:44 +02:00
2017-09-06 14:12:32 +02:00
2017-09-01 13:56:04 +02:00
2018-03-07 17:17:04 +01:00
2018-05-28 11:44:53 -04:00
2015-09-09 20:32:38 +02:00
2015-09-09 20:32:38 +02:00
2015-08-17 19:15:17 +02:00