Commit c1e54252 by 孙香冬

no message

parent 2c2507f9
...@@ -35,6 +35,8 @@ export async function getData(req, res) { ...@@ -35,6 +35,8 @@ export async function getData(req, res) {
elevation = Math.ceil(elevation * 100) / 100; elevation = Math.ceil(elevation * 100) / 100;
latitudeAndLongitudeList.push({latitude, longitude, elevation:elevation}); latitudeAndLongitudeList.push({latitude, longitude, elevation:elevation});
}) })
let detailsnum = details.match(/\d+(\.\d+)?/g);
let detailsstring = details.match(/[\u4e00-\u9fa5]/g);
pollutingCompaniesScatter.push({townName, latitudeAndLongitude:latitudeAndLongitudeList, details}); pollutingCompaniesScatter.push({townName, latitudeAndLongitude:latitudeAndLongitudeList, details});
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment