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
| Sampling process 45131 for 3 seconds with 1 millisecond of run time between samples | |
| Sampling completed, processing symbols... | |
| Analysis of sampling node (pid 45131) every 1 millisecond | |
| Process: node [45131] | |
| Path: /Users/tristen/devseed/tilemill/bin/node | |
| Load Address: 0x100000000 | |
| Identifier: node | |
| Version: ??? (???) | |
| Code Type: X86-64 (Native) | |
| Parent Process: node [45108] |
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
| /*----------------------------------- | |
| Colors | |
| ------------------------------------- */ | |
| @water: #3c9cb0; | |
| @greenery: #9FC069; | |
| @redline: #ffd4c6; | |
| @grey: #666; | |
| /*----------------------------------- | |
| Fonts |
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
| /*----------------------------------- | |
| Colors | |
| ------------------------------------- */ | |
| @water: #3c9cb0; | |
| @greenery: #9FC069; | |
| @redline: #ffd4c6; | |
| @grey: #666; | |
| /*----------------------------------- | |
| Fonts |
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
| // 1. if mailto: return it all | |
| // (mailto\:) | |
| // 2. if http/https return the relative path | |
| // ([http?s]\:\/\/)?(\/.*) ------------> .exec(path)[2] | |
| // 3. If there is a hash, return everything after the hash | |
| // .... |
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
| if (oldIE) { | |
| if (path.charAt(0) === 'm') { | |
| return; | |
| } | |
| else if (path.charAt(0) === '#') { | |
| path = /^([a-z]+:\/\/)?(#[\w\-]+)$/.exec(path)[2]; | |
| } | |
| else { | |
| path = /^([a-z]+:\/\/.+?)?(\/.*)$/.exec(path)[2]; | |
| } |
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
| Stylesheet: [ | |
| { | |
| id: 'style.mss', | |
| data: '#locations {' + | |
| 'marker-allow-overlap: true;' + | |
| 'marker-file: url(http://192.168.0.92:3000/assets/bclc-hub/images/point.svg);' + | |
| 'marker-width: 10;' + | |
| '[zoom > 3] { marker-width: 20; }' + | |
| '}' | |
| } |
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
| Stylesheet: [ | |
| { | |
| id: 'style.mss', | |
| data: '#locations {' + | |
| 'point-allow-overlap: true;' + | |
| 'point-file: url(http://192.168.0.92:3000/assets/bclc-hub/images/point.svg);' + | |
| '}' | |
| } | |
| ], |
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
| Stylesheet: [ | |
| { | |
| id: 'style.mss', | |
| data: '#locations {' + | |
| 'point-allow-overlap: true;' + | |
| 'point-file: url(http://dl.dropbox.com/u/3677104/point.png);' + | |
| '}' | |
| } | |
| ], |
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
| var makeMaps = function () { | |
| var mm = com.modestmaps; | |
| m = new mm.Map('map', new com.modestmaps.WaxProvider({ | |
| baseUrl: 'http://a.tiles.mapbox.com/mapbox/', | |
| layerName: 'world-glass', | |
| zoomRange: [4, 8] | |
| })); | |
| m.setCenterZoom( | |
| new com.modestmaps.Location(37, -97), 5); | |
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
| $(function (){ | |
| var mm = com.modestmaps; | |
| var m = new mm.Map('map', new com.modestmaps.WaxProvider({ | |
| baseUrl: 'http://a.tiles.mapbox.com/bclc/', | |
| layerName: 'bclc-usa-glass', | |
| zoomRange: [4, 8] | |
| }), | |
| null, | |
| [ new mm.DragHandler, | |
| new mm.DoubleClickHandler, |