Writing Array to external file when new marker is created

조회수 12회
읽지 않은 첫 메시지로 건너뛰기

BrienB

읽지 않음,
2017. 12. 5. 오후 5:23:1517. 12. 5.
받는사람 Leaflet
I am developing a Leaflet map that will be running offline on a device using chromium (a BrightSign).  I am currently using an external javascript file to store my marker data (that I manually entered), which is used to create and show my markers on the map when the page is loaded.  Now, I need to find a way to store marker data to the same external file when I create a new marker.  I am able to append the existing array by pushing the new marker data to the array and view the appended array in the console log.  Now, I just need to store the data.  The external file doesn't necessarily have to be a javascript file.  Any ideas are greatly appreciated.
전체답장
작성자에게 답글
전달
새 메시지 0개