Skip to content

Error when displaying map #1

@Gregoriotecnico

Description

@Gregoriotecnico

I log into my invoxia from localhost and when I click "Show on map" I get this error:

C:\Users\Goyo\Desktop\Prueba invoxia\InvoxiaWebClient\views\map.pug:26 24| for position in positions 25| script. > 26| if("#{position['datetime'].split('.')[0]}"+"Z"=="#{device['tracker_status']['last_location']}"){ 27| 28| var greenIcon = new L.Icon({ 29| iconUrl: 'https://raw.githubusercontent.com/pointhi/leaflet-color-markers/master/img/marker-icon-2x-green.png', Cannot read properties of undefined (reading 'split')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions