wip: categoryGroups -> categories

This commit is contained in:
Lachie Kermode
2018-11-30 18:46:17 +00:00
parent e9bd136082
commit 5b83a82c35
6 changed files with 33 additions and 46 deletions

View File

@@ -195,7 +195,7 @@ Stop and start the development process in terminal after you have added your tok
unmarkPoint();
app.selected.forEach(eventPoint => {
if (isNotNullNorUndefined(eventPoint) && isNotNullNorUndefined(eventPoint.location)) {
if (eventPoint.latitude && eventPoint.longitude) {
if (eventPoint.latitude && eventPoint.latitude !== "" && eventPoint.longitude && eventPoint.longitude !== "") {
const location = new L.LatLng(eventPoint.latitude, eventPoint.longitude);
eventCircleMarkers[eventPoint.id] = L.circleMarker(location, {
radius: 32,