Skip to content

Commit

Permalink
Merge pull request #17 from appshore/master
Browse files Browse the repository at this point in the history
Updated to Meteor @ v1.0
  • Loading branch information
bevanhunt committed Mar 21, 2015
2 parents 8fb6341 + fcdcbb2 commit febba11
Show file tree
Hide file tree
Showing 5 changed files with 503 additions and 503 deletions.
11 changes: 5 additions & 6 deletions README.md
Expand Up @@ -2,14 +2,13 @@

[Leaflet.js](http://leafletjs.com/), a Javascript library for mobile-friendly interactive maps.

Current Version: 0.7.3
Current Leaflet Version: 0.7.3 (stable at 2015-03-21)

## How to install
1. npm install -g meteorite (if not already installed)
2. mrt add leaflet
3. write the map code in Template.myTemplate.rendered
4. set in your client code the default image path
5. optional - set your free tile provider - [Read Docs](https://github.com/leaflet-extras/leaflet-providers)
1. meteor add beavanhunt:leaflet
2. write the map code in Template.myTemplate.rendered
3. set in your client code the default image path
4. optional - set your free tile provider - [Read Docs](https://github.com/leaflet-extras/leaflet-providers)

step 4
```coffeescript
Expand Down
1 change: 0 additions & 1 deletion lib/leaflet.js

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

30 changes: 20 additions & 10 deletions package.js
@@ -1,14 +1,24 @@
Package.describe({
summary: "Leaflet.js, mobile-friendly interactive maps. Read https://github.com/bevanhunt/meteor-leaflet for installation instructions."
name: "bevanhunt:leaflet",
summary: "Leaflet.js, mobile-friendly interactive maps. Read https://github.com/bevanhunt/meteor-leaflet for installation instructions. http://leafletjs.com",
git: "https://github.com/bevanhunt/meteor-leaflet.git",
author: "Bevan Hunt <bevan@bevanhunt.com> (http://www.bevanhunt.com)",
version: "0.3.10",
license: "MIT/X11"
});

Package.on_use(function (api, where) {
api.add_files('lib/leaflet.js', 'client');
api.add_files('lib/leaflet_providers.js', 'client');
api.add_files('styles/leaflet.css', 'client');
api.add_files('images/layers-2x.png', 'client');
api.add_files('images/layers.png', 'client');
api.add_files('images/marker-icon-2x.png', 'client');
api.add_files('images/marker-icon.png', 'client');
api.add_files('images/marker-shadow.png', 'client');
Package.onUse(function (api) {

api.versionsFrom('1.0');

api.addFiles([
'lib/leaflet.js',
'lib/leaflet_providers.js',
'styles/leaflet.css',
'images/layers-2x.png',
'images/layers.png',
'images/marker-icon-2x.png',
'images/marker-icon.png',
'images/marker-shadow.png'
],'client');
});
8 changes: 0 additions & 8 deletions smart.json

This file was deleted.

0 comments on commit febba11

Please sign in to comment.