assets/plugins/map.js in dasht-0.1.6 vs assets/plugins/map.js in dasht-0.1.7
- old
+ new
@@ -91,10 +91,10 @@
var num_entries = options["n"] || 10;
var map = new google.maps.Map(map_el, mapOptions);
var markers = {};
var geocoder = new google.maps.Geocoder();
var ip_regex = /\d+\.\d+\.\d+\.\d+/;
- var coordinate_regex = /\[(-?\d+\.\d+),(-?\d+\.\d+\)]/;
+ var coordinate_regex = /\[(-?\d+\.\d+),\s*(-?\d+\.\d+\)\]/;
Dasht.fill_tile($(el).find(".map"));
// Update values.
setTimeout(function() {