{"id":16832720,"url":"https://github.com/zswang/light-map-demo","last_synced_at":"2025-03-18T00:50:03.871Z","repository":{"id":17164714,"uuid":"19931808","full_name":"zswang/light-map-demo","owner":"zswang","description":"地图轻组件示例","archived":false,"fork":false,"pushed_at":"2014-05-19T08:19:43.000Z","size":208,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T09:09:42.388Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zswang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-19T06:49:41.000Z","updated_at":"2018-08-11T01:18:48.000Z","dependencies_parsed_at":"2022-09-01T12:20:37.546Z","dependency_job_id":null,"html_url":"https://github.com/zswang/light-map-demo","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/zswang%2Flight-map-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Flight-map-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Flight-map-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Flight-map-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zswang","download_url":"https://codeload.github.com/zswang/light-map-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244135897,"owners_count":20403797,"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-10-13T11:50:10.417Z","updated_at":"2025-03-18T00:50:03.838Z","avatar_url":"https://github.com/zswang.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"地图轻组件示例\n==============\n\n## 使用步骤\n\n确保 Android 环境已经安装\n\n确保 Ant 环境已经安装\n\n确保 NodeJS 环境已经安装\n\n确保 Cordova 环境已经安装\n\n添加 Cordova 项目 *light-map-demo*\n\n```shell\ncordova create light-map-demo\n```\n\n下载示例并复制\n\n```shell\ngit clone –bare https://github.com/zswang/light-map-demo.git temp\nyes|cp -r deomtemp/www light-map-demo/www\n```\n\n进入工作目录\n```shell\ncd light-map-demo\n```\n\n安装开发平台\n\n```shell\ncordova platform add android\n```\n\n安装地图 Cordova 插件\n\n```shell\ncordova plugin add https://github.com/zswang/light-map.git\n```\n\n预编译 Cordova 项目\n\n```shell\ncordova build\n```\n\n配置地图开发密钥\n\n```xml\n\u003cmeta-data android:name=\"com.baidu.lbsapi.API_KEY\" android:value=\"开发密钥\" /\u003e\n```\n\nAndroid 项目普通开发流程\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzswang%2Flight-map-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzswang%2Flight-map-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzswang%2Flight-map-demo/lists"}