{"id":18636759,"url":"https://github.com/andream16/mean-geographic-google-maps","last_synced_at":"2026-04-10T12:31:50.990Z","repository":{"id":90084461,"uuid":"60360576","full_name":"andream16/MEAN-Geographic-Google-Maps","owner":"andream16","description":"DB Project for Data Bases 2 Exam","archived":false,"fork":false,"pushed_at":"2017-03-18T09:29:09.000Z","size":4105,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-30T23:46:32.492Z","etag":null,"topics":["angular","bower","express","geometry-objects","mongodb","mongoose","nodejs","polygon"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andream16.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-06-03T16:03:18.000Z","updated_at":"2022-03-30T10:09:45.000Z","dependencies_parsed_at":"2023-03-13T17:59:59.880Z","dependency_job_id":null,"html_url":"https://github.com/andream16/MEAN-Geographic-Google-Maps","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andream16/MEAN-Geographic-Google-Maps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andream16%2FMEAN-Geographic-Google-Maps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andream16%2FMEAN-Geographic-Google-Maps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andream16%2FMEAN-Geographic-Google-Maps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andream16%2FMEAN-Geographic-Google-Maps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andream16","download_url":"https://codeload.github.com/andream16/MEAN-Geographic-Google-Maps/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andream16%2FMEAN-Geographic-Google-Maps/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31642728,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["angular","bower","express","geometry-objects","mongodb","mongoose","nodejs","polygon"],"created_at":"2024-11-07T05:31:57.243Z","updated_at":"2026-04-10T12:31:50.964Z","avatar_url":"https://github.com/andream16.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MEAN-Geographic-Google-Maps\n## Using Google Maps + MEAN Stack to work with geometry Objects\n\nThis project is essentially a fork of  @Ahmed Haque Making MEAN Apps with Google Maps available at https://github.com/afhaque/MeanMapAppV2.0\n\nIf you have ever wondered about using Google Maps Api in a Mean Stack Application and using `geoSpatial Queries` in `MongoDB` you can take this project as an example to kickstart your next application.\n\n[![1.png](https://s18.postimg.org/hut102ppl/image.png)](https://postimg.org/image/h5a8npp5x/)\n[![2.png](https://s10.postimg.org/imux101rd/image.png)](https://postimg.org/image/bwefrkelh/)\n\nI made different changes to project's structure and added Polyline and Polygon support with some Geospatial Queries on the latter objects.\n\n### What you need to run the project:\n - Node ~^4.4.7\n - NPM ~^2.15\n - MongoDB ~^3.2.7\n - Bower ~^1.7.9\n\n### How to install bower and npm packages:\n - Go on Project's folder\n - run: `bower install`\n - run: `npm install`\n\n### How to run the project:\n - if you have nodemon: `nodemon server.js`\n - else: `npm start server.js`\n\n### Remember to change `Google-Maps-Key` with yours.\n`\u003cscript src=\"https://maps.googleapis.com/maps/api/js?v=3.exp\u0026key=yourKey\"\u003e\u003c/script\u003e`\n\n### Example of Geometry Objects\n\n#### Point\n`{ \n    \"name\" : \"point1\",\n    \"geo\" : {\n        \"coordinates\" : [\n            52.483, \n            16.084\n        ], \n        \"type\" : \"Point\"\n    }\n}`\n\n#### LineString\n`{ \n    \"name\" : \"linestring2\",\n    \"geo\" : {\n        \"coordinates\" : [\n            [\n                38.232, \n                38.823\n            ], \n            [\n                70.576, \n                51.289\n            ], \n            [\n                91.67, \n                59.801\n            ], \n            [\n                91.318, \n                68.073\n            ]\n        ], \n        \"type\" : \"LineString\"\n    }\n}`\n\n#### Polygon (it has to be closed -\u003e first point coordinates == last point coordinates)\n`{ \n    \"name\" : \"polygon1\", \n    \"geo\" : {\n        \"coordinates\" : [\n            [\n                [\n                    3.779, \n                    9.276\n                ], \n                [\n                    14.854, \n                    15.115\n                ], \n                [\n                    38.408, \n                    17.309\n                ], \n                [\n                    40.693, \n                    7.711\n                ], \n                [\n                    35.068, \n                    -7.885\n                ], \n                [\n                    5.889, \n                    -9.622\n                ], \n                [\n                    1.143, \n                    -3.689\n                ], \n                [\n                    3.779, \n                    9.276\n                ]\n            ]\n        ], \n        \"type\" : \"Polygon\"\n    }\n}`\n\n\n### MongoDB Collection\nI provided an example collection `geometry-collection.json` that is possible to import through tools like `RoboMongo` or `MongoChef`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandream16%2Fmean-geographic-google-maps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandream16%2Fmean-geographic-google-maps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandream16%2Fmean-geographic-google-maps/lists"}