Skip to content

Commit

Permalink
Imported AdvancedMarkerElement
Browse files Browse the repository at this point in the history
  • Loading branch information
innovator-dev committed Mar 13, 2024
1 parent c3c5a71 commit 918a0e7
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 4 deletions.
3 changes: 3 additions & 0 deletions assets/js/publicParking/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ const publicParking = (() => {
*/
function init() {

// Marker deprecated on February 2024
const {AdvancedMarkerElement} = google.maps.importLibrary("marker");

// Refresh data every 3 minutes
setWatcher(180000, () => {
getData();
Expand Down
2 changes: 1 addition & 1 deletion assets/js/publicParking/app.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions assets/js/publicTransportation/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ const publicTransportation = (() => {
*/
function init() {

// Marker deprecated on February 2024
const {AdvancedMarkerElement} = google.maps.importLibrary("marker");

// Fetch trips
populateTrips();

Expand Down
2 changes: 1 addition & 1 deletion assets/js/publicTransportation/app.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions assets/js/wasteCollection/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ const wasteCollection = (() => {
*/
function init() {

// Marker deprecated on February 2024
const {AdvancedMarkerElement} = google.maps.importLibrary("marker");

// Refresh data every 2 minutes
setWatcher(120000, () => {
getData();
Expand Down
4 changes: 2 additions & 2 deletions assets/js/wasteCollection/app.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 918a0e7

Please sign in to comment.