Skip to content

Commit

Permalink
feat: Map component will not set font to simplify for now. Will inher…
Browse files Browse the repository at this point in the history
…it from parent. (#46)
  • Loading branch information
purplebugs authored Oct 31, 2024
1 parent 4cca402 commit 1a01370
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 56 deletions.
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.

0 comments on commit 1a01370

Please sign in to comment.