lpdumas / gw2cbackend

Backend for gw2cartographers.com
2 stars 2 forks source link

areas summary markers infos problem #12

Closed lpdumas closed 12 years ago

lpdumas commented 12 years ago

markers summary are all set to 0

Areas = [
    { id : 1, data_translation : { en : { name : "Divinity's Reach" }, fr : { name : "Divinity's Reach" } }, rangeLvl : "",
        summary : {
            "hearts" : 0,
            "poi" : 0,
            "scouts" : 0,
            "skillpoints" : 0,
            "waypoints" : 0
        },
        neLat : 43.1959, neLng : -31.5198, swLat : 33.4498, swLng : -45.9558
    },
    { id : 2, data_translation : { en : { name : "Queensdale" }, fr : { name : "Queensdale" } }, rangeLvl : "1-17",
        summary : {
            "hearts" : 0,
            "poi" : 0,
            "scouts" : 0,
            "skillpoints" : 0,
            "waypoints" : 0
        },
        neLat : 33.3856, neLng : -23.8623, swLat : 18.4067, swLng : -48.2739
    },
    { id : 3, data_translation : { en : { name : "Kessex Hills" }, fr : { name : "Kessex Hills" } }, rangeLvl : "15-25",
        summary : {
            "hearts" : 0,
            "poi" : 0,
            "scouts" : 0,
            "skillpoints" : 0,
            "waypoints" : 0
        },
        neLat : 8.36495, neLng : -23.5547, swLat : 4.59833, swLng : -51.1743
    },
    { id : 4, data_translation : { en : { name : "Gendarran Fields" }, fr : { name : "Gendarran Fields" } }, rangeLvl : "25-35",
        summary : {
            "hearts" : 0,
            "poi" : 0,
            "scouts" : 0,
            "skillpoints" : 0,
            "waypoints" : 0
        },
        neLat : 29.7658, neLng : 5.68555, swLat : 17.5766, swLng : -22.8843
    },
    { id : 5, data_translation : { en : { name : "Black Citadel" }, fr : { name : "Black Citadel" } }, rangeLvl : "",
        summary : {
            "hearts" : 0,
            "poi" : 0,
            "scouts" : 0,
            "skillpoints" : 0,
            "waypoints" : 0
        },
        neLat : 20.7869, neLng : 57.9419, swLat : 11.0814, swLng : 47.9004
    },
    { id : 6, data_translation : { en : { name : "Plains of Ashford" }, fr : { name : "Plains of Ashford" } }, rangeLvl : "1-15",
        summary : {
            "hearts" : 0,
            "poi" : 0,
            "scouts" : 0,
            "skillpoints" : 0,
            "waypoints" : 0
        },
        neLat : 21.7646, neLng : 85.6824, swLat : 7.98308, swLng : 58.7329
    },
    { id : 7, data_translation : { en : { name : "Diessa Plateau" }, fr : { name : "Diessa Plateau" } }, rangeLvl : "15-25",
        summary : {
            "hearts" : 0,
            "poi" : 0,
            "scouts" : 0,
            "skillpoints" : 0,
            "waypoints" : 0
        },
        neLat : 35.5412, neLng : 71.4771, swLat : 21.4633, swLng : 47.373
    },
    { id : 8, data_translation : { en : { name : "Hoelbrak" }, fr : { name : "Hoelbrak" } }, rangeLvl : "",
        summary : {
            "hearts" : 0,
            "poi" : 0,
            "scouts" : 0,
            "skillpoints" : 0,
            "waypoints" : 0
        },
        neLat : 22.9078, neLng : 34.4971, swLat : 12.7475, swLng : 21.2805
    },
    { id : 9, data_translation : { en : { name : "Wayfarer Foothills" }, fr : { name : "Wayfarer Foothills" } }, rangeLvl : "",
        summary : {
            "hearts" : 0,
            "poi" : 0,
            "scouts" : 0,
            "skillpoints" : 0,
            "waypoints" : 0
        },
        neLat : 34.7687, neLng : 46.5381, swLat : 8.26585, swLng : 35.7495
    },
    { id : 10, data_translation : { en : { name : "Snowden Drifts" }, fr : { name : "Snowden Drifts" } }, rangeLvl : "15-25",
        summary : {
            "hearts" : 0,
            "poi" : 0,
            "scouts" : 0,
            "skillpoints" : 0,
            "waypoints" : 0
        },
        neLat : 35.8979, neLng : 34.4971, swLat : 23.9561, swLng : 6.61377
    },
    { id : 11, data_translation : { en : { name : "Lion's Arch" }, fr : { name : "Lion's Arch" } }, rangeLvl : "",
        summary : {
            "hearts" : 0,
            "poi" : 0,
            "scouts" : 0,
            "skillpoints" : 0,
            "waypoints" : 0
        },
        neLat : 17.0253, neLng : 5.52612, swLat : 6.2638, swLng : -10.099
    }
];
lpdumas commented 12 years ago

Also, is there a way to add / update a area?

jsilvestre commented 12 years ago

Fixed !

Not currently, I am opening a new issue for that.