{"id":18256943,"url":"https://github.com/mediacomem/smapshot-widget","last_synced_at":"2026-02-27T13:42:40.269Z","repository":{"id":46149131,"uuid":"364228060","full_name":"MediaComem/smapshot-widget","owner":"MediaComem","description":"3D Widget to display georeferenced image","archived":false,"fork":false,"pushed_at":"2025-02-27T09:26:10.000Z","size":1917,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-02-27T12:17:58.082Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MediaComem.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":"2021-05-04T11:07:25.000Z","updated_at":"2025-02-27T09:26:15.000Z","dependencies_parsed_at":"2025-02-14T17:49:38.183Z","dependency_job_id":null,"html_url":"https://github.com/MediaComem/smapshot-widget","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/MediaComem%2Fsmapshot-widget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MediaComem%2Fsmapshot-widget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MediaComem%2Fsmapshot-widget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MediaComem%2Fsmapshot-widget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MediaComem","download_url":"https://codeload.github.com/MediaComem/smapshot-widget/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247938644,"owners_count":21021565,"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":[],"created_at":"2024-11-05T10:24:15.047Z","updated_at":"2026-02-27T13:42:35.240Z","avatar_url":"https://github.com/MediaComem.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Smapshot Front-end – Embed 3D\n\nThis repository contain the code to run an 3d embed with an image of Smapshot and with the owner's id of the image.\n\n## Usage\n\nReplace the two variable in uppercase `OWNER_ID_OR_SLUG` and `ORIGINAL_IMAGE_ID`in the following template URL `http://localhost:8080/embed/owner/OWNER_ID_OR_SLUG/original_image/ORIGINAL_IMAGE_ID` to get an URL ready for iframe.\n\n```html\n  \u003ciframe title=\"Smapshot georef\" width=\"700\" height=\"400\" src=\"https://smapshot-beta.heig-vd.ch/embed/owner/imaginerio/original_image/014AM005013\"\u003e\u003c/iframe\u003e\n```\n\nIf image isn't geolocalised yet, the URL will display a localized message. The language used is automatically read from the browser and fallback to english. To ensure a specific language, you can add an url parameter at the end of the URL. e.g. `?lang=fr` (supported languages: en, fr, de, it, pt)\n\n## Installation\n\n```bash\nnpm install -g @vue/cli\nnpm install\n```\n\n## Serve for development\n\nBy using the terminal\n\n```bash\nnpm run serve\n```\n\nOR\n\nBy using the GUI\n\n```bash\nvue ui\n```\n\nThen:\n\n- go to given address.\n- Import the project.\n- go to `Task` tab and launch `Serve` task\n\n## Build for development\n\n```bash\nnpm run build\n```\n\nOR\n\nBy using the GUI\n\n```bash\nvue ui\n```\n\nThen:\n\n- go to given address.\n- Import the project.\n- go to `Task` tab and launch `Build` task\n\n## Test Build with local server (w/o https)\n\n```bash\nnpm run serve_build\n```\n\n## Configuration\n\nThe following environment variables can be set at build time:\n\nVariable                                | Default value                                                         | Description\n:---                                    | :---                                                                  | :---\n`VUE_APP_SMAPSHOT_API_URL`              | `/api` (prod) or `http://localhost:1337/` (dev)                       | The base URL for all HTTP requests made to the API.\n`VUE_APP_PUBLIC_PATH`                   | `/embed` (prod) or `/` (dev)                                          | The sub path where app is deployed (ex: /embed for smapshot.heig-vd.ch/embed).\n`VUE_APP_SMAPSHOT_VT_URL`               | `/tilesets` (prod) or `http://localhost:3005/tilesets` (dev)          | The base URL for generated vector tiles points used on the 2D map.\n`VUE_APP_SMAPSHOT_PROXY_URL`            | `/proxy/` (prod) or `http://localhost:3000` (dev)                     | Proxy URL to allow usage of tiles without header `Access-Control-Allow-Origin`\n`VUE_APP_MAPTILER_CUSTOM_TOKEN`         |                                                                       | The access token used to access MapTiler custom tiles and geocoding services.\n`VUE_APP_MAPTILER_SATELLITE_TOKEN`      |                                                                       | The access token used to access MapTiler satellite tiles.\n`VUE_APP_MAPTILER_TERRAIN_TOKEN`        |                                                                       | The access token used to access MapTiler terrain tiles.\n`VUE_APP_BING_MAP_TOKEN`                |                                                                       | The access token used to access Bing Map tiles.\n`VUE_APP_VORARLBERG_TERRAIN_URL`        | `https://smapterrain.heig-vd.ch/tilesets/Austria-terrain-tiles-4326`  | The URL to access Terrain tilesets for Austria Vorarlberg.\n`VUE_APP_IMAGINERIO_PREFIX_TERRAIN_URL` | `https://smapterrain.heig-vd.ch/brazil/tilesets/`                     | The URL prefix to access Terrain tilesets for Brazil ImagineRio.\n\nProduction version on smapshot.heig-vd.ch\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmediacomem%2Fsmapshot-widget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmediacomem%2Fsmapshot-widget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmediacomem%2Fsmapshot-widget/lists"}