{
"info": {
"author": "Springload",
"author_email": "hello@springload.co.nz",
"bugtrack_url": null,
"classifiers": [
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content"
],
"description": "# wagtailgmaps [](https://pypi.python.org/pypi/wagtailgmaps)\n\n> Simple Google Maps address formatter and LatLng provider for [Wagtail](https://wagtail.io/) fields.\n\n*Check out [Awesome Wagtail](https://github.com/springload/awesome-wagtail) for more awesome packages and resources from the Wagtail community.*\n\n\n\n## Quickstart\n\n1. Install with `pip install wagtailgmaps`\n1. Add `wagtailgmaps` to your `settings.py` `INSTALLED_APPS` section.\n1. Add some configuration in your `settings.py` file:\n\n ```python\n # Mandatory\n WAGTAIL_ADDRESS_MAP_CENTER = 'Wellington, New Zealand' # It must be a properly formatted address\n WAGTAIL_ADDRESS_MAP_KEY = 'xxx'\n\n # Optional\n WAGTAIL_ADDRESS_MAP_ZOOM = 8 # See https://developers.google.com/maps/documentation/javascript/tutorial#MapOptions for more information.\n WAGTAIL_ADDRESS_MAP_LANGUAGE = 'ru' # See https://developers.google.com/maps/faq#languagesupport for supported languages.\n ```\n\n > As of June 22th 2016, Google maps requires an API key. See how to [Get a key](https://developers.google.com/maps/documentation/javascript/get-api-key). While you're there, you'll also need to enable the [Geocoding Service](https://developers.google.com/maps/documentation/javascript/geocoding), the [Maps JS API](https://developers.google.com/maps/documentation/javascript/) and the [Static Map API](https://developers.google.com/maps/documentation/static-maps/)\n\n4. Use it:\n\n ```python\n # myapp/models.py\n from django.db import models\n from wagtail.wagtailcore.models import Page\n from wagtailgmaps.edit_handlers import MapFieldPanel\n\n class MapPage(Page):\n # Wagtailgmaps expects a `CharField` (or any other field that renders as a text input)\n formatted_address = models.CharField(max_length=255)\n latlng_address = models.CharField(max_length=255)\n\n # Use the `MapFieldPanel` just like you would use a `FieldPanel`\n content_panels = Page.content_panels + [\n MapFieldPanel('formatted_address'),\n MapFieldPanel('latlng_address', latlng=True),\n ]\n ```\n\n ```html\n # myapp/templates/myapp/map_page.html\n Open map (Formatted Address)\n Open map (Lat/Long Address)\n ```\n\n## Additional information\n\n### `MapFieldPanel` options\n\n - `heading` - A custom heading in the admin, defaults to \"Location\"\n - `classname` - Add extra css classes to the field\n - `latlng` - Field returns a LatLng instead of an address\n - `centre` - A custom override for this field\n - `zoom` - A custom override for this field\n\n### How the address option works under the hook\n\nIf using the address option, the field gets updated according to the [Google Geocoding Service](https://developers.google.com/maps/documentation/geocoding/) each time:\n\n* The map marker gets dragged and dropped into a location (`dragend` JS event).\n* Click happens somewhere in the map (`click` JS event).\n* Return key is pressed after editing the field (`enterKey` JS event for return key only).\n\n### Troubleshooting\n\nWhen editing the model from the admin interface the affected field shows up with a map, like the screenshot above. If it doesn't, check your browser console to make sure that there is no error related to your API key.\n\n## Development\n\n### Releases\n\n- Make a new branch for the release of the new version.\n- Update the [CHANGELOG](https://github.com/springload/wagtailgmaps/CHANGELOG.md).\n- Update the version number in `wagtailgmaps/__init__.py`, following semver.\n- Make a PR and squash merge it.\n- Back on master with the PR merged, use `make publish` (confirm, and enter your password).\n- Finally, go to GitHub and create a release and a tag for the new version.\n- Done!",
"description_content_type": "",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/springload/wagtailgmaps/",
"keywords": "",
"license": "MIT",
"maintainer": "",
"maintainer_email": "",
"name": "wagtailgmaps",
"package_url": "https://pypi.org/project/wagtailgmaps/",
"platform": "",
"project_url": "https://pypi.org/project/wagtailgmaps/",
"project_urls": {
"Homepage": "https://github.com/springload/wagtailgmaps/"
},
"release_url": "https://pypi.org/project/wagtailgmaps/1.0.1/",
"requires_dist": null,
"requires_python": "",
"summary": "Google Maps widget for address fields in Wagtail",
"version": "1.0.1"
},
"last_serial": 3998000,
"releases": {
"0.2": [
{
"comment_text": "",
"digests": {
"md5": "202f1b9efa853f1c8b884f73c804d8b9",
"sha256": "12fb72591502196deed60c2ade7c647ad7ef5190498a7c8010dd789d54671a61"
},
"downloads": -1,
"filename": "wagtailgmaps-0.2-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "202f1b9efa853f1c8b884f73c804d8b9",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 9666,
"upload_time": "2015-05-12T05:31:52",
"url": "https://files.pythonhosted.org/packages/5f/bb/a76c6a1be6b2aabc2030ca68f2d0b86091e2e6bfea57966569b9921a1387/wagtailgmaps-0.2-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "0d92e3cb2b3569c0e4131c374b55c1ca",
"sha256": "032bb68e340e4fa2993c7125fb15973ee41f6562889af599405640e854eec784"
},
"downloads": -1,
"filename": "wagtailgmaps-0.2.tar.gz",
"has_sig": false,
"md5_digest": "0d92e3cb2b3569c0e4131c374b55c1ca",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5644,
"upload_time": "2015-05-12T05:31:55",
"url": "https://files.pythonhosted.org/packages/a9/f3/570fd9b699bb54c25110a89530d2a30763d61a57c2d129a20c6b85fc55c3/wagtailgmaps-0.2.tar.gz"
}
],
"0.2.1": [
{
"comment_text": "",
"digests": {
"md5": "01d4780ea393e0934e87e3be3cf4b519",
"sha256": "52c03bc54961cb4fb17f3c99bb75819a156140c75e20af14f34a404023bdb788"
},
"downloads": -1,
"filename": "wagtailgmaps-0.2.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "01d4780ea393e0934e87e3be3cf4b519",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 10097,
"upload_time": "2015-05-25T02:46:23",
"url": "https://files.pythonhosted.org/packages/bf/a7/446c154a20c30869f9013308650f5970e35ec2d74bdd2a112fc2dd22bd6e/wagtailgmaps-0.2.1-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "6945bf8312fc57dd6bdfcb27ff72abe0",
"sha256": "023b19df213522db2db1fa62f7413386b2a7b56ea80fa5ef95d501921754f901"
},
"downloads": -1,
"filename": "wagtailgmaps-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "6945bf8312fc57dd6bdfcb27ff72abe0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5880,
"upload_time": "2015-05-25T02:46:29",
"url": "https://files.pythonhosted.org/packages/17/43/7b412ac498ba64dacd35fc96fc29e864821d9fbd2313a16b06854e380ed8/wagtailgmaps-0.2.1.tar.gz"
}
],
"0.2.2": [
{
"comment_text": "",
"digests": {
"md5": "f4a463b2ddce1b7d4a93b05b7df8670c",
"sha256": "0ab155e2ee75176bc9757c5d5175828108121b20a7acbe2e5e2cc550432434e0"
},
"downloads": -1,
"filename": "wagtailgmaps-0.2.2-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "f4a463b2ddce1b7d4a93b05b7df8670c",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 10100,
"upload_time": "2015-07-07T05:49:20",
"url": "https://files.pythonhosted.org/packages/34/ef/42cd6948753f27da7fe8fbca62a7b3ba49f8134608e4e95f3b84f41233e2/wagtailgmaps-0.2.2-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "fbd523934de7a9610963db8281b340d5",
"sha256": "8e54f9595e836b73149015bf1d833661ad91510eb55c7a129d773ac25791d682"
},
"downloads": -1,
"filename": "wagtailgmaps-0.2.2.tar.gz",
"has_sig": false,
"md5_digest": "fbd523934de7a9610963db8281b340d5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6370,
"upload_time": "2015-07-07T04:13:27",
"url": "https://files.pythonhosted.org/packages/b8/f6/9b39e7fb8053a4230a8dc6d1a1f0b5a19d70f3809d4ed9250cdb0b6f1742/wagtailgmaps-0.2.2.tar.gz"
}
],
"0.2.3": [
{
"comment_text": "",
"digests": {
"md5": "fa2ff25d65fd8736c3391035d09edda9",
"sha256": "031d6c906db1d1582fd80e2200dc68851f06bbac6439ea8f20c7289081f995af"
},
"downloads": -1,
"filename": "wagtailgmaps-0.2.3-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "fa2ff25d65fd8736c3391035d09edda9",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 10512,
"upload_time": "2015-10-02T01:22:25",
"url": "https://files.pythonhosted.org/packages/24/02/c1f4d60165813581982c78cf3c0d12c1f111a5f8aa85d9cf2827df0a266f/wagtailgmaps-0.2.3-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "5055aae59b74b41d71d5b7b0ce871b75",
"sha256": "38789ddd3f9752348b1cfcc64f3107b5f66289b4fab1357f3f5b3ef2ffe49199"
},
"downloads": -1,
"filename": "wagtailgmaps-0.2.3.tar.gz",
"has_sig": false,
"md5_digest": "5055aae59b74b41d71d5b7b0ce871b75",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6673,
"upload_time": "2015-10-02T01:22:36",
"url": "https://files.pythonhosted.org/packages/f8/7b/3cba649b4d3a1c42ed850ec4225dc27e81629861e38b876ca2e77335b644/wagtailgmaps-0.2.3.tar.gz"
}
],
"0.2.4": [
{
"comment_text": "",
"digests": {
"md5": "f0a4704994bf075ccd747a2c3a0c4467",
"sha256": "cb874bb73cefdaad5670544db2ebf8803c3494c3593627f5f238bc5dd8d99099"
},
"downloads": -1,
"filename": "wagtailgmaps-0.2.4-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "f0a4704994bf075ccd747a2c3a0c4467",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 10146,
"upload_time": "2016-02-15T03:38:53",
"url": "https://files.pythonhosted.org/packages/88/12/027df284cce6d33ef935b059aef97b80276386de61cbf7152d045223427d/wagtailgmaps-0.2.4-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "110409e7370708963d5c5912fd6268cc",
"sha256": "599d1af180cba5b2a72d36305a46c2201bbb8c56a27e1472b8d0571ca41e3fef"
},
"downloads": -1,
"filename": "wagtailgmaps-0.2.4.tar.gz",
"has_sig": false,
"md5_digest": "110409e7370708963d5c5912fd6268cc",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6538,
"upload_time": "2016-02-15T03:38:58",
"url": "https://files.pythonhosted.org/packages/dd/7b/d73ccbe15a4e7dae17409aa8b7b497d153967533033665a8ef4302fda74e/wagtailgmaps-0.2.4.tar.gz"
}
],
"0.2.5": [
{
"comment_text": "",
"digests": {
"md5": "441dcf65da57094f0097475c11c77793",
"sha256": "a4f1ec0c52173a8c8b4439bcc98faaa38404dc0176162871875bc7d1d43c869b"
},
"downloads": -1,
"filename": "wagtailgmaps-0.2.5.tar.gz",
"has_sig": false,
"md5_digest": "441dcf65da57094f0097475c11c77793",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6430,
"upload_time": "2016-04-04T03:49:01",
"url": "https://files.pythonhosted.org/packages/d2/72/9cf1377566a70333ffde02efba041f56627048ebedf6b4561df005ef3a20/wagtailgmaps-0.2.5.tar.gz"
}
],
"0.3": [
{
"comment_text": "",
"digests": {
"md5": "013516b128a1f83117305bbaeb629cd4",
"sha256": "f8c1e47f7c32a76d13f1520abe63d6696449c4ca69250169f4667a1691ab015f"
},
"downloads": -1,
"filename": "wagtailgmaps-0.3.tar.gz",
"has_sig": false,
"md5_digest": "013516b128a1f83117305bbaeb629cd4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8914,
"upload_time": "2017-09-21T04:39:41",
"url": "https://files.pythonhosted.org/packages/4f/55/f9c3c23af1105e913319bd3264544133818b1a18454d406dbbec5fc91285/wagtailgmaps-0.3.tar.gz"
}
],
"0.3.1": [
{
"comment_text": "",
"digests": {
"md5": "1dbd02daa0b9a762c6c28247add7d23f",
"sha256": "efbae9a68ef5646fad08f4d5f45751b975e490a75f869b35c4aea2a2895463a0"
},
"downloads": -1,
"filename": "wagtailgmaps-0.3.1.tar.gz",
"has_sig": false,
"md5_digest": "1dbd02daa0b9a762c6c28247add7d23f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 12465,
"upload_time": "2017-11-21T01:25:09",
"url": "https://files.pythonhosted.org/packages/e6/14/0625d33f0fd87cb8b51b0e7a456bfeb3c49294069e67ce33610bc4eaf4f2/wagtailgmaps-0.3.1.tar.gz"
}
],
"0.4": [
{
"comment_text": "",
"digests": {
"md5": "f45e544cc9930a6616e599c214ed2e85",
"sha256": "b05809007146c158787a602082b6d872ccfc73e38a4cb1ebc504ca7e9f3f8656"
},
"downloads": -1,
"filename": "wagtailgmaps-0.4.tar.gz",
"has_sig": false,
"md5_digest": "f45e544cc9930a6616e599c214ed2e85",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 12639,
"upload_time": "2018-01-15T05:47:19",
"url": "https://files.pythonhosted.org/packages/b6/25/85dd3c029a88cb0cd66a765f45569e71096b39c64499e5b19ea19b3042f8/wagtailgmaps-0.4.tar.gz"
}
],
"1.0": [
{
"comment_text": "",
"digests": {
"md5": "1901051ac958854234b03917687d5c56",
"sha256": "9f65feac9b93f862e55accfbd69ff482d9e0f0a43ed4c0683fbb6e5ee124bbcd"
},
"downloads": -1,
"filename": "wagtailgmaps-1.0.tar.gz",
"has_sig": false,
"md5_digest": "1901051ac958854234b03917687d5c56",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 14124,
"upload_time": "2018-03-09T03:37:45",
"url": "https://files.pythonhosted.org/packages/5d/a0/6456e0575265dee92215c69568fdf528ec0b5955bb87705ffc77386b312d/wagtailgmaps-1.0.tar.gz"
}
],
"1.0.1": [
{
"comment_text": "",
"digests": {
"md5": "f466a68241170b12c42936288850f442",
"sha256": "504e58dd4edad61f02bae2f3fd358e904fc6b392d948def5de06cac6e225babb"
},
"downloads": -1,
"filename": "wagtailgmaps-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "f466a68241170b12c42936288850f442",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 14173,
"upload_time": "2018-06-25T01:05:46",
"url": "https://files.pythonhosted.org/packages/9d/28/847aad8fc9b99acb9c1a2564e6364e14a4d53fbcf2df41817b19c3deedc4/wagtailgmaps-1.0.1.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "f466a68241170b12c42936288850f442",
"sha256": "504e58dd4edad61f02bae2f3fd358e904fc6b392d948def5de06cac6e225babb"
},
"downloads": -1,
"filename": "wagtailgmaps-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "f466a68241170b12c42936288850f442",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 14173,
"upload_time": "2018-06-25T01:05:46",
"url": "https://files.pythonhosted.org/packages/9d/28/847aad8fc9b99acb9c1a2564e6364e14a4d53fbcf2df41817b19c3deedc4/wagtailgmaps-1.0.1.tar.gz"
}
]
}