Skip to content

The map doesn't show up #30

Description

@kyoungrok0517

I followed the guide at http://mapsense.github.io/mapsense.js/, but nothing shows up.

This is my code:

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Visualization Demo</title>
    <link rel="stylesheet" type="text/css" href="mapsense.css">
</head>

<body>
    <div id="myMap"></div>

    <!-- scripts -->
    <script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
    <script src="http://d3js.org/topojson.v1.min.js" charset="utf-8"></script>
    <script src="mapsense.js" charset="utf-8"></script>
    <script>
        var map = mapsense.map("#myMap")
            .center({lon: -122.410886, lat: 37.787041})
            .zoom(14);

    </script>
</body>

</html>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions