Mercurial > public > sg101
view 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 |
line wrap: on
line source
$(document).ready(function() { var map_div = $('#map-canvas'); if (map_div.length) { var map_options = { center: {lat: 15.0, lng: -30.0}, zoom: 2 }; var map = new google.maps.Map(map_div[0], map_options); } var add_form = $('#bandmap-add-form'); if (add_form.length) { } });