Skip to content

Instantly share code, notes, and snippets.

Ryan Clark rclark

  • Mapbox
  • Tucson, AZ
Block or report user

Report or block rclark

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View make-the-connection.js
function mblConnect() {
var $cont = $('#connect'),
$site = $('#site'),
isOpen = false,
$overlay = $('<div id="mbl-overlay" class="mbl-overlay js-connect-btn" />'),
dropdown = {
enable: function () {
var $btns = getBtns();
$btns.off().on('click', clicked);
@rclark
rclark / TileLayer.Bing.js
Created Mar 11, 2012 — forked from pagameba/TileLayer.Bing.js
Leaflet Bing layer
View TileLayer.Bing.js
L.TileLayer.Bing = L.TileLayer.extend({
supportedTypes: ['Road', 'Aerial', 'AerialWithLabels'],
attributionTemplate: '<span style="display:inline-block">' +
'<a target="_blank" href="http://www.bing.com/maps/">' +
'<img src="{logo}" /></a><br><span>{copyrights}' +
'<a style="white-space: nowrap" target="_blank" '+
'href="http://www.microsoft.com/maps/product/terms.html">' +
'Terms of Use</a></span></span>',
You can’t perform that action at this time.