{"id":18614969,"url":"https://github.com/andrewjbateman/ionic-angular-tutorial","last_synced_at":"2026-05-07T04:42:55.244Z","repository":{"id":39455245,"uuid":"198671445","full_name":"AndrewJBateman/ionic-angular-tutorial","owner":"AndrewJBateman","description":":clipboard: App to show a map view of a location using Leaflet \u0026 the Ionic framework.","archived":false,"fork":false,"pushed_at":"2023-02-03T04:56:56.000Z","size":4579,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-17T01:34:27.758Z","etag":null,"topics":["angular","angular15","html5","ionic","ionic-angular-tutorial","ionic-page","ionic6","leaflet","leaflet-markers","leafletjs","map","scss-styles","typescript4"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AndrewJBateman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-24T16:24:02.000Z","updated_at":"2023-01-06T17:47:28.000Z","dependencies_parsed_at":"2023-02-06T00:01:25.440Z","dependency_job_id":null,"html_url":"https://github.com/AndrewJBateman/ionic-angular-tutorial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AndrewJBateman/ionic-angular-tutorial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fionic-angular-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fionic-angular-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fionic-angular-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fionic-angular-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewJBateman","download_url":"https://codeload.github.com/AndrewJBateman/ionic-angular-tutorial/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fionic-angular-tutorial/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273324409,"owners_count":25085483,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","angular15","html5","ionic","ionic-angular-tutorial","ionic-page","ionic6","leaflet","leaflet-markers","leafletjs","map","scss-styles","typescript4"],"created_at":"2024-11-07T03:27:39.443Z","updated_at":"2026-05-07T04:42:55.187Z","avatar_url":"https://github.com/AndrewJBateman.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :zap: Ionic Angular Tutorial\n\n* App to show a map view of user location with an animated marker using [Leaflet](https://leafletjs.com/), [Leaflet Bouncemaker v1](https://github.com/maximeh/leaflet.bouncemarker) \u0026 the [Ionic framework](https://ionicframework.com/docs).\n* Tutorial code from [Technbuzz](https://www.youtube.com/channel/UCrG1x1CG8Jpjd2IZhrw9PsA) with modifications\n* **Note:** to open web links in a new window use: _ctrl+click on link_\n\n![GitHub repo size](https://img.shields.io/github/repo-size/AndrewJBateman/ionic-angular-tutorial?style=plastic)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/ionic-angular-tutorial?style=plastic)\n![GitHub Repo stars](https://img.shields.io/github/stars/AndrewJBateman/ionic-angular-tutorial?style=plastic)\n![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/ionic-angular-tutorial?style=plastic)\n\n## :page_facing_up: Table of contents\n\n* [:zap: Ionic Angular Tutorial](#zap-ionic-angular-tutorial)\n  * [:page_facing_up: Table of contents](#page_facing_up-table-of-contents)\n  * [:books: General info](#books-general-info)\n  * [:camera: Screenshots](#camera-screenshots)\n  * [:signal_strength: Technologies](#signal_strength-technologies)\n  * [:floppy_disk: Setup](#floppy_disk-setup)\n  * [:computer: Code Examples](#computer-code-examples)\n  * [:cool: Features](#cool-features)\n  * [:clipboard: Status \u0026 To-do list](#clipboard-status--to-do-list)\n  * [:clap: Inspiration - By Samiullah Khan @Techbuzz](#clap-inspiration---by-samiullah-khan-techbuzz)\n  * [:file_folder: License](#file_folder-license)\n  * [:envelope: Contact](#envelope-contact)\n\n## :books: General info\n\n* [Leaflet](https://leafletjs.com/) has lots of options for map control \u0026 user interaction\n* [Leaflet Marker](https://leafletjs.com/reference-1.7.1.html#marker) used to display clickable/draggable icons on the map\n* [Leaflet Bouncemaker v1](https://github.com/maximeh/leaflet.bouncemarker) used to add bounce animation to the marker\n* Angular no longer comes with linting by default so ESLint was added.\n\n## :camera: Screenshots\n\n![Ionic page](./imgs/map.png)\n![Ionic page](./imgs/marker.png)\n\n## :signal_strength: Technologies\n\n* [Ionic v6](https://ionicframework.com/)\n* [Angular v15](https://angular.io/)\n* [Ionic/angular v6](https://www.npmjs.com/package/@ionic/angular)\n* [Ionicons](https://ionic.io/ionicons)\n* [Leaflet v1](https://leafletjs.com/) free open-source JavaScript library for mobile-friendly interactive maps\n* [leaflet.bouncemarker v1](https://github.com/maximeh/leaflet.bouncemarker) to make a Marker bounce when you add it on a map\n\n## :floppy_disk: Setup\n\n* Run `npm i` to install dependencies\n* To start the server on _localhost://8100_ type: 'ionic serve'\n* `ng lint` to lint project - the Ionic boilerplate is old and newer version add `component` to tab component pages. This causes lint errors `error Component class names should end with one of these suffixes: \"Component\" (https://angular.io/styleguide#style-02-03) @angular-eslint/component-class-suffix`. This could be fixed with a lot of filename changes etc.\n\n## :computer: Code Examples\n\n* Basic setup to show Big Ben on a map\n\n```typescript\nngOnInit() {\n    this.map = L.map('map', {\n      // center on the coordinates for Big Ben\n      center: [51.50148, -0.12351],\n      zoom: 15,\n      renderer: L.canvas()\n    })\n\n    L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {\n      attribution: '\u0026copy; \u003ca href=\"http://www.openstreetmap.org/copyright\"\u003eOpenStreetMap\u003c/a\u003e'\n    }).addTo(this.map)\n\n    setTimeout(() =\u003e {\n      this.map.invalidateSize();\n    }, 0)\n\n  }\n```\n\n## :cool: Features\n\n* Leaflet map is free and does not require an API key.\n* [Leaflet Marker bounce](https://github.com/maximeh/leaflet.bouncemarker) is definitely cool\n\n## :clipboard: Status \u0026 To-do list\n\n* Status: Working\n* To-do: Nothing\n\n## :clap: Inspiration - By Samiullah Khan @Techbuzz\n\n* [Youtube: Add leaflet in Ionic Angular](https://www.youtube.com/watch?v=L-izDYEeJmA)]\n* [Youtube: Leaflet markers, Popups and Circle](https://www.youtube.com/watch?v=gBSevKwI3GQ)\n* [Article: Add leaflet to Ionic Angular [Screencast]](https://www.technbuzz.com/2020/06/07/add-leaflet-to-ionic-angular/)\n* [Article: Markers, Popups \u0026 Circle](https://www.technbuzz.com/2020/06/28/add-leaflet-markers-popup-and-circle/)\n\n## :file_folder: License\n\n* This project is licensed under the terms of the MIT license.\n\n## :envelope: Contact\n\n* Repo created by [ABateman](https://github.com/AndrewJBateman), email: gomezbateman@gmail.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fionic-angular-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewjbateman%2Fionic-angular-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fionic-angular-tutorial/lists"}