{"id":19671867,"url":"https://github.com/3dtech/3dwayfinderangular","last_synced_at":"2025-02-27T05:14:27.256Z","repository":{"id":57093082,"uuid":"41354206","full_name":"3dtech/3DWayfinderAngular","owner":"3dtech","description":"3D Wayfinder Angular Service and Directives","archived":false,"fork":false,"pushed_at":"2019-06-03T08:25:17.000Z","size":30866,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-10T05:12:20.596Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://3dwayfinder.com/docs/","language":"JavaScript","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/3dtech.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":"2015-08-25T09:00:54.000Z","updated_at":"2019-06-03T08:00:57.000Z","dependencies_parsed_at":"2022-08-22T21:42:24.305Z","dependency_job_id":null,"html_url":"https://github.com/3dtech/3DWayfinderAngular","commit_stats":null,"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3dtech%2F3DWayfinderAngular","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3dtech%2F3DWayfinderAngular/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3dtech%2F3DWayfinderAngular/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3dtech%2F3DWayfinderAngular/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/3dtech","download_url":"https://codeload.github.com/3dtech/3DWayfinderAngular/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240981560,"owners_count":19888346,"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-11T17:09:59.294Z","updated_at":"2025-02-27T05:14:27.237Z","avatar_url":"https://github.com/3dtech.png","language":"JavaScript","readme":"# 3DWayfinderAngular\nAngular Service for 3D Wayfinder (now supports 2D maps also)\n\n## Getting started\n\n### Install\n```bash \nbower install --save 3dwayfinder-angular\n```\n\nPlease include the following JavaScript files into Your HTML file and inject wfangular into Your Angular app:\n\n```javascript\n\u003cscript type=\"text/javascript\" src=\"//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.0/jquery.min.js\"\u003e\u003c/script\u003e\n\u003c!-- FOR 3D Map add the line below --\u003e\n\u003cscript type=\"text/javascript\" src=\"http://static.3dwayfinder.com/projects/shared/js/minified/frak-stable.min.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\" src=\"http://static.3dwayfinder.com/projects/shared/js/minified/Wayfinder3D.min.js\"\u003e\u003c/script\u003e\n\u003c!-- FOR 2D Map add the line below --\u003e\n\u003cscript type=\"text/javascript\" src=\"http://static.3dwayfinder.com/projects/shared/js/minified/Wayfinder2D.min.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\" src=\"http://ajax.googleapis.com/ajax/libs/angularjs/1.4.6/angular.min.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\" src=\"index.js\"\u003e\u003c/script\u003e\n\n\u003cscript\u003e\n    var app = angular.module('basictest', ['wfangular']);\n    app.config(['wfangularConfig', function(wayfinderConfig){\n    \twayfinderConfig.mapType = '2d';\n    }])\n    app.run(['wfangular', function(wayfinder) {\n      wayfinder.open();\n    }]);\n\u003c/script\u003e\n```\n## Broadcasted events\n* wf.data.loaded - broadcasted when all data is loaded\n* wf.poi.click - broadcasted when user clicks on map. Arguments: POI\n* wf.language.change - broadcasted when language is changed. Arguments: language code {string} (eg en, de etc)\n* wf.floor.change - broadcasted when floor is changed. Arguments: Floor\n* wf.zoom.change - broadcasted when zoom is changed. Arguments: zoom {float}\n* wf.path.floor.change - broadcasted when path animation changes floor: Arguments: Object {current: Floor, next: Floor, destination: Floor}\n\n## Directives\n* wf-banner - displays a banner, ex. id=\"advertisements\" template=\"default\"\n* wf-floor-buttons - displays floor buttons, on-click function to react, can give additional parameters for the button group via group-class and for the buttons via button-class, see example below\n```javascript\n\u003cwf-floors-buttons group-class=\"btn-group floors-buttons\" active-class=\"btn btn-positive floor\"\u003e\u003c/wf-floors-buttons\u003e\n```\n\n##Options\nConstant wfangularConfig takes the following arguments for changing the behavior:\n*\tassetsLocation: 'http://static.3dwayfinder.com/shared/',\n*\tapiLocation: 'http://api.3dwayfinder.com'\n*\tmapType: '3d'//2d\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3dtech%2F3dwayfinderangular","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F3dtech%2F3dwayfinderangular","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3dtech%2F3dwayfinderangular/lists"}