This file contains hidden or 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
Show hidden characters
{ | |
"auto_complete_commit_on_tab": false, | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"draw_minimap_border": false, | |
"fade_fold_buttons": false, | |
"find_selected_text": true, | |
"font_face": "Menlo", | |
"highlight_line": true, | |
"highlight_modified_tabs": true, |
This file contains hidden or 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
[ | |
{ | |
"class": "label_control", | |
"color": [255, 255, 255], | |
"shadow_color": [24, 24, 24], | |
"shadow_offset": [0, -1] | |
}, | |
{ | |
"class": "button_control", | |
"content_margin": [6, 5, 6, 6], |
This file contains hidden or 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
/** | |
* Convert Latitude and Longitude to CSS top and left positions for a map image. | |
* Works with any map image that uses Spherical Mercator Projection (the same as Google Maps) | |
* | |
* From http://stackoverflow.com/a/7021776/86780 | |
*/ | |
var latLonToTopLeft = function(lat, lon) { | |
var imageNorthLat = 59.545457; // Latitude of the image's northern edge | |
var imageSouthLat = 49.431947; // Latitude of the image's southern edge |
This file contains hidden or 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
<?php | |
/** | |
* A view helper to render a sheet of address labels as a PDF. | |
*/ | |
class My_View_Helper_Labels extends Zend_View_Helper_Abstract { | |
/** | |
* @var int A page size constant from Zend_Pdf_Page | |
*/ | |
private $_pageSize; |
NewerOlder