Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
96dc6bde42
commit
ebafb1fa5a
4 changed files with 7 additions and 7 deletions
|
@ -22,13 +22,13 @@
|
||||||
"postinstall": "npm run build-css"
|
"postinstall": "npm run build-css"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"canvas": "^3.1.2",
|
|
||||||
"cors": "^2.8.5",
|
"cors": "^2.8.5",
|
||||||
"dotenv": "^17.0.1",
|
"dotenv": "^17.0.1",
|
||||||
"express": "^4.18.2",
|
"express": "^4.18.2",
|
||||||
"express-rate-limit": "^7.5.1",
|
"express-rate-limit": "^7.5.1",
|
||||||
"node-cron": "^3.0.3",
|
"node-cron": "^3.0.3",
|
||||||
"sharp": "^0.34.2",
|
|
||||||
"sqlite3": "^5.1.6",
|
"sqlite3": "^5.1.6",
|
||||||
"swagger-jsdoc": "^6.2.8",
|
"swagger-jsdoc": "^6.2.8",
|
||||||
"swagger-ui-express": "^5.0.1"
|
"swagger-ui-express": "^5.0.1"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
document.addEventListener('DOMContentLoaded', () => {
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
const map = L.map('map').setView([42.960081464833195, -85.67402711517647], 10);
|
const map = L.map('map').setView([42.96008, -85.67403], 10);
|
||||||
|
|
||||||
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
||||||
maxZoom: 18,
|
maxZoom: 18,
|
||||||
|
|
|
@ -132,9 +132,9 @@
|
||||||
@include flex-center;
|
@include flex-center;
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
box-shadow: 0 2px 4px var(--shadow);
|
box-shadow: 0 2px 4px var(--shadow);
|
||||||
background-color: var(--card-bg) !important;
|
background-color: var(--card-bg);
|
||||||
color: var(--text-color) !important;
|
color: var(--text-color);
|
||||||
padding: 0 !important; // Remove padding to ensure centering
|
padding: 0; // Remove padding to ensure centering
|
||||||
|
|
||||||
// Ensure the icon is centered
|
// Ensure the icon is centered
|
||||||
.theme-icon {
|
.theme-icon {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { Location } from '../types';
|
||||||
interface MapOptions {
|
interface MapOptions {
|
||||||
width: number;
|
width: number;
|
||||||
height: number;
|
height: number;
|
||||||
padding?: number;
|
// Removed unused padding property
|
||||||
}
|
}
|
||||||
|
|
||||||
export class MapImageService {
|
export class MapImageService {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue