Skip to content

Commit

Permalink
Add proxy support per #8
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoma committed Feb 6, 2014
1 parent d742e81 commit 3b0fc6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ When you initialize Mapsheet you have plenty of options to pick through. `key` a

`callbackContext` provides the context of the callback, if necessary.

`proxy` passes right through to Tabletop.

`markerLayer` is the layer that you'd like to render your markers on **(not supported by Google)**

`layerOptions` are options passed passed to the marker layer if you want a custom backing map, or specify attribution, etc **(Leaflet only)**
Expand Down
2 changes: 1 addition & 1 deletion src/mapsheet.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
this.element = document.getElementById(this.element);
};

this.tabletop = new Tabletop( { key: this.key, callback: this.loadPoints, callbackContext: this, simpleSheet: simpleSheet } );
this.tabletop = new Tabletop( { key: this.key, callback: this.loadPoints, callbackContext: this, simpleSheet: simpleSheet, proxy: options.proxy } );
};


Expand Down

0 comments on commit 3b0fc6d

Please sign in to comment.