diff --git a/README.markdown b/README.markdown
index 9dd91ae..aad9c6b 100644
--- a/README.markdown
+++ b/README.markdown
@@ -54,6 +54,12 @@ Make sure your HTML has a `div` element for the Google map, and there is a conta
Example Text.
+
Then just call the `jMapping` function on the map element:
@@ -105,7 +111,7 @@ These are options that can be passed to the `jMapping` function to change specif
* *Default*: `{lat: 0.0, lng: 0.0}`
* This point determines the Google Maps location if there are no location elements inside the specified `location_selector`.
* `metadata_options`:
- * *Default*: `{type: "attr", name: "data"}`
+ * *Default*: `{type: "attr", name: "data-jmapping"}`
* This is the set of options passed to the jQuery metadata function. It defines how the necessary
metadata for each location will be searched for.
See the [metadata plugins docs](http://docs.jquery.com/Plugins/Metadata/metadata#toptions) for more info.
diff --git a/jquery.jmapping.js b/jquery.jmapping.js
index 555d387..473f591 100644
--- a/jquery.jmapping.js
+++ b/jquery.jmapping.js
@@ -103,17 +103,23 @@
var getBounds = function(doUpdate){
var places_data = getPlacesData(doUpdate),
- newBounds, initialPoint;
-
- if (places_data.length){
- initialPoint = $.jMapping.makeGLatLng(places_data[0].point);
- }else{
- initialPoint = $.jMapping.makeGLatLng(settings.default_point);
- }
- newBounds = new google.maps.LatLngBounds(initialPoint, initialPoint);
+ newBounds = null, point;
- for (var i=1, len = places_data.length; i