Skip to content

Instantly share code, notes, and snippets.

@albionselimaj
Last active December 30, 2017 02:06
Show Gist options
  • Save albionselimaj/502c858439cf75c97a3d2dca2989b4e9 to your computer and use it in GitHub Desktop.
Save albionselimaj/502c858439cf75c97a3d2dca2989b4e9 to your computer and use it in GitHub Desktop.
(function() {
if ( document.getElementsByClassName('finder-map').length ) {
var interval = setInterval(function() {
if ( CASE27_Maps.get( CASE27_Explore_Listings.$xyz.map.id ) ) {
var map = CASE27_Maps.get( CASE27_Explore_Listings.$xyz.map.id ).map;
map.setOptions({
mapTypeControl: true,
scrollwheel: true,
styles: [],
});
clearInterval(interval);
}
}, 500);
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment