{"id":23594311,"url":"https://github.com/felipesousa/polyfleat-map","last_synced_at":"2025-11-04T15:30:28.407Z","repository":{"id":58245723,"uuid":"80837678","full_name":"felipesousa/polyfleat-map","owner":"felipesousa","description":":leaves: A Polymer component to use Leaflet Map easily.","archived":false,"fork":false,"pushed_at":"2018-09-12T13:59:06.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-27T10:11:33.069Z","etag":null,"topics":["leafletjs","maps","polymer","web-components"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/felipesousa.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}},"created_at":"2017-02-03T14:45:28.000Z","updated_at":"2018-09-12T13:59:07.000Z","dependencies_parsed_at":"2022-08-31T04:50:07.596Z","dependency_job_id":null,"html_url":"https://github.com/felipesousa/polyfleat-map","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/felipesousa%2Fpolyfleat-map","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipesousa%2Fpolyfleat-map/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipesousa%2Fpolyfleat-map/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipesousa%2Fpolyfleat-map/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felipesousa","download_url":"https://codeload.github.com/felipesousa/polyfleat-map/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239435068,"owners_count":19638053,"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":["leafletjs","maps","polymer","web-components"],"created_at":"2024-12-27T09:17:00.243Z","updated_at":"2025-11-04T15:30:28.363Z","avatar_url":"https://github.com/felipesousa.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Polyfleat Map\n\nMap Component created as example in GDG Hangouts Maceió using [Polymer](https://www.polymer-project.org/1.0/) and [LeafletJS](http://leafletjs.com/).\n\n## Usage\n\n1 - Install the element using Bower:\n\n``` bash\n$ bower install --save polyfleat-map \n```\n\n2 - Import the component to your file: \n\n``` html\n\u003clink rel=\"import\" href=\"/bower_components/polyfleat-map/polyfleat-map.html\"\u003e\n```\n\n3 - Call the element: \n\n``` html\n\u003cpolyfleat-map\n    token=\"YOUR MAPBOX TOKEN\"\n    lat=\"YOUR LATITUDE\"\n    lng=\"YOUR LONGITUDE\"\u003e\n\u003c/polyfleat-map\u003e\n```\n\n## Properties\n\nProperty  | Type        | Default   | Description\n:---      |:---         |:---       |:---\n`token`    | *String*    | `null`       | *You can get your token access [here](https://www.mapbox.com/studio/).\n`lat`    | *Number*    | `51.050`       | *Latitude value.\n`lng`    | *Number*    | `-0.09`       | *Longitude value.\n`zoom`    | *Number*    | `12`       | Zoom at map.\n`type`    | *Number*    | `streets`       | set your map type, that can `pirates`, `streets`, `satellite`, `light` and `dark`.\n\n### Custom Size Map\n\nFor default, the map is 400x400 px, but, you can set the size of map, using a simple override variables, see bellow:\n\n``` html\n\u003cstyle is=\"custom-style\"\u003e\n    polyfleat-map {\n        --map-size-height-custom: 300px;\n\t--map-size-width-custom: 600px;\n    }\n\u003c/style\u003e\n````\n\n## Contributing\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipesousa%2Fpolyfleat-map","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelipesousa%2Fpolyfleat-map","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipesousa%2Fpolyfleat-map/lists"}