{"id":13451921,"url":"https://github.com/react-native-web-community/react-native-web-maps","last_synced_at":"2025-04-04T13:12:17.810Z","repository":{"id":27216548,"uuid":"111193625","full_name":"react-native-web-community/react-native-web-maps","owner":"react-native-web-community","description":"React Native for Web implementation of react-native-maps","archived":false,"fork":false,"pushed_at":"2023-02-06T23:20:30.000Z","size":2533,"stargazers_count":166,"open_issues_count":43,"forks_count":63,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-28T12:07:23.213Z","etag":null,"topics":["maps","react-native"],"latest_commit_sha":null,"homepage":"https://react-native-web-community.github.io/react-native-web-maps/storybook","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/react-native-web-community.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":"2017-11-18T09:43:02.000Z","updated_at":"2025-03-22T03:40:32.000Z","dependencies_parsed_at":"2023-02-19T13:01:30.362Z","dependency_job_id":null,"html_url":"https://github.com/react-native-web-community/react-native-web-maps","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/react-native-web-community%2Freact-native-web-maps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-native-web-community%2Freact-native-web-maps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-native-web-community%2Freact-native-web-maps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-native-web-community%2Freact-native-web-maps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/react-native-web-community","download_url":"https://codeload.github.com/react-native-web-community/react-native-web-maps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247182348,"owners_count":20897380,"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":["maps","react-native"],"created_at":"2024-07-31T07:01:06.986Z","updated_at":"2025-04-04T13:12:17.793Z","avatar_url":"https://github.com/react-native-web-community.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# react-native-web-maps\n\u003e React Native for Web implementation of react-native-maps\n\n## Getting started\n`$ npm install react-native-web-maps --save`\n\nTo implement `react-native-web-maps` we're using the `react-google-maps` package:\n\n`$ npm install react-google-maps --save`\n\nAlias the package in your webpack config:\n\n```\nresolve: {\n    alias: {\n        'react-native': 'react-native-web',\n        ...\n        'react-native-maps': 'react-native-web-maps',\n    }\n}\n```\n\nYou need to have a Google Maps Javascript API key to use the map, you can get one [here](https://developers.google.com/maps/documentation/javascript/get-api-key).\n\nThen, you should add this script to your index.html:\n``` html\n\u003cscript src=\"https://maps.googleapis.com/maps/api/js?key=\u003cYOUR_GOOGLE_API_KEY\u003e\"\u003e\u003c/script\u003e\n```\n\n## Usage\n\n``` javascript\nimport MapView from 'react-native-maps';\n```\nSee the original [documentation](https://github.com/airbnb/react-native-maps).\n\nThe supported components are:\n\n* `MapView`\n* `MapView.Marker`\n* `MapView.Polyline`\n\n`MapView`:\n- The officially supported props are:\n    - `region`\n- The officially supported events are:\n    - `onRegionChange`\n    - `onRegionChangeComplete`\n    - `onPress`\n\n`MapView.Marker`:\n- The officially supported props are:\n    - `title`\n    - `description`\n    - `coordinate`\n\n\n## Examples\nSee the [storybook](https://react-native-web-community.github.io/react-native-web-maps/storybook/index.html).\n\n## Contributing\nPRs are welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-native-web-community%2Freact-native-web-maps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freact-native-web-community%2Freact-native-web-maps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-native-web-community%2Freact-native-web-maps/lists"}