Skip to content
This repository has been archived by the owner on Oct 1, 2019. It is now read-only.

Commit

Permalink
Rename project, repo and package name; update license.
Browse files Browse the repository at this point in the history
Test with ol 4.x
  • Loading branch information
Vladimir Vershinin committed Mar 20, 2017
1 parent 2e6d1de commit f9efe4b
Show file tree
Hide file tree
Showing 20 changed files with 96 additions and 92 deletions.
1 change: 0 additions & 1 deletion .idea/.name

This file was deleted.

2 changes: 1 addition & 1 deletion .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
The MIT License (MIT)

Copyright (c) 2016 Matt Walker, Vladimir Vershinin
Based on OpenLayers 3. Copyright 2005-2015 OpenLayers Contributors. All rights reserved. http://openlayers.org.
Copyright for portions of project ol3-popup-umd are held by [Matt Walker, 2016] as part of project ol3-popup.
All other copyright for project ol3-popup-umd are held by [Vladimir Vershinin, 2016].
Copyright (c) 2016 Matt Walker (original work)
Copyright (c) 2016-2017 Vladimir Vershinin <[email protected]> (modification work)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,34 +1,36 @@
[![Build Status](https://travis-ci.org/ghettovoice/ol3-popup-umd.svg?branch=master)](https://travis-ci.org/ghettovoice/ol3-popup-umd)
[![view on npm](http://img.shields.io/npm/v/ol3-popup-umd.svg)](https://www.npmjs.org/package/ol3-popup-umd)
[![Build Status](https://travis-ci.org/ghettovoice/ol-popup-umd.svg?branch=master)](https://travis-ci.org/ghettovoice/ol-popup-umd)
[![view on npm](http://img.shields.io/npm/v/ol-popup-umd.svg)](https://www.npmjs.org/package/ol-popup-umd)
[![License](https://img.shields.io/github/license/ghettovoice/ol-popup-umd.svg)](https://github.com/ghettovoice/ol-popup-umd/blob/master/LICENSE)

# ol3-popup-umd
# ol-popup-umd

Basic popup for an OpenLayers 3 map. By default the map is centered so that the popup is entirely visible.
> Popup overlay for OpenLayers with UMD wrapper
Basic popup for an [OpenLayers](http://openlayers.org) lib. By default the map is centered so that the popup is entirely visible.
This project originally forked from [ol3-popup](https://github.com/walkermatt/ol3-popup) by Matt Walker
and extended with new features like event emitting, additional methods and others, also packed as UMD package.

## Installation

Install it thought NPM or Bower:
Install it thought NPM:

```shell
npm install ol3-popup-umd
bower install ol3-popup-umd
npm install ol-popup-umd
```

Or download the latest version archive and add it with script tag:

```html
<script src="ol3-popup-umd/dist/bundle.min.js"></script>
<script src="ol-popup-umd/dist/bundle.min.js"></script>
```

## Usage

Plugin is packed into UMD wrapper, import it with CommonJS or ES6:

```js
import PopupOverlay from 'ol3-popup-umd';
const PopupOverlay = require('ol3-popup-umd');
import PopupOverlay from 'ol-popup-umd';
const PopupOverlay = require('ol-popup-umd');
```

In Browser environment it is available as `ol.PopupOverlay`.
Expand Down
13 changes: 7 additions & 6 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
{
"name": "ol3-popup-umd",
"description": "Popup overlay for OpenLayers 3 with UMD wrapper",
"name": "ol-popup-umd",
"description": "Popup overlay for OpenLayers with UMD wrapper",
"main": "dist/bundle.js",
"authors": [
"Matt Walker (http://longwayaround.org.uk)",
"Avi Kelman <[email protected]>"
],
"license": "MIT",
"keywords": [
"ol3",
"ol",
"openlayers",
"ol3-popup-umd"
"ol-popup-umd"
],
"homepage": "https://github.com/ghettovoice/ol3-popup-umd",
"homepage": "https://github.com/ghettovoice/ol-popup-umd",
"repository": {
"type": "git",
"url": "git://github.com/ghettovoice/ol3-popup-umd.git"
"url": "git://github.com/ghettovoice/ol-popup-umd.git"
},
"ignore": [
"**/.*",
"*.iml",
"node_modules",
"bower_components",
"test",
Expand Down
11 changes: 5 additions & 6 deletions dist/bundle.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/bundle.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 16 additions & 22 deletions dist/bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/bundle.js.map

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions dist/bundle.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f9efe4b

Please sign in to comment.