Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ig_markerfactory

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ig_markerfactory - npm Package Compare versions

Comparing version 2.9.5 to 2.9.6

2

package.json

@@ -6,3 +6,3 @@ {

"description": "Uses canvas to generate google.maps.Marker Icons from graphic fonts (i.e. font-awesome) on the fly",
"version": "2.9.5",
"version": "2.9.6",
"license": "MIT",

@@ -9,0 +9,0 @@ "repository": {

@@ -1,2 +0,2 @@

# Google Maps MarkerFactory
# IG MarkerFactory

@@ -42,13 +42,5 @@ This is a zero dependencies library that uses a canvas element to generate valid [google.maps.Marker](https://developers.google.com/maps/documentation/javascript/3.exp/reference#Marker) Icons from graphic-fonts, such as [Font-Awesome](https://fontawesome.github.io/Font-Awesome/), [Material-Icons](https://material.io/icons/) or [Fontello](http://fontello.com/).

run
See the example running at [http://huasofoundries.github.io/ig_markerfactory/](http://huasofoundries.github.io/ig_markerfactory/)
and you'll be presented with three graphical fonts variations, both in their CSS render as well as their PNG rendering generated by IG_Markerfactory.
```sh
npm install
jspm install
serve .
```
Open your browser at http://localhost:3000/ and you'll be presented with three graphical fonts variations, both in
their CSS render as well as their PNG rendering generated by IG_Markerfactory.
![screenshot from 2016-07-06 12-00-51](https://cloud.githubusercontent.com/assets/238439/16625228/7ac42b58-4371-11e6-9b44-6bdde4098958.png)

@@ -63,18 +55,27 @@

Install it with jspm like so:
### Including it with a script tag
```js
jspm install npm:ig_markerfactory
Include this package in your HTML file directly with a script tag using [unpkg](https://unpkg.com/#/) or [jsdelivr](https://www.jsdelivr.com/)
```html
<script src="https://unpkg.com/ig_markerfactory/dist/markerfactory.min.js"></script>
```
Or, if for some reason NPM is down:
**or**
```html
<script src="https://cdn.jsdelivr.net/npm/ig_markerfactory/dist/markerfactory.min.js"></script>
```
Install it with jspm like so:
```js
jspm install github:huasofoundries/ig_markerfactory
jspm install npm:ig_markerfactory
```
If you don't use jspm, you can as well clone this repo and copy
`dist/markerfactory.js` to your project.

@@ -87,3 +88,3 @@

```js
define(['huasofoundries/ig_markerfactory'], function(MarkerFactory) {
define(['ig_markerfactory'], function(MarkerFactory) {
var myIcon = MarkerFactory.autoIcon({

@@ -90,0 +91,0 @@ label: 'f1b9',

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc