This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* jQuery JavaScript Library v1.4.4pre | |
* http://jquery.com/ | |
* | |
* Copyright 2010, John Resig | |
* Dual licensed under the MIT or GPL Version 2 licenses. | |
* http://jquery.org/license | |
* | |
* Includes Sizzle.js | |
* http://sizzlejs.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// add this inside your loop - looping over your marker locations | |
var coordinates_hash = new Array(); | |
var coordinates_str, actual_lat, actual_lon, adjusted_lat, adjusted_lon; | |
actual_lat = adjusted_lat = this.locations[i].latitude; | |
actual_lon = adjusted_lon = this.locations[i].longitude; | |
coordinates_str = actual_lat + actual_lon; | |
while (coordinates_hash[coordinates_str] != null) { | |
// adjust coord by 50m or so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pickerBuilder.addView(new google.picker.DocsView().setParent('root').setIncludeFolders(true)).enableFeature(google.picker.Feature.MULTISELECT_ENABLED); |