diff --git a/README.md b/README.md index 26e6d19..959ca4d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![npm version](https://img.shields.io/npm/v/leaflet-geocoder-mapzen.svg?style=flat-square)](https://www.npmjs.com/package/leaflet-geocoder-mapzen) +[![npm version](https://img.shields.io/npm/v/pelias-leaflet-plugin.svg?style=flat-square)](https://www.npmjs.com/package/pelias-leaflet-plugin) [![CircleCI](https://img.shields.io/circleci/project/mapzen/leaflet-geocoder.svg?style=flat-square)](https://circleci.com/gh/mapzen/leaflet-geocoder/) [![David devDependencies](https://img.shields.io/david/dev/mapzen/leaflet-geocoder.svg?style=flat-square)](https://david-dm.org/mapzen/leaflet-geocoder/#info=devDependencies) [![Coverage Status](https://img.shields.io/coveralls/mapzen/leaflet-geocoder.svg?style=flat-square)](https://coveralls.io/github/mapzen/leaflet-geocoder?branch=master) @@ -350,10 +350,10 @@ geocoder.removeFrom(map); // or geocoder.remove() in Leaflet v1 If you `require()` or `import` and set it to a variable, you can also use `new` with that variable. ```javascript -var MyGeocoderPlugin = require('leaflet-geocoder-mapzen'); +var MyGeocoderPlugin = require('pelias-leaflet-plugin'); // Alternatively -import MyGeocoderPlugin from 'leaflet-geocoder-mapzen'; +import MyGeocoderPlugin from 'pelias-leaflet-plugin'; // Then var geocoder = new MyGeocoderPlugin(''); diff --git a/bower.json b/bower.json index 3bc71be..582b813 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { - "name": "leaflet-geocoder-mapzen", + "name": "pelias-leaflet-plugin", "version": "1.9.4", - "homepage": "https://github.com/mapzen/leaflet-geocoder", + "homepage": "https://github.com/pelias/leaflet-plugin", "authors": [ "Harish Krishna", "Lou Huang "