I hereby claim:
- I am respectthecode on github.
- I am respectthecode (https://keybase.io/respectthecode) on keybase.
- I have a public key ASBTaqVJ8ZMG_x1C7wJh1779mVrRBExcho6E66VlSYCBCQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #import "APMapBoxLayer.h" | |
| @implementation APMapBoxLayer { | |
| MKMapView *_mapView; | |
| MBXRasterTileOverlay *_rasterOverlay; | |
| NSString *_mapId; | |
| BOOL _usingOfflineMap; | |
| BOOL _readyToDownload; | |
| BOOL _didStartDownload; |
| public class APMapboxLayer extends APLayer { | |
| private MapView mMapView; | |
| public APMapboxLayer(final Context context, final LayerDataSource data, final float density, final float scale, final View.OnClickListener hotspotClickListener) { | |
| super(context, data, density, hotspotClickListener); | |
| String mapId = data.getMapId(); | |
| if (mapId == null) { |
| var fs = require("fs"); | |
| var path = require("path"); | |
| var async = require("async"); | |
| var jade = require("jade"); | |
| var stylus = require("stylus"); | |
| var paths = { | |
| stylus: {src: "./styles", dest: "./build/styles"}, | |
| jade: {src: "./views", dest: "./build"}, | |
| javascripts: {src: "./javascripts", dest: "./build/javascripts"}, |
| var http = require("http"), | |
| url = require("url"), | |
| path = require("path"), | |
| fs = require("fs"), | |
| mime = require("mime") | |
| port = process.argv[2] || 8888; | |
| http.createServer(function(request, response) { | |
| var uri = url.parse(request.url).pathname |
| angular.directive("ng:class", function (expression, compiledElement) { | |
| if (typeof(expression) == "string") { | |
| if (expression.indexOf(",")) { | |
| expression = expression.split(","); | |
| } else { | |
| expression = [expression]; | |
| } | |
| } | |
| return function (element) { |