Skip to content

Instantly share code, notes, and snippets.

@pixelcutlabs
Created September 24, 2016 02:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pixelcutlabs/a8568981bca1777578ab1a1322e4b11c to your computer and use it in GitHub Desktop.
Save pixelcutlabs/a8568981bca1777578ab1a1322e4b11c to your computer and use it in GitHub Desktop.
webroot/wp-content/themes/listify/inc/integrations/wp-job-manager/js/map/app.coffee
class MapView extends Backbone.View
bounds: new google.maps.LatLngBounds()
infobubble: new InfoBubble(
backgroundClassName: 'map-marker-info',
borderRadius: 4,
padding: 15,
borderColor: '#ffffff',
shadowStyle: 0,
minHeight: 115,
maxHeight: 115,
minWidth: 225,
maxWidth: 275,
hideCloseButton: true,
flat: true,
anchor: RichMarkerPosition.BOTTOM
disableAutoPan: parseInt( Plotter.settings.autoPan ) == 0 ? true : false
)
clusterer: new MarkerClusterer null, [], {
ignoreHidden: true,
}
loaded: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment