javascript - Cant access member of object -
i have issue access member in object dom, because object name number!
i working leaflet.js
, created layer path. want access polylines latlngs. in case wanna access layer "100". variables configurable , writable. idea how access ?
i tried no success:
routinglayer._layers[100]._latlng
error:
routinglayer._layers[100] undefined
here screenshot:
try this:
routinglayer._layers["100"]._latlng
Comments
Post a Comment