{"id":17172871,"url":"https://github.com/20tab/twentytab-gmapsmarkers","last_synced_at":"2026-03-09T16:02:50.392Z","repository":{"id":17325276,"uuid":"20096271","full_name":"20tab/twentytab-gmapsmarkers","owner":"20tab","description":"A django widget with select2 integration that uses google geocode api to search place and create map with markers","archived":false,"fork":false,"pushed_at":"2016-04-20T09:53:48.000Z","size":638,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-16T14:16:16.541Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/20tab.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":"2014-05-23T10:49:03.000Z","updated_at":"2017-04-06T17:19:45.000Z","dependencies_parsed_at":"2022-09-24T15:03:20.940Z","dependency_job_id":null,"html_url":"https://github.com/20tab/twentytab-gmapsmarkers","commit_stats":null,"previous_names":["20tab/twentytab-gmaps"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/20tab/twentytab-gmapsmarkers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20tab%2Ftwentytab-gmapsmarkers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20tab%2Ftwentytab-gmapsmarkers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20tab%2Ftwentytab-gmapsmarkers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20tab%2Ftwentytab-gmapsmarkers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/20tab","download_url":"https://codeload.github.com/20tab/twentytab-gmapsmarkers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20tab%2Ftwentytab-gmapsmarkers/sbom","scorecard":{"id":2497,"data":{"date":"2025-08-11","repo":{"name":"github.com/20tab/twentytab-gmapsmarkers","commit":"ca28fc5f3c5b48d3bc235c734a83801a25de9ff5"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}}]},"last_synced_at":"2025-08-14T12:52:52.048Z","repository_id":17325276,"created_at":"2025-08-14T12:52:52.048Z","updated_at":"2025-08-14T12:52:52.048Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30301522,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T14:33:48.460Z","status":"ssl_error","status_checked_at":"2026-03-09T14:33:48.027Z","response_time":61,"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":[],"created_at":"2024-10-14T23:48:30.362Z","updated_at":"2026-03-09T16:02:50.335Z","avatar_url":"https://github.com/20tab.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"twentytab-gmapsmarkers\n===============\n\nA django widget with [Select2](http://ivaynberg.github.com/select2/) integration that uses [google geocode](https://developers.google.com/maps/documentation/geocoding/) api to search places and create maps with markers\n\n## Installation\n\nUse the following command: \u003cb\u003e\u003ci\u003epip install twentytab-gmapsmarkers\u003c/i\u003e\u003c/b\u003e\n\n## Configuration\n\n```py\nINSTALLED_APPS = {\n    ...,\n    'gmapsmarkers',\n    ...\n}\n\nGMAPS_API_KEY = \"xxxxxxxxxxxxxxxxxxxx\"\nGMAPS_LANGUAGE_CODE = \"en\"  # default value\n\n```\n\ntwentytab-gmaps will set his own jquery plugin. If you already use yours you have to define the following parameters in your settings:\n\n```py\n\nSTATIC_URL = u'/static/'\nJQUERY_LIB = 'path_to_jquery'\nSELECT2_LIB = 'path_to_select2_js'\nSELECT2_CSS_LIB = 'path_to_select2_css'\n\n```\n\n\n- Static files\n\nRun collectstatic command or map static directory.\n\n## Usage\n\n```py\nfrom django.db import models\nfrom gmapsmarkers.fields import GmapsField, GeotypeField\n\n\nclass MyClass(models.Model):\n    address = GmapsField(\n        plugin_options={\n            'geocode_field': 'geocode',\n            'type_field': 'geo_type',\n            'allowed_types': ['country', 'administrative_area_level_1']\n        },\n        select2_options={'width': '300px'}\n    )\n    geocode = models.CharField(max_length=250)\n    geo_type = GeotypeField()\n\n    def __unicode__(self):\n        return self.address\n```\n\n![ScreenShot](https://raw.github.com/20tab/twentytab-gmapsmarkers/master/img/screenshot.png)\n\n\n## Google geocode results\n\nThe widget binds a javascript event (gmaps-click-on-marker) on GmapsField that can capture it,\nsending back the json result given by google geocode api.\n\nFor example:\n```js\njQuery(function($){\n\n    $(\"#id_address\").on('gmaps-click-on-marker', function(e, data){\n        console.log('gmaps-click-on-marker');\n        console.log(data);\n        console.log($(this))\n    });\n\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F20tab%2Ftwentytab-gmapsmarkers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F20tab%2Ftwentytab-gmapsmarkers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F20tab%2Ftwentytab-gmapsmarkers/lists"}