It would be great to have an API to draw on the map. For starters I can envision three shapes:
new Line({
points: [ [lat, lon], [lat, lon], ... ],
strokeColor: "blue",
strokeWeight: 2
});
Similar to the other Tabris.js APIs the various color paramaters could take a Color which would eliminate the need for a separate key to specify opacity
new Polygon({
points: [ [lat, lon], [lat, lon] ],
strokeColor: "blue",
strokeWeight: 2,
fillColor: rgba(50, 50, 255, 0.5)
});
new Circle({
center: [lat, lon],
strokeColor: "blue",
strokeWeight: 2,
fillColor: rgba(50, 50, 255, 0.5)
});
It would be great to have an API to draw on the map. For starters I can envision three shapes:
Similar to the other Tabris.js APIs the various color paramaters could take a
Colorwhich would eliminate the need for a separate key to specify opacity