You are here

infobubble_options.txt in Get Locations 6.2

/**
 * copy infobubble_options.txt to infobubble_options.js to override infobubble settings
 *
 */

// defaults
var infoBubbleOptions = {
  backgroundColor: '#fff',
  borderColor: '#ccc',
  borderRadius: 10,
  borderWidth: 1,
  padding: 10,
  arrowPosition: 50,
  disableAutoPan: false,
  disableAnimation: false,
  minWidth: 50,
  shadowStyle: 1,
  arrowSize: 15,
  arrowStyle: 0
};
// example overrides
//infoBubbleOptions.backgroundColor = '#FFFFE0';
//infoBubbleOptions.borderColor = '#DADADA';
//infoBubbleOptions.minWidth = 250;
//infoBubbleOptions.minHeight = 200;
//infoBubbleOptions.maxWidth = 350;
//infoBubbleOptions.maxHeight = 300;

File

js/infobubble_options.txt
View source
  1. /**
  2. * copy infobubble_options.txt to infobubble_options.js to override infobubble settings
  3. *
  4. */
  5. // defaults
  6. var infoBubbleOptions = {
  7. backgroundColor: '#fff',
  8. borderColor: '#ccc',
  9. borderRadius: 10,
  10. borderWidth: 1,
  11. padding: 10,
  12. arrowPosition: 50,
  13. disableAutoPan: false,
  14. disableAnimation: false,
  15. minWidth: 50,
  16. shadowStyle: 1,
  17. arrowSize: 15,
  18. arrowStyle: 0
  19. };
  20. // example overrides
  21. //infoBubbleOptions.backgroundColor = '#FFFFE0';
  22. //infoBubbleOptions.borderColor = '#DADADA';
  23. //infoBubbleOptions.minWidth = 250;
  24. //infoBubbleOptions.minHeight = 200;
  25. //infoBubbleOptions.maxWidth = 350;
  26. //infoBubbleOptions.maxHeight = 300;