https://github.com/defnull/mlayer
JavaScript library to display dynamic multi-layered maps.
https://github.com/defnull/mlayer
Last synced: over 1 year ago
JSON representation
JavaScript library to display dynamic multi-layered maps.
- Host: GitHub
- URL: https://github.com/defnull/mlayer
- Owner: defnull
- Created: 2011-05-06T18:27:33.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2011-05-10T14:10:42.000Z (about 15 years ago)
- Last Synced: 2025-01-26T03:45:01.974Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 104 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
==========================
MLayer: OpenLayers light
==========================
MLayer is a tiny JavaScript library to display multi-layered dynamic maps in a
browser. It is heavily inspired by http://openlayers.org/ but aims to be
smaller, faster and less complicated.
Usage
======
::
//
var map = new mlayer.Map('#map', {});
var layer = new mlayer.layer.Tiles({
url: 'http://example.com/tiles/{size}/{x}-{y}-{z}.png'
});
map.addLayer(layer);
map.show();
Licence
=======
Copyright (c) 2011 Marcel Hellkamp
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.