Adding offset support to searcher for pagination

This commit is contained in:
2014-02-25 20:26:59 -07:00
parent 96d893fd58
commit f81ebc88a1
2 changed files with 10 additions and 1 deletions

View File

@@ -1084,6 +1084,7 @@ if ( !class_exists( 'Simple_Map' ) ) {
}
var bounds = new google.maps.LatLngBounds();
//- CALL TO RENDER EACH LOCATION
markers.each( function () {
var locationData = this;
locationData.distance = parseFloat(locationData.distance);
@@ -1390,6 +1391,7 @@ if ( !class_exists( 'Simple_Map' ) ) {
return marker;
}
//- FUNCTION THAT GENERATES LIST ITEMS
function createSidebarEntry(marker, locationData, searchData) {
var div = document.createElement('div');