Skip to content

getting blank page maps not rendered #540

Description

@Maps2022

I am using aws Geo and the folowwing code
import Amplify from 'aws-amplify';
import awsconfig from './aws-exports';

import { createMap } from "maplibre-gl-js-amplify";
import "maplibre-gl/dist/maplibre-gl.css";
import { useEffect } from 'react';

Amplify.configure(awsconfig);

function App() {
return (


My Restaurant



  • My Restaurant - Upper East Side
    300 E 77th St, 新建 York, NY 10075

  • My Restaurant - Hell's Kitchen
    725 9th Ave, 新建 York, NY 10019

  • My Restaurant - Lower East Side
    102 Norfolk St, 新建 York, NY 10002



);
}

When I type npm start i get the blank page

Metadata

Metadata

Assignees

No one assigned

    标签

    No labels
    No labels

    Type

    No type

    项目

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions