{"id":13848845,"url":"https://github.com/ened/Android-Tiling-ScrollView","last_synced_at":"2025-07-12T13:32:57.878Z","repository":{"id":57714938,"uuid":"1959220","full_name":"ened/Android-Tiling-ScrollView","owner":"ened","description":"A tiling scrollview to display large picture (similar to iOS \"CATiledLayer\")","archived":false,"fork":false,"pushed_at":"2014-12-25T02:30:07.000Z","size":6140,"stargazers_count":246,"open_issues_count":5,"forks_count":66,"subscribers_count":18,"default_branch":"master","last_synced_at":"2024-07-01T10:58:12.760Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","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/ened.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-06-27T08:38:28.000Z","updated_at":"2023-06-12T23:11:43.000Z","dependencies_parsed_at":"2022-09-02T22:01:08.061Z","dependency_job_id":null,"html_url":"https://github.com/ened/Android-Tiling-ScrollView","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ened%2FAndroid-Tiling-ScrollView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ened%2FAndroid-Tiling-ScrollView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ened%2FAndroid-Tiling-ScrollView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ened%2FAndroid-Tiling-ScrollView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ened","download_url":"https://codeload.github.com/ened/Android-Tiling-ScrollView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213949827,"owners_count":15661677,"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-08-04T19:00:59.332Z","updated_at":"2024-08-04T19:03:29.742Z","avatar_url":"https://github.com/ened.png","language":"Java","funding_links":[],"categories":["Java","Libs"],"sub_categories":["\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget"],"readme":"*Project is not maintained right now. Please see the note at the end of this file.*\n\nIntroduction\n============\n\nThis Android widget aims to provide a scalable way to display large images (like Metro maps, paintings) while keeping the memory consumption as low as possible.\n\nThe source image will be provided in TILES, so that all tiles combined create the full scale image.\n\nCurrent features:\n\n* Specify a image pattern to find the tiles\n* Freely navigate through the image using a two dimensional scroll view\n* Load required tiles on demand and non-blocking\n* Zoom levels using multiple levels of tiles\n* Panning, Pinching etc (multitouch gestures), work in progress\n\nPlanned features:\n\n* A way to overlay icons or other widgets at fix points (similar to Google Maps), which should be useful for annotations\n\nExample\n=======\n``` xml\n\u003casia.ivity.android.tiledscrollview.TiledScrollView\n        android:id=\"@+id/tiledScrollView\"\n        android:layout_width=\"fill_parent\"\n        android:layout_height=\"fill_parent\"\n        app:file_pattern=\"tiger400/crop_%col%_%row%.png\"\n        app:tile_height=\"100\"\n        app:tile_width=\"100\"\n        app:image_width=\"400\"\n        app:image_height=\"300\"\n        app:zoom_buttons=\"true\"\n        /\u003e\n```\nAttributes:\n\n* file_pattern - specifies the pattern to find the files. Placeholders `%col%` and `%row%` are mandatory\n* tile_height \u0026 tile_width - specify the tile dimensions. The widget should be able to handle non-fitting images (i.e. if the last tile is smaller then others tiles well)\n* image_height \u0026 image_width - image dimensions to support abovementioned functions.\n* zoom_buttons - whether to enable the zoom buttons, default is `true`.\n\nThe attributes are very likely to be reduced and cut. I prefer the widget to be more simple in the long term.\n\nMultiple Zoom Levels\n====================\n\nThe View supports different zoom levels. You can add them using Java.\n\n``` java\nfinal TiledScrollView tiledScrollView = (TiledScrollView) findViewById(R.id.tiledScrollView);\n\ntiledScrollView.addConfigurationSet(TiledScrollView.ZoomLevel.LEVEL_1,\n        new ConfigurationSet(\"tiger800/crop_%col%_%row%.png\", 100, 100, 800, 600));\n\ntiledScrollView.addConfigurationSet(TiledScrollView.ZoomLevel.LEVEL_2,\n        new ConfigurationSet(\"tiger1600/crop_%col%_%row%.png\", 100, 100, 1600, 1200));\n```\n\nCredits\n=======\n\n* Apple's iOS CATiledLayer for inspiring this work\n* http://GORGES.us for developing and publishing a two dimensional ScrollView\n* http://www.animalspedia.com/wallpaper/The-Siege---Siberian-Tiger/ for providing a nice sample picture\n\nApps using this library\n=======================\n\n* https://play.google.com/store/apps/details?id=asia.ivity.qifu.android.map\n* Send a pull request to add your App.\n\nMaven\n=====\n\nThe plugin is available in the maven central repository.\n\n``` xml\n\u003cdependency\u003e\n  \u003cgroupId\u003easia.ivity\u003c/groupId\u003e\n  \u003cartifactId\u003etiledscrollview\u003c/artifactId\u003e\n  \u003cversion\u003e1.1.1\u003c/version\u003e\n  \u003ctype\u003eapklib\u003c/type\u003e\n\u003c/dependency\u003e\n```\n\nLicense\n=======\n\nThis library is released under a BSD license. See the LICENSE file included with the distribution for details.\n\nNot for you?\n============\n\nCheck out https://github.com/moagrius/TileView, which is a up to date Tiling library which includes many features.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fened%2FAndroid-Tiling-ScrollView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fened%2FAndroid-Tiling-ScrollView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fened%2FAndroid-Tiling-ScrollView/lists"}