Closed duccio closed 10 years ago
Since arc
is a plugin, I've been trying to move all plugin options to the actual plugin call itself. So you would do this:
map.arc([{
origin: { latitude: 10, longitude: 20 },
destination: { latitude: 50, longitude: 90 },
}], {
strokeColor: '#000000',
strokeWidth: 10
});
Hi Mark, thanks for you reply. Yes, I can move this 2 options to "datum", how about animationSpeed and arcSharpness? My above was only an example, I'm interested in animationSpeed :-)
UPDATE: Sorry, you says to move the plugin options to plugin, not datum. It works, thanks.
Arcs are not black and 10px width!