{"id":15499902,"url":"https://github.com/stefanocudini/leaflet-locationpicker","last_synced_at":"2025-07-15T05:39:14.428Z","repository":{"id":35395674,"uuid":"39659703","full_name":"stefanocudini/leaflet-locationpicker","owner":"stefanocudini","description":"Simple location picker on Leaflet map","archived":false,"fork":false,"pushed_at":"2023-08-11T10:14:16.000Z","size":278,"stargazers_count":55,"open_issues_count":4,"forks_count":13,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-16T17:15:13.197Z","etag":null,"topics":["coordinates","jquery","jquery-plugin","leaflet-plugin","leafletjs","location","maps","webgis","webmapping"],"latest_commit_sha":null,"homepage":"https://opengeo.tech/maps/leaflet-locationpicker/","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/stefanocudini.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":"2015-07-24T21:54:58.000Z","updated_at":"2024-09-13T05:29:02.000Z","dependencies_parsed_at":"2024-06-21T00:26:43.143Z","dependency_job_id":"74ab3afe-0896-4d35-8990-3fdeebbda57f","html_url":"https://github.com/stefanocudini/leaflet-locationpicker","commit_stats":{"total_commits":72,"total_committers":7,"mean_commits":"10.285714285714286","dds":"0.38888888888888884","last_synced_commit":"1c63be5e339d3c85a77597912f8c364d5094ff0a"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/stefanocudini/leaflet-locationpicker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanocudini%2Fleaflet-locationpicker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanocudini%2Fleaflet-locationpicker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanocudini%2Fleaflet-locationpicker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanocudini%2Fleaflet-locationpicker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stefanocudini","download_url":"https://codeload.github.com/stefanocudini/leaflet-locationpicker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanocudini%2Fleaflet-locationpicker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265411540,"owners_count":23760631,"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":["coordinates","jquery","jquery-plugin","leaflet-plugin","leafletjs","location","maps","webgis","webmapping"],"created_at":"2024-10-02T08:56:24.889Z","updated_at":"2025-07-15T05:39:14.382Z","avatar_url":"https://github.com/stefanocudini.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Leaflet Location Picker\n============\n\n[![npm version](https://badge.fury.io/js/leaflet-locationpicker.svg)](http://badge.fury.io/js/leaflet-locationpicker)\n\nSimple location picker with Leaflet map\n\n# Usage:\n\n```html\n\n\u003clabel\u003eInsert a Geo Location \n\t\u003cinput id=\"geoloc\" type=\"text\" value=\"\" /\u003e\n\u003c/label\u003e\n\n```\n\n```javascript\n\n$('#geoloc').leafletLocationPicker();\n\n```\n\n# Examples:\n\n* [Simple](examples/simple.html)\n\n\n![Image](https://raw.githubusercontent.com/stefanocudini/leaflet-locationpicker/master/images/leaflet-locationpicker.png)\n\n# Options\n| Option\t  | Default  | Description                       |\n| --------------- | ---------------- | ----------------------------------------- |\n|className        | baseClassName    |css classname applied to widget |\n|location         | optsMap.center   | initial map center |\n|locationFormat   | '{lat}{sep}{lng}'| returne format of location value |\n|locationMarker   | true             | render manker on map |\n|locationDigits   | 6                | coordinates precision |\n|locationSep      | ','              | coordinates separator|\n|position         | 'topright'       | position relative to input|\n|layer            | 'OSM'            | base layer on map|\n|height           | 140              | height of map |\n|width            | 200              | with f map|\n|event            | 'click'          | event to fire location pick|\n|cursorSize       | '30px'           | size of \tcross cursor |\n|map              | optsMap          | custom [leflet map options](https://leafletjs.com/reference-1.6.0.html#map-option) |\n|onChangeLocation | $.noop           | callback retuned location after pick from map|\n|alwaysOpen       | false            | always open Maps (without close button) |\n|mapContainer     | \"\"               ||\n\n# Install\n```\nnpm install --save leaflet-locationpicker\n\n```\n\n# Build\n\nTherefore the deployment require **npm** installed in your system.\n```bash\nnpm install\ngrunt\n```\n\n# Source\n\n* [Github](https://github.com/stefanocudini/leaflet-locationpicker)\n* [NPM](https://npmjs.org/package/leaflet-locationpicker)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefanocudini%2Fleaflet-locationpicker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstefanocudini%2Fleaflet-locationpicker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefanocudini%2Fleaflet-locationpicker/lists"}