geolocation-marker
Advanced tools
Comparing version 1.1.3 to 2.0.0
@@ -5,18 +5,23 @@ { | ||
"author": "Chad Killingsworth <chadkillingsworth@gmail.com", | ||
"version": "1.1.3", | ||
"keywords": ["Google Maps", "Geolocation", "Marker"], | ||
"version": "2.0.0", | ||
"keywords": [ | ||
"Google Maps", | ||
"Geolocation", | ||
"Marker" | ||
], | ||
"homepage": "http://chadkillingsworth.github.io/geolocation-marker/", | ||
"main": "Gruntfile.js", | ||
"main": "geolocation-marker.js", | ||
"bugs": { | ||
"url" : "https://github.com/ChadKillingsworth/geolocation-marker/issues" | ||
"url": "https://github.com/ChadKillingsworth/geolocation-marker/issues" | ||
}, | ||
"license": "Apache-2.0", | ||
"repository": { | ||
"type" : "git", | ||
"url" : "https://github.com/ChadKillingsworth/geolocation-marker.git" | ||
"type": "git", | ||
"url": "https://github.com/ChadKillingsworth/geolocation-marker.git" | ||
}, | ||
"files": [ | ||
"dist", | ||
"src", | ||
"Gruntfile.js" | ||
"LICENSE.txt", | ||
"geolocation-marker.js", | ||
"geolocation-marker.js.map" | ||
], | ||
@@ -26,9 +31,7 @@ "directories": {}, | ||
"devDependencies": { | ||
"google-closure-tools-latest": ">=0.1.1", | ||
"grunt": "~0.4.0", | ||
"grunt-closure-compiler": "~0.0.21", | ||
"grunt-contrib-clean": "~0.4.0", | ||
"grunt-contrib-connect": "^0.8.0", | ||
"grunt-curl": "~2.0.3" | ||
"google-closure-compiler": "^20151015.0.0", | ||
"gulp": "^3.9.0", | ||
"gulp-closure-compiler": "^0.3.1", | ||
"gulp-connect": "^2.2.0" | ||
} | ||
} |
# Geolocation Marker for Google Maps API v3 | ||
This library uses geolocation to add a marker and accuracy circle to a map. The marker position is automatically updated as the user position changes. | ||
![GeolocationMarker example](http://chadkillingsworth.github.io/geolocation-marker/images/example.png) | ||
![GeolocationMarker example](https://chadkillingsworth.github.io/geolocation-marker/images/example.png) | ||
@@ -20,6 +20,17 @@ To add the Geolocation Marker, just instantiate a new GeolocationMarker object, passing the constructor your map object: | ||
[See the example](http://chadkillingsworth.github.io/geolocation-marker/test/example.html). | ||
[See the example](https://chadkillingsworth.github.io/geolocation-marker/test/example.html). | ||
*Note: This library will only function in browsers supporting the W3C Geolocation API. This excludes Internet Explorer versions 8 and older.* | ||
[Reference documentation](http://chadkillingsworth.github.io/geolocation-marker/docs/reference.html) | ||
[Reference documentation](https://chadkillingsworth.github.io/geolocation-marker/docs/reference.html) | ||
## Modules | ||
The source now uses ES6 modules. It may be included in a build with an ES6 import. | ||
The compiled source now uses a UMD pattern so that it is compatible with both AMD and commonjs | ||
modules. However, the library depends on the Google Maps API. The maps api must be defined prior to the GeolocationMarker inclusion. | ||
## Installing from Bower | ||
This repo no longer contains the compiled source files. To install the library using bower, use the release distributable url: | ||
bower install https://github.com/ChadKillingsworth/geolocation-marker/releases/download/v2.0.0/geolocation-marker.tgz |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
4
36
13355
5
280