Skip to content

Commit

Permalink
Add bundle.js for demo
Browse files Browse the repository at this point in the history
  • Loading branch information
pka committed Aug 26, 2015
1 parent dd3a016 commit 58fad94
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
node_modules/
npm-debug.log
bundle.js
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# OpenLayer 3 React example

Basic example for using [OpenLayers 3](http://openlayers.org/) with [React](http://facebook.github.io/react/) and [Redux](http://rackt.github.io/redux/)

## Demo

[Demo](https://rawgit.com/pka/ol3-react-example/master/index.html)

## Development

To run this example:

1. `npm install`
Expand Down
27 changes: 27 additions & 0 deletions bundle.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<html>
<head>
<title>Basic ol3 + react example</title>
<link rel="stylesheet" href="node_modules/openlayers/css/ol.css"></link>
<style>
.map { height: 400px; }
li:hover { background-color: yellow; }
Expand Down
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ var ReactRedux = require('react-redux');
var createStore = Redux.createStore;
var Provider = ReactRedux.Provider;
var connect = ReactRedux.connect;

require("openlayers/css//ol.css");
require("./popup.css");


Expand Down

0 comments on commit 58fad94

Please sign in to comment.