Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting blank page maps not rendered #540

Open
Maps2022 opened this issue Jul 23, 2022 · 0 comments
Open

getting blank page maps not rendered #540

Maps2022 opened this issue Jul 23, 2022 · 0 comments

Comments

@Maps2022
Copy link

Maps2022 commented Jul 23, 2022

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, New York, NY 10075

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

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



);
}

When I type npm start i get the blank page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant