Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('#filter-form').ajaxForm({
- success: function(responseText, statusText) {
- var data = $.parseJSON(responseText);
- accidents_layer.setMap(null);
- accidents_layer = new google.maps.FusionTablesLayer(433634, {
- query: data.map_query});
- accidents_layer.setMap(map);
- $('#filter-results').html(data.results);
- }
- });
Add Comment
Please, Sign In to add comment