Skip to content

Instantly share code, notes, and snippets.

@sadewole
Created July 6, 2021 11:18
Show Gist options
  • Save sadewole/a1b70ebb5388d8698e5f85e8022f273b to your computer and use it in GitHub Desktop.
Save sadewole/a1b70ebb5388d8698e5f85e8022f273b to your computer and use it in GitHub Desktop.
HTML page
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Create a React app that uses Mapbox GL JS and Mapbox forward geocoding."
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link href='https://api.mapbox.com/mapbox-gl-js/v2.1.1/mapbox-gl.css' rel='stylesheet' />
<title>Using Mapbox GL JS, Mapbox forward geocoding with Reactjs.</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment