I've built a UI for adding map lines by clicking on the map. I've got it set up so when the user clicks, it updates the appropriate model which in turn renders the data on the map. It works if I render individual map points. However, trying to use the same point data as indices for map lines doesn't seem to work. Take the following template:
however, the map doesn't show any line data, even though there should clearly be a 5 vertex line. Any idea what I'm doing wrong here? Am I missing something obvious?
I've built a UI for adding map lines by clicking on the map. I've got it set up so when the user clicks, it updates the appropriate model which in turn renders the data on the map. It works if I render individual map points. However, trying to use the same point data as indices for map lines doesn't seem to work. Take the following template:
Which gives a component with this data:
however, the map doesn't show any line data, even though there should clearly be a 5 vertex line. Any idea what I'm doing wrong here? Am I missing something obvious?