{"id":22208277,"url":"https://github.com/steenhansen/gmap-dragdrop-examples","last_synced_at":"2026-05-07T03:31:26.283Z","repository":{"id":149759830,"uuid":"94605055","full_name":"steenhansen/gmap-dragdrop-examples","owner":"steenhansen","description":"Google Maps drag and drop React component; on, off,  and between maps","archived":false,"fork":false,"pushed_at":"2024-06-10T00:57:55.000Z","size":6166,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-30T04:42:36.725Z","etag":null,"topics":["javascript","nodejs","react","webpack"],"latest_commit_sha":null,"homepage":"https://gmap-dragdrop-examples.onrender.com/maps","language":"HTML","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/steenhansen.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-17T06:23:18.000Z","updated_at":"2024-06-10T00:57:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"5c3b38a5-0cb3-4bbd-9814-a0afd12abfee","html_url":"https://github.com/steenhansen/gmap-dragdrop-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/steenhansen%2Fgmap-dragdrop-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steenhansen%2Fgmap-dragdrop-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steenhansen%2Fgmap-dragdrop-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steenhansen%2Fgmap-dragdrop-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steenhansen","download_url":"https://codeload.github.com/steenhansen/gmap-dragdrop-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245401372,"owners_count":20609163,"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":["javascript","nodejs","react","webpack"],"created_at":"2024-12-02T19:17:14.017Z","updated_at":"2025-10-28T01:14:22.847Z","avatar_url":"https://github.com/steenhansen.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Maps Drag and Drop Examples\n\nThis project uses the [gmap-dragdrop-react](https://www.npmjs.com/package/gmap-dragdrop-react) package on NPM to show six examples of dragging pins on and off of a Google map. Not just making a marker pin draggable. A live slow to start free Render.com web page with [all six examples](https://gmap-dragdrop-examples.onrender.com/maps).\n\n## Example 1 - [Dragging Pins Between Maps](https://gmap-dragdrop-examples.onrender.com/dynamic)\n\n## Example 2 - [Dragging Pins On and Off a Map](https://gmap-dragdrop-examples.onrender.com/malls)\n\n## Example 3 - [Sets of Pins](https://gmap-dragdrop-examples.onrender.com/activities)\n\nMake new marker pins by dragging from the central hub, \"Visit the North Shore\" ![waves picture](public/images/north_shore_water.png). Modify pins by dragging on and off of modify bar.\n\n## Example 4 - [Pins With Images and Distances](https://gmap-dragdrop-examples.onrender.com/hikes)\n\n## Example 5 - [Pins With Draggable Text Data](https://gmap-dragdrop-examples.onrender.com/simple)\n\n## Example 6 - [Custom Pins With Dragged Distances](https://gmap-dragdrop-examples.onrender.com/events)\n\n## To Install\n\n### $ nvm use 18.2.0\n\n### $ npm install\n\n## Start Development Version\n\n```\n$ npx gulp\n$ npx webpack-cli --node-env 'development'\n$ node local-server AIzaSyCE3HSVtJ6yOEkHiBpyoR_iU00gqYgTkfk\n\nhttp://localhost:5000/maps\n```\n\n## Run Production Version\n\n```\n$ npx gulp\n$ npx webpack-cli\n$ node local-server abcdefgh**_Google_Map_API_Key_**ijelmen\n\nhttp://localhost:5000/maps\n```\n\n## Non-Existant API Key\n\n![google maps image when bad api key](public/images/bad-api-key.png)\n\n## API Key Not Yet Linked to Credit Card\n\n![For developers only](public/images/for_dev_only.png)\n\nGet a Google Maps API key at [https://developers.google.com/maps/documentation/javascript/get-api-key](https://developers.google.com/maps/documentation/javascript/get-api-key)\n\n## Restrict API Key for Production\n\n![API restrictions](public/images/website-restrictions.png)\n\n## Setting API Key on Heroku\n\n![Heroku API google maps api key](public/images/heroku-config.png)\n\n## Free Hosting on render.com\n\tWeb Service\n\t\n\tEnvironment\n\t\t  Key\tgoog_map_api\n\t\tValue\tAbcdefghijklmnopqrstuvwxyz_1234567890MN\n\t\t\n\tSettings\n\t\tBuild Command\t$ yarn\n\t\tStart Command\t$ node heroku-server.js\n\t\t\n\t\t\n///////////////\n\nRefererNotAllowedMapError\n\n\n\n\nbad_openSSL.png below\n\nPS C:\\Users\\16043\\Documents\\GitHub\\gmap-dragdrop-examples\u003e                                                                                                                                   \nPS C:\\Users\\16043\\Documents\\GitHub\\gmap-dragdrop-examples\u003e                                                                                                                                   \nPS C:\\Users\\16043\\Documents\\GitHub\\gmap-dragdrop-examples\u003e                                                                                                                                   \nPS C:\\Users\\16043\\Documents\\GitHub\\gmap-dragdrop-examples\u003e npm install                                                                                                                       \nOpenSSL configuration error:                                                                                                                                                                 \n30730000:error:80000002:system library:BIO_new_file:No such file or directory:c:\\ws\\deps\\openssl\\openssl\\crypto\\bio\\bss_file.c:67:calling fopen(C:\\Program Files\\PostgreSQL\\psqlODBC\\etc\\open\nssl.cnf, rb)                                                                                                                                                                                 \n30730000:error:10000080:BIO routines:BIO_new_file:no such file:c:\\ws\\deps\\openssl\\openssl\\crypto\\bio\\bss_file.c:75:                                                                          \n30730000:error:07000072:configuration file routines:def_load:no such file:c:\\ws\\deps\\openssl\\openssl\\crypto\\conf\\conf_def.c:179:                                                             \nOpenSSL configuration error:                                                                                                                                                                 \n50070000:error:80000002:system library:BIO_new_file:No such file or directory:c:\\ws\\deps\\openssl\\openssl\\crypto\\bio\\bss_file.c:67:calling fopen(C:\\Program Files\\PostgreSQL\\psqlODBC\\etc\\open\nssl.cnf, rb)                                                                                                                                                                                 \n50070000:error:10000080:BIO routines:BIO_new_file:no such file:c:\\ws\\deps\\openssl\\openssl\\crypto\\bio\\bss_file.c:75:                                                                          \n50070000:error:07000072:configuration file routines:def_load:no such file:c:\\ws\\deps\\openssl\\openssl\\crypto\\conf\\conf_def.c:179:                                                             \nPS C:\\Users\\16043\\Documents\\GitHub\\gmap-dragdrop-examples\u003e                                                                                                                                   \n                                                                                                                                                                                             \n                                                                                                                                                                                             \n                                                                                                                                                                                             ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteenhansen%2Fgmap-dragdrop-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteenhansen%2Fgmap-dragdrop-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteenhansen%2Fgmap-dragdrop-examples/lists"}