{"id":18348722,"url":"https://github.com/paraboly/react-native-map-card-view","last_synced_at":"2025-04-06T09:31:48.034Z","repository":{"id":36157014,"uuid":"221917772","full_name":"Paraboly/react-native-map-card-view","owner":"Paraboly","description":"Map based list card view for React Native via Paraboly.","archived":false,"fork":false,"pushed_at":"2023-03-04T05:12:06.000Z","size":16176,"stargazers_count":11,"open_issues_count":9,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T21:11:57.582Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://paraboly.com","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/Paraboly.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":"2019-11-15T12:15:51.000Z","updated_at":"2025-01-25T20:55:42.000Z","dependencies_parsed_at":"2023-02-15T05:31:16.026Z","dependency_job_id":null,"html_url":"https://github.com/Paraboly/react-native-map-card-view","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Paraboly%2Freact-native-map-card-view","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Paraboly%2Freact-native-map-card-view/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Paraboly%2Freact-native-map-card-view/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Paraboly%2Freact-native-map-card-view/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Paraboly","download_url":"https://codeload.github.com/Paraboly/react-native-map-card-view/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247463744,"owners_count":20942935,"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-05T21:18:56.701Z","updated_at":"2025-04-06T09:31:47.554Z","avatar_url":"https://github.com/Paraboly.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg alt=\"React Native Map Card View\" src=\"assets/logo.png\" width=\"1050\"/\u003e\n\n[![Battle Tested ✅](https://img.shields.io/badge/-Battle--Tested%20%E2%9C%85-03666e?style=for-the-badge)](https://github.com/Paraboly/react-native-map-card-view)\n\n[![Map based list card view for React Native via Paraboly.](https://img.shields.io/badge/-Map%20based%20list%20card%20view%20for%20React%20Native%20via%20Paraboly.-lightgrey?style=for-the-badge)](https://github.com/Paraboly/react-native-map-card-view)\n\n[![npm version](https://img.shields.io/npm/v/@paraboly/react-native-map-card-view.svg?style=for-the-badge)](https://www.npmjs.com/package/@paraboly/react-native-map-card-view)\n[![npm](https://img.shields.io/npm/dt/@paraboly/react-native-map-card-view.svg?style=for-the-badge)](https://www.npmjs.com/package/react-native-map-card-view)\n![Platform - Android and iOS](https://img.shields.io/badge/platform-Android%20%7C%20iOS-blue.svg?style=for-the-badge)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg?style=for-the-badge)](https://opensource.org/licenses/MIT)\n[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=for-the-badge)](https://github.com/prettier/prettier)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"React Native Map Card View\"\n        src=\"assets/Screenshots/example.png\" width=\"49%\" /\u003e\n  \u003cimg alt=\"React Native Map Card View\"\n        src=\"assets/Screenshots/example2.png\" width=\"49%\" /\u003e\n\u003c/p\u003e\n\n# Installation\n\nAdd the dependency:\n\n```ruby\nnpm i @paraboly/react-native-map-card-view\n```\n\n## Peer Dependencies\n\n###### IMPORTANT! You need install them\n\n```js\n\"react\": \"\u003e= 16.x.x\",\n\"react-native\": \"\u003e= 0.55.x\",\n\"react-native-maps\": \"\u003e= 0.26.1\",\n\"react-native-androw\": \"\u003e= 0.0.34\",\n\"react-native-user-avatar\": \"\u003e= 1.0.4\",\n\"@freakycoder/react-native-helpers\": \"^0.1.0\"\n```\n\n# Usage\n\n## Import\n\n```jsx\nimport MapCardView from \"@paraboly/react-native-map-card-view\";\n```\n\n## Usage (IMPORTANT! READ IT BEFORE USE)\n\nTo fill the list data. You **HAVE TO** use this format:\n\n**Updated:** \"source\" is optional now :)\n\n```json\n[\n  {\n    \"name\": \"Azamat Zhanisov\",\n    \"source\": \"https://images.unsplash.com/photo-1566807810030-3eaa60f3e670?ixlib=rb-1.2.1\u0026auto=format\u0026fit=crop\u0026w=3334\u0026q=80\"\n  },\n  {\n    \"name\": \"Ayo Ogunseinde\",\n    \"source\": \"https://images.unsplash.com/photo-1529626455594-4ff0802cfb7e?ixlib=rb-1.2.1\u0026ixid=eyJhcHBfaWQiOjEyMDd9\u0026auto=format\u0026fit=crop\u0026w=3000\u0026q=80\"\n  }\n]\n```\n\n```jsx\n\u003cMapCardView\n  data={data}\n  title=\"Testimonial\"\n  colors={[\"red\", \"black\", \"gray\"]}\n/\u003e\n```\n\n# Configuration - Props\n\n| Property         |      Type      |          Default          | Description                                                                       |\n| ---------------- | :------------: | :-----------------------: | --------------------------------------------------------------------------------- |\n| width            | number, string |    ScreenWidth \\* 0.9     | change the width of the card view                                                 |\n| height           | number, string |            150            | change the height of the card view                                                |\n| title            |     string     |        Testimonial        | change the title                                                                  |\n| data             |     array      | dummyData(check the code) | set your own data array however you **HAVE TO** fill the array with above format! |\n| markers          |    \u003cMarker\u003e    |      default marker       | set your own Marker JSX Object                                                    |\n| styles           |     style      |          default          | change the container's style                                                      |\n| mapStyle         |     style      |          default          | change the map's style                                                            |\n| titleStyle       |     style      |          default          | change the title's style                                                          |\n| shadowStyle      |     style      |          default          | change the shadow's style                                                         |\n| shadowColor      |     string     |           #ccc            | change the shadow color                                                           |\n| borderColor      |     string     |          #f54242          | change the border color                                                           |\n| backgroundColor  |     string     |           #fff            | change the background color                                                       |\n| borderLeftWidth  |     number     |             5             | change the left sided border width                                                |\n| markerLat        |     number     |         37.78825          | change the default marker latitude                                                |\n| markerLng        |     number     |         -122.4324         | change the default marker longitude                                               |\n| mapInitialRegion |    lat,lng     |      INITIAL_REGION       | change the map initial region                                                     |\n| colors           |     array      |          colors           | change the background color of text avatar                                        |\n| size             |     string     |           \"30\"            | change the size of avatar(image)'s size                                           |\n| listHeight       | number, string |            85             | change list height dynamically                                                    |\n\n## Future Plans\n\n- [x] ~~LICENSE~~\n\n## Author\n\nFreakyCoder, kurayogun@gmail.com | kuray.ogun@paraboly.com\n\n## License\n\nReact Native Map Card View is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparaboly%2Freact-native-map-card-view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparaboly%2Freact-native-map-card-view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparaboly%2Freact-native-map-card-view/lists"}