Skip to content
This repository was archived by the owner on Jul 9, 2022. It is now read-only.
This repository was archived by the owner on Jul 9, 2022. It is now read-only.

undefined map #4

@sidkdbl07

Description

@sidkdbl07

I get an error stating that

TypeError: Cannot read property 'map' of undefined

var map = L.map('map').setView([51.505, -0.09], 13);

L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png').addTo(map);
L.marker([51.5, -0.09]).addTo(map)
  .bindPopup('A pretty CSS3 popup.<br> Easily customizable.')
  .openPopup();

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