@autobusal/map 1.0.2 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,30 @@
1
+ # Changelog
2
+
3
+ ## 1.1.1
4
+
5
+ ### Changed
6
+
7
+ - `Display.tsx` renders `@autobusal/common`'s new `<Tiles />` instead of its own hardcoded `TileLayer`, so the basemap follows the server-configured `map.tile_url` with every other map on the platform. No visible change until a tile provider is configured.
8
+
9
+ All notable changes to `@autobusal/map` are documented here. This
10
+ project adheres to [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and
11
+ [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
12
+
13
+ ## [1.1.0] - 2026-07-25
14
+
15
+ ### Fixed
16
+
17
+ - **Recovered as canonical source.** This package was published to npm and
18
+ is in active use by alvavel (magus has its own local replacement and
19
+ doesn't consume it - that's why it was initially missed while auditing
20
+ magus's dependencies alone), but had no source anywhere in this
21
+ monorepo (no `packages/map` directory, no git history) - the only
22
+ copy of its code existed as the published npm artifact. Recreated
23
+ here, byte-for-byte identical to the published 1.1.0 tarball (verified
24
+ via `diff` against the installed `node_modules/@autobusal/map` in
25
+ alvavel), so it can be edited and republished like every other package
26
+ instead of requiring reverse-engineering from `node_modules` or the
27
+ npm tarball. History prior to this point is not recoverable - no git
28
+ log, changelog, or other record of it exists.
29
+
30
+ Authored by Ferjolt Ozuni.
@@ -1,5 +1,6 @@
1
- import { MapContainer, TileLayer, Marker, Popup, Polyline } from 'react-leaflet';
2
- import { getPosition, autobusMarker } from '@autobusal/utilities';
1
+ import { MapContainer, Marker, Popup, Polyline } from 'react-leaflet';
2
+ import { getPosition, autobusMarker } from '@autobusal/common/Drive/utilities';
3
+ import Tiles from '@autobusal/common/Map/Tiles';
3
4
  import { Container } from './styles';
4
5
  import { CityData } from '@autobusal/providers/types/locations';
5
6
 
@@ -27,7 +28,7 @@ const Display = ({ cities, from, to, onClick }: Props): JSX.Element => {
27
28
  return (
28
29
  <Container>
29
30
  <MapContainer center={[ 41.32, 19.81 ]} minZoom={ 6 } maxZoom={ 13 } zoom={ 6 } scrollWheelZoom={ true }>
30
- <TileLayer attribution="&copy; <a href='http://osm.org/copyright'>OpenStreetMap</a> contributors" url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" />
31
+ <Tiles />
31
32
 
32
33
  { markers }
33
34
 
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@autobusal/map",
3
- "version": "1.0.2",
3
+ "version": "1.1.1",
4
+ "author": "Ferjolt Ozuni",
4
5
  "type": "module",
5
6
  "main": "index.ts"
6
7
  }