{"id":22672274,"url":"https://github.com/jimlynchcodes/react-nyc-maps-examples","last_synced_at":"2025-03-29T11:25:13.228Z","repository":{"id":42256512,"uuid":"205608288","full_name":"JimLynchCodes/React-NYC-Maps-Examples","owner":"JimLynchCodes","description":"Examples of using various JavaScript libraries to display a map of manhattan in the web.","archived":false,"fork":false,"pushed_at":"2023-01-04T15:57:32.000Z","size":4031,"stargazers_count":1,"open_issues_count":25,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-04T11:55:21.147Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/JimLynchCodes.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-08-31T23:52:33.000Z","updated_at":"2022-03-08T18:24:48.000Z","dependencies_parsed_at":"2023-02-02T18:00:41.983Z","dependency_job_id":null,"html_url":"https://github.com/JimLynchCodes/React-NYC-Maps-Examples","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/JimLynchCodes%2FReact-NYC-Maps-Examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JimLynchCodes%2FReact-NYC-Maps-Examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JimLynchCodes%2FReact-NYC-Maps-Examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JimLynchCodes%2FReact-NYC-Maps-Examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JimLynchCodes","download_url":"https://codeload.github.com/JimLynchCodes/React-NYC-Maps-Examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246176309,"owners_count":20735747,"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-12-09T16:18:39.059Z","updated_at":"2025-03-29T11:25:13.193Z","avatar_url":"https://github.com/JimLynchCodes.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Maps Examples\n\nSome examples of displaying maps with JavaScript.\n\n- ### [Leaflet](https://leafletjs.com/)\n\n\u003cimg src=\"./screenshots/leaflet-example-screenshot.png\"/\u003e\n\n\n## (Lack of) Live Demo\nUnfortunately, this one is difficult to host live without publicly exposing all my api keys. :(\n\nThe best way to use this project is get follow the setup guide below to key api keys, create your .env.development file, and then run the development server. \n\n\n## Env.development file\nCreate a new file in the root of the project named `.env.development`, and put your environment variables here. Follow the `.env.development_SAMPLE` file to know what names to give the envionment variables. \n\n- Leaflet: uses a \"Mapbox access token\" which you can get [here](https://account.mapbox.com/access-tokens).\n\n## Get API Keys\n\nFor each third party mapping supplier you'll \n\n\n\n## Usage\n\n\n\n1) install dependencies\n\n```\nnpm install\n```\n\n2) start local dev server\n\n```\nnpm start\n```\n\n3) formatting and linting\n\nFormatting and linting is done with [Prettier](https://prettier.io/) and [Eslint](https://eslint.org/)\n\nTo fix all lint \u0026 formatting issues run:\n```\nnpm run format \n```\n\n\n## Motivation\nA lot of my friends have been trash talking \"maps in the browser\" saying that it can only be done well on a native app. This web app is meant to demo different JavaScript mapping libraries and really put them to the test to se how shitty (or not) they really are. ;)\n\n\n## Libraries Displayed \n\n- Leaflet - https://leafletjs.com/\n\n  ✅ Display a map!\n  - Display a marker.\n\n- [TODO!!] Google maps - https://developers.google.com/maps/documentation/javascript/tutorial\n\n- [TODO!!] Open Layers - https://openlayers.org/\n\n- [TODO!!] Bing Maps - https://docs.microsoft.com/en-us/bingmaps/v8-web-control/\n\n- ...feel free to add more! \n\n## Contributing\n\nFeel free to add examples with other maps libraries that have not yet been implemented here, and fee free to open pull requests with the examples!\n\n\n## Scaffolding\n\nThis project was scaffolded with the [gatsby-starter-redux](https://www.gatsbyjs.org/starters/caki0915/gatsby-starter-redux/) template:\n\n```\nnpx gatsby new my-redux-starter https://github.com/caki0915/gatsby-starter-redux\n```\n\nSome included config files:\n\n\n-  **`.prettierrc`**: This is a configuration file for [Prettier](https://prettier.io/). Prettier is a tool to help keep the formatting of your code consistent.\n\n-  **`gatsby-browser.js`**: This file is where Gatsby expects to find any usage of the [Gatsby browser APIs](https://www.gatsbyjs.org/docs/browser-apis/) (if any). These allow customization/extension of default Gatsby settings affecting the browser.\n\n-  **`gatsby-config.js`**: This is the main configuration file for a Gatsby site. This is where you can specify information about your site (metadata) like the site title and description, which Gatsby plugins you’d like to include, etc. (Check out the [config docs](https://www.gatsbyjs.org/docs/gatsby-config/) for more detail).\n\n-  **`gatsby-node.js`**: This file is where Gatsby expects to find any usage of the [Gatsby Node APIs](https://www.gatsbyjs.org/docs/node-apis/) (if any). These allow customization/extension of default Gatsby settings affecting pieces of the site build process.\n\n-  **`gatsby-ssr.js`**: This file is where Gatsby expects to find any usage of the [Gatsby server-side rendering APIs](https://www.gatsbyjs.org/docs/ssr-apis/) (if any). These allow customization of default Gatsby settings affecting server-side rendering.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimlynchcodes%2Freact-nyc-maps-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjimlynchcodes%2Freact-nyc-maps-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimlynchcodes%2Freact-nyc-maps-examples/lists"}