Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mizzao/meteor-openlayers
OpenLayers package for Meteor, pulling in code, CSS, and images
https://github.com/mizzao/meteor-openlayers
Last synced: 3 months ago
JSON representation
OpenLayers package for Meteor, pulling in code, CSS, and images
- Host: GitHub
- URL: https://github.com/mizzao/meteor-openlayers
- Owner: mizzao
- Created: 2014-07-18T19:12:06.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-05-16T15:44:12.000Z (over 7 years ago)
- Last Synced: 2023-04-05T03:40:15.077Z (almost 2 years ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
OpenLayers
==========[OpenLayers](http://openlayers.org/): Free Maps for the Web
This package pulls OpenLayers with code, CSS, and images.
## Installation and Usage
Install with Meteor 0.9 or later:
```
$ meteor add mizzao:openlayers
```Check out the docs at http://openlayers.org/.
## Tips and Tricks
- This package automatically loads the OpenLayers CSS. Thus, when creating an `OpenLayers.Map` or any of its derivatives (like `OverviewMap`), make sure to set the `theme` field to `null` so that OpenLayers doesn't try to load CSS from its default path. For more information, see [Deploying OpenLayers](http://docs.openlayers.org/library/deploying.html#deploying-files) and https://github.com/openlayers/openlayers/issues/1067.
- For an example of integration with a Meteor app, see https://github.com/mizzao/CrowdMapper/blob/master/client/views/map.coffee.