@icon/map-icons
Advanced tools
Comparing version 3.0.3-1 to 3.0.3-2
@@ -5,3 +5,3 @@ { | ||
"description": "An icon font for use with Google Maps API and Google Places API using SVG markers and icon labels", | ||
"version": "3.0.3-1", | ||
"version": "3.0.3-2", | ||
"class": "map-icon", | ||
@@ -8,0 +8,0 @@ "prefix": "map-icon-", |
{ | ||
"version": "3.0.3-1", | ||
"version": "3.0.3-2", | ||
"name": "@icon/map-icons", | ||
@@ -4,0 +4,0 @@ "description": "An icon font for use with Google Maps API and Google Places API using SVG markers and icon labels", |
@@ -21,12 +21,12 @@ # @icon/map-icons | ||
1. If you want to use just a few icons. Find the icons you need in "icons" folder. Then use them as regular images: | ||
1 . If you want to use just a few icons. Find the icons you need in "icons" folder. Then use them as regular images: | ||
``` | ||
<img height="32" width="32" src="@icon/map-icons/icons/bank.svg" /> | ||
<img height="32" width="32" src="@icon/map-icons/icons/bank.svg" /> | ||
``` | ||
2. Icons can be served from a CDN such as [Unpkg][Unpkg]. Simply use the `@icon/map-icons` npm package in the URL like the following: | ||
2 . Icons can be served from a CDN such as [Unpkg][Unpkg]. Simply use the `@icon/map-icons` npm package in the URL like the following: | ||
``` | ||
<img height="32" width="32" src="https://unpkg.com/@icon/map-icons/icons/bank.svg" /> | ||
<img height="32" width="32" src="https://unpkg.com/@icon/map-icons/icons/bank.svg" /> | ||
``` | ||
@@ -36,20 +36,20 @@ | ||
1. Install `@icon/map-icons` with this command. In the `<head>` of your html, reference the location to your `map-icons.css`. | ||
1 . Install `@icon/map-icons` with this command. In the `<head>` of your html, reference the location to your `map-icons.css`. | ||
``` | ||
<head> | ||
... | ||
<link rel="stylesheet" href="@icon/map-icons/map-icons.css"> | ||
... | ||
</head> | ||
<head> | ||
... | ||
<link rel="stylesheet" href="@icon/map-icons/map-icons.css"> | ||
... | ||
</head> | ||
``` | ||
2. Use [unpkg.com][Unpkg] to load directly map-icons without installing anything: | ||
2 . Use [unpkg.com][Unpkg] to load directly map-icons without installing anything: | ||
``` | ||
<head> | ||
... | ||
<link rel="stylesheet" href="https://unpkg.com/@icon/map-icons/map-icons.css"> | ||
... | ||
</head> | ||
<head> | ||
... | ||
<link rel="stylesheet" href="https://unpkg.com/@icon/map-icons/map-icons.css"> | ||
... | ||
</head> | ||
``` | ||
@@ -60,3 +60,3 @@ | ||
``` | ||
<i class="map-icon map-icon-bank"></i> | ||
<i class="map-icon map-icon-bank"></i> | ||
``` | ||
@@ -63,0 +63,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
534919