{"id":20027465,"url":"https://github.com/huidaecho/agol-ol","last_synced_at":"2025-03-02T04:42:49.387Z","repository":{"id":138941492,"uuid":"100135715","full_name":"HuidaeCho/agol-ol","owner":"HuidaeCho","description":"ArcGIS Online (AGOL) Web Map using OpenLayers","archived":false,"fork":false,"pushed_at":"2022-03-01T13:56:54.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-12T17:23:13.841Z","etag":null,"topics":["agol","arcgis","json","openlayers","webmap","webmap-json"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HuidaeCho.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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":"2017-08-12T20:16:54.000Z","updated_at":"2024-11-11T11:07:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"aac44906-976e-4384-94ff-68d0aefd35d9","html_url":"https://github.com/HuidaeCho/agol-ol","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/HuidaeCho%2Fagol-ol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuidaeCho%2Fagol-ol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuidaeCho%2Fagol-ol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuidaeCho%2Fagol-ol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HuidaeCho","download_url":"https://codeload.github.com/HuidaeCho/agol-ol/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241460047,"owners_count":19966516,"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":["agol","arcgis","json","openlayers","webmap","webmap-json"],"created_at":"2024-11-13T09:10:24.295Z","updated_at":"2025-03-02T04:42:49.368Z","avatar_url":"https://github.com/HuidaeCho.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AGOL-OL: ArcGIS Online (AGOL) Web Map using OpenLayers\n\nI wrote this JavaScript code to display one of my web maps hosted on ArcGIS\nOnline (AGOL). I did not put much time and effort to polish this code, so it is\njust good enough to display [this map](http://www.arcgis.com/home/item.html?id=b528fdc8b48e40ad925225387966f523)\nand identify feature attributes. For demo, please visit https://app.isnew.info/agol-ol.\n\n# Usage\n\n```\ncreateWebMap(mapDivId, itemId, extentLayerName);\n```\n\n# HTML Example\n\n```\n\u003chtml\u003e\n  \u003chead\u003e\n    \u003ctitle\u003eArcGIS Online (AGOL) Web Map using OpenLayers\u003c/title\u003e\n    \u003clink rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/openlayers/4.2.0/ol.css\" type=\"text/css\"\u003e\n    \u003clink rel=\"stylesheet\" href=\"agol-ol.css\" type=\"text/css\"\u003e\n    \u003cscript src=\"https://cdnjs.cloudflare.com/ajax/libs/openlayers/4.2.0/ol.js\" type=\"text/javascript\"\u003e\u003c/script\u003e\n    \u003cscript src=\"agol-ol.js\" type=\"text/javascript\"\u003e\u003c/script\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n    \u003cdiv id=\"map\" class=\"map\"\u003e\u003c/div\u003e\n    \u003cscript type=\"text/javascript\"\u003e\n      // create a web map\n      createWebMap(\n        // div ID for the map\n        'map',\n        // portal item ID of my web map\n        'b528fdc8b48e40ad925225387966f523',\n        // extent layer name\n        'firestations');\n    \u003c/script\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\n# License\n\nCopyright (C) 2017, Huidae Cho \u003c\u003chttps://idea.isnew.info/\u003e\u003e\n\nThis program is free software: you can redistribute it and/or modify it\nunder the terms of the GNU General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\nFITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for\nmore details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program. If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuidaecho%2Fagol-ol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuidaecho%2Fagol-ol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuidaecho%2Fagol-ol/lists"}