Creates OpenLayers maps.
Demo at: http://jean-philippe.github.com/moolayers
<div id="map" data-zoom="1.5"> <nav> <ul> <li> <a href="#" title="Zoom in" data-action="zoomIn" accesskey="i">+</a> </li> <li> <a href="#" title="Zoom out" data-action="zoomOut" accesskey="o">-</a> </li> </ul> </nav> </div> <script src="http://www.openlayers.org/api/OpenLayers.js" type="text/javascript"></script> <script type="text/javascript"> var map = new MooLayers.Map('map'); </script>
<div id="map" data-zoom="1.5" data-markers-service="markers.json" />
expected json format:
{"markers" : [{ "content": "somewhere...", "latitude": 0, "longitude": 9.4 }, { "content": "somewhere else...", "latitude": 40, "longitude": 0 }] }
requirements: PhantomJS
git submodule init && git submodule update # Checks out CasperJS phantomjs test.js
A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.
Found a bug in this plugin? Please report it this repository's Github Issues.
blog comments powered by Disqus