| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This plugin will helping you to create the simple or complex Google Maps on the page.
Supported layers: Marker, Polyline, Polygon, Circle, Direction and KML.
For complete parameters, methods and Demo:
http://app.essoduke.org/tinyMap/ (Traditional Chinese)
First, include the Google Maps API v3 in HEAD and tinyMap before </body>.
<script src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script src="jquery.tinyMap.js"></script>Second, Create the container in HTML like this:
<div id="map"></div>Third, Setting up the style of container in CSS:
#map{width:(WIDTH); height:(HEIGHT)}Finally, Call it!
$(function () {
$('#map').tinyMap();
});This plugin is released under the MIT License.
| Back | FazBrowse Home | New Git URL |