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:

enter image description here

try this:

routinglayer._layers["100"]._latlng 

Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -