{"id":13430580,"url":"https://github.com/scottdejonge/map-icons","last_synced_at":"2025-05-15T09:02:21.899Z","repository":{"id":9929910,"uuid":"11943376","full_name":"scottdejonge/map-icons","owner":"scottdejonge","description":"An icon font for use with Google Maps API and Google Places API using SVG markers and icon labels","archived":false,"fork":false,"pushed_at":"2024-02-23T09:13:30.000Z","size":3043,"stargazers_count":1045,"open_issues_count":23,"forks_count":199,"subscribers_count":42,"default_branch":"master","last_synced_at":"2025-05-12T23:41:51.956Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://map-icons.com/","language":"HTML","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/scottdejonge.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}},"created_at":"2013-08-07T06:48:00.000Z","updated_at":"2025-03-27T08:51:05.000Z","dependencies_parsed_at":"2024-04-13T12:44:44.885Z","dependency_job_id":"be2e15e4-8e3c-4052-b5e4-2a74f8527703","html_url":"https://github.com/scottdejonge/map-icons","commit_stats":{"total_commits":80,"total_committers":8,"mean_commits":10.0,"dds":0.125,"last_synced_commit":"dbf6fd7caedd60d11b5bfb5f267a114a6847d012"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottdejonge%2Fmap-icons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottdejonge%2Fmap-icons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottdejonge%2Fmap-icons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottdejonge%2Fmap-icons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scottdejonge","download_url":"https://codeload.github.com/scottdejonge/map-icons/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254310513,"owners_count":22049468,"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":[],"created_at":"2024-07-31T02:00:55.338Z","updated_at":"2025-05-15T09:02:21.682Z","avatar_url":"https://github.com/scottdejonge.png","language":"HTML","funding_links":[],"categories":["HTML","Iconic fonts"],"sub_categories":[],"readme":"Map Icons\n=========\n\n## Map Icons is deprecated [read the thread](https://github.com/scottdejonge/map-icons/issues/60)\n\nMap Icons is an icon font for use with Google Maps API and Google Places API using SVG markers and icon labels\n\nMap Icons makes [Google Maps Markers](https://developers.google.com/maps/documentation/javascript/reference#Marker) dynamic with control over shape, color, size, and icon easily changed using options in the marker object as well as simple [SVG Notation](http://www.w3.org/TR/SVG/paths.html#PathData) and CSS.\n\n## Quick start\n\nThere are three quick start ways to download Map Icons available:\n\n- [Download the latest release](https://github.com/scottdejonge/map-icons/archive/master.zip).\n- Clone the repo: `git clone https://github.com/scottdejonge/map-icons.git`.\n\n## Documentation\n\n\u003chttp://map-icons.com\u003e\n\n## Updates\n\nKeep track development updates by following [@map_icons](https://twitter.com/map_icons) on Twitter.\n\n## Versioning\n\nFor transparency into our release cycle and in striving to maintain backward compatibility, Map Icons is maintained under [the Semantic Versioning guidelines](http://semver.org/).\n\n## Creators\n\n**Scott de Jonge**\n\n- Twitter: [@scottdejonge](https://twitter.com/scottdejonge)\n- Github: [@scottdejonge](https://github.com/scottdejonge)\n\n## Usage\nMap Icons extends the [Google Maps Marker](https://developers.google.com/maps/documentation/javascript/reference#Marker) Object to enable either an image or SVG marker to be used with the icon placed on top as a label.\n\n### Include\n\nInclude the fonts in the `dist/font` directory as well as the `dist/css/map-icons.css` stylesheet to use icons in markup as an icon font.\n\nTo use the icons with Google Maps include `dist/js/map-icons.js`\n\n\n### Classes\n\nIcon class names are to be used with the `map-icon` class prefix.\n\n```\n\u003cspan class=\"map-icon map-icon-point-of-interest\"\u003e\u003c/span\u003e\n```\n\n### Styling the Icon\n\nStyles to icons can be applied with the `.map-icon` CSS selector.\n\n\n```\n.map-icon {\n\t...\n}\n```\n\nExplict styles to icons being used on a Google Map should be applied with `.map-icon-label .map-icon` CSS selector.\n\n\n```\n.map-icon-label .map-icon {\n\tfont-size: 24px;\n\tcolor: #FFFFFF;\n\tline-height: 48px;\n\ttext-align: center;\n\twhite-space: nowrap;\n}\n```\n\n### Creating a Marker\n\nMarkers are created just like a normal Google Maps Marker, however, the class is extended for the `map_icon_label` property to add in markup for marker labels.\n\n**Note:** You should be creating an instance of `mapIcons.Marker` rather than `google.maps.Marker` in order for the functionality added by `map_icon_label` to work.\n\n```\nvar marker = new mapIcons.Marker({\n\tmap: map,\n\tposition: new google.maps.LatLng(-27.46577, 153.02303),\n\ticon: {\n\t\tpath: mapIcons.shapes.SQUARE_PIN,\n\t\tfillColor: '#00CCBB',\n\t\tfillOpacity: 1,\n\t\tstrokeColor: '',\n\t\tstrokeWeight: 0\n\t},\n\tmap_icon_label: '\u003cspan class=\"map-icon map-icon-point-of-interest\"\u003e\u003c/span\u003e'\n});\n```\n\n## License\n### Font License\n\nApplies to font files inside: `dist` directory.\n\nMap Icons licensed under [SIL OFL 1.1](http://scripts.sil.org/OFL)\n\n### Code License\n\nApplies to code inside: `dist` directory.\n\nCode licensed under [MIT License](http://opensource.org/licenses/mit-license.html)\n\n### Documentation License\n\nApplies to files not a part of other licenses.\n\nDocumentation licensed under [CC BY 3.0](http://creativecommons.org/licenses/by/3.0/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottdejonge%2Fmap-icons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscottdejonge%2Fmap-icons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottdejonge%2Fmap-icons/lists"}