Geographic Information Systems Asked by R15 on July 2, 2021
I have amcharts
map which shows circle on it. I have few records(nearly 200) which do not have locations. These records(circle) I am showing in the map in Sea so that those records clearly will be visible.
I have tried, but circles I need to have little space between circles and those need little right side
This is my code
result.forEach(element => {
if(element.loc=='NULL')
{
var r = 1000590/111300, // = 100000 meters
y0 = 27.990741,
x0 = 153.556045,
u = Math.random(),
v = Math.random(),
w = r * Math.sqrt(u),
t = 2.3 * Math.PI * v,
x = w * Math.cos(t),
y1 = w * Math.sin(t),
x1 = x / Math.cos(y0),
newY = y0 + y1,
newX = x0 + x1
element.lat=newY
element.long=newX
}
});
This is my output
Something like this I need but little right side
How can I fix this ?
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP