Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

Commit

Permalink
Merge pull request #111 from cglewis/add_map
Browse files Browse the repository at this point in the history
Add map
  • Loading branch information
erickt committed Mar 10, 2014
2 parents 1654b2b + bf210ae commit 1b45154
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/main/webapp/js/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,19 @@ angular.module('dendrite.services', ['ngResource']).
Array.prototype.move = function (from, to) {
this.splice(to, 0, this.splice(from, 1)[0]);
};


// cloudmade (has day and night map)
left.add(po.image()
.url(po.url("http://{S}tile.cloudmade.com"
+ "/a37fc95e27114718bfbc85f95f278ef7" // http://cloudmade.com/register
+ "/99" + mapType
+ "/256/{Z}/{X}/{Y}.png")
.hosts(["a.", "b.", "c.", ""])));

// mapbox (has day map only)
//left.add(po.image()
// .url(po.url("https://api.tiles.mapbox.com/v3/examples.map-zr0njcqy/{Z}/{X}/{Y}.png")));

var data = [];
if (searchFacets !== undefined && results !== undefined) {
for (var i=0; i<results.length; i++) {
Expand Down

0 comments on commit 1b45154

Please sign in to comment.