{"id":18614806,"url":"https://github.com/andrewjbateman/angular-tomtom-api","last_synced_at":"2026-05-09T09:36:25.493Z","repository":{"id":46103419,"uuid":"309173186","full_name":"AndrewJBateman/angular-tomtom-api","owner":"AndrewJBateman","description":":clipboard: Angular app to display map data from the Tomtom API","archived":false,"fork":false,"pushed_at":"2023-06-06T17:45:29.000Z","size":3055,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-27T02:44:42.203Z","etag":null,"topics":["angular","angular16","html5","linter","maps","scss","tomtom-api","tomtom-map"],"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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-01T19:37:04.000Z","updated_at":"2023-06-07T07:28:46.000Z","dependencies_parsed_at":"2024-11-07T03:40:57.323Z","dependency_job_id":null,"html_url":"https://github.com/AndrewJBateman/angular-tomtom-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-tomtom-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-tomtom-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-tomtom-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-tomtom-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewJBateman","download_url":"https://codeload.github.com/AndrewJBateman/angular-tomtom-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239406449,"owners_count":19633024,"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","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","angular16","html5","linter","maps","scss","tomtom-api","tomtom-map"],"created_at":"2024-11-07T03:27:04.451Z","updated_at":"2025-11-03T03:30:29.101Z","avatar_url":"https://github.com/AndrewJBateman.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :zap: Angular Tomtom API\n\n* Angular app to display map data from the [Tomtom API](https://developer.tomtom.com/)\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/angular-tomtom-api?style=plastic)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/angular-tomtom-api?style=plastic)\n![GitHub Repo stars](https://img.shields.io/github/stars/AndrewJBateman/angular-tomtom-api?style=plastic)\n![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/angular-tomtom-api?style=plastic)\n\n*** Note: to open web links in a new window use: _ctrl+click on link_**\n\n## :page_facing_up: Table of contents\n\n* [:zap: Angular Tomtom API](#zap-angular-tomtom-api)\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](#clap-inspiration)\n  * [:file\\_folder: License](#file_folder-license)\n  * [:envelope: Contact](#envelope-contact)\n\n## :books: General info\n\n* Displays a [Tomtom](https://developer.tomtom.com/maps-api/maps-api-documentation) zoomable map that shows user position with full-screen and zoom options\n\n## :camera: Screenshots\n\n![Example screenshot](./img/map.png)\n\n## :signal_strength: Technologies\n\n* [Angular v16](https://angular.io/)\n* [Node module: @tomtom-international/web-sdk-maps v6](https://www.npmjs.com/package/@tomtom-international/web-sdk-maps)\n* [Tomtom developer API](https://developer.tomtom.com/)\n\n## :floppy_disk: Setup\n\n* Install dependencies by running `npm i`\n* See [Tomtom: Angular Map Display API integration tutorial](https://developer.tomtom.com/maps-sdk-web-js-public-preview/tutorials-basic/angular-map-display-api-integration-tutorial) and add code as shown\n* Get yourself an [API key from Tomtom](https://developer.tomtom.com/how-to-get-tomtom-api-key) - it's free :-) and add it to `environment.ts`\n* Run `ng serve` to start a server on port 4200\n* Run `npm run build` to create build file in `dist/angular-tomtom-api` directory.\n\n## :computer: Code Examples\n\n* extract from `app.component.ts`: function to get user position\n\n```typescript\nprivate getUserPosition = (): Observable\u003cPosition\u003e =\u003e {\n    const userPosition = new Observable((observer: Subscriber\u003cany\u003e) =\u003e {\n      navigator.geolocation\n        ? navigator.geolocation.getCurrentPosition((pos: any) =\u003e {\n            observer.next({\n              latitude: pos.coords.latitude,\n              longitude: pos.coords.longitude,\n            });\n            observer.complete();\n          })\n        : observer.error();\n    });\n    return userPosition;\n  };\n```\n\n## :cool: Features\n\n* Not much code required to get a zoomable world map\n\n## :clipboard: Status \u0026 To-Do List\n\n* Status: Working. Size of build file: 9.46MB - nearly all Vendor files\n* To-Do: Nothing\n\n## :clap: Inspiration\n\n* [Tomtom: Angular Map Display API integration tutorial](https://developer.tomtom.com/maps-sdk-web-js-public-preview/tutorials-basic/angular-map-display-api-integration-tutorial)\n* [Tomtom documentation](https://developer.tomtom.com/maps-sdk-web-js/tutorials/use-cases/how-add-and-customize-location-marker)\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@yahoo.com`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fangular-tomtom-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewjbateman%2Fangular-tomtom-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fangular-tomtom-api/lists"}