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

feat: Map component will not set font, will inherit from parent website. To simplify for now. #46

Merged
merged 1 commit into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Web component created using [lit](https://lit.dev/)

```
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link href="/assets/fonts_google/poppins/fonts.css" rel="stylesheet" />
```

1. Generate a [google maps API key](https://developers.google.com/maps/documentation/javascript/get-api-key)
Expand Down
37 changes: 0 additions & 37 deletions public/assets/fonts_google/poppins/fonts.css

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 0 additions & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
// Copy / paste the lines below directly inside the <head></head> tag of front page of app
-->
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link href="/assets/fonts_google/poppins/fonts.css" rel="stylesheet" />
<!--
// USAGE Step 1 - END
-->
Expand Down
5 changes: 0 additions & 5 deletions src/alpaca-map-marker.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ export default class AlpacaMapMarker extends LitElement {
box-shadow: 10px 10px 5px #0003;
color: var(--almost-black);

/* Override google map font to avoid flicker when load */
font:
400 1.5em Poppins,
Arial,
sans-serif;
padding: 0.75rem;

width: auto;
Expand Down
2 changes: 0 additions & 2 deletions src/alpaca-map.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { MarkerClusterer } from "@googlemaps/markerclusterer";
import { Loader } from "@googlemaps/js-api-loader";

import STYLED_MAP_TYPE from "./styles-map.js";
import stylesGoogle from "./styles-google.js";
import "./alpaca-map-marker.js";
import "./alpaca-map-icon.js";

Expand All @@ -18,7 +17,6 @@ export default class AlpacaMap extends LitElement {
};

static styles = [
stylesGoogle,
css`
/********* Overall layout *********/
:host {
Expand Down
10 changes: 0 additions & 10 deletions src/styles-google.js

This file was deleted.