comparison bandmap/static/js/bandmap.js @ 820:9a0df7bd2409

Bandmap application work in progress. Model defined. Map is displaying. Initial display of add form.
author Brian Neal <bgneal@gmail.com>
date Sun, 21 Sep 2014 18:20:29 -0500
parents
children 71db8076dc3d
comparison
equal deleted inserted replaced
819:38db6ec61af3 820:9a0df7bd2409
1 $(document).ready(function() {
2 var map_div = $('#map-canvas');
3 if (map_div.length) {
4 var map_options = {
5 center: {lat: 15.0, lng: -30.0},
6 zoom: 2
7 };
8 var map = new google.maps.Map(map_div[0], map_options);
9 }
10
11 var add_form = $('#bandmap-add-form');
12 if (add_form.length) {
13 }
14 });