Skip to content

Commit

Permalink
rename utilTile -> utilTiler
Browse files Browse the repository at this point in the history
  • Loading branch information
bhousel committed Jul 21, 2018
1 parent e4d829e commit d1fe81b
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions modules/renderer/tile_layer.js
Expand Up @@ -2,13 +2,13 @@ import { select as d3_select } from 'd3-selection';
import { t } from '../util/locale';

import { geoScaleToZoom, geoVecLength } from '../geo';
import { utilPrefixCSSProperty, utilTile } from '../util';
import { utilPrefixCSSProperty, utilTiler } from '../util';


export function rendererTileLayer(context) {
var tileSize = 256;
var transformProp = utilPrefixCSSProperty('Transform');
var geotile = utilTile();
var geotile = utilTiler();

var _projection;
var _cache = {};
Expand Down
4 changes: 2 additions & 2 deletions modules/services/mapillary.js
Expand Up @@ -21,9 +21,9 @@ import rbush from 'rbush';
import { geoExtent } from '../geo';
import { svgDefs } from '../svg';
import { utilDetect } from '../util/detect';
import { utilQsString, utilRebind, utilTile } from '../util';
import { utilQsString, utilRebind, utilTiler } from '../util';

var geoTile = utilTile().skipNullIsland(true);
var geoTile = utilTiler().skipNullIsland(true);

var apibase = 'https://a.mapillary.com/v3/';
var viewercss = 'mapillary-js/mapillary.min.css';
Expand Down
4 changes: 2 additions & 2 deletions modules/services/openstreetcam.js
Expand Up @@ -24,7 +24,7 @@ import rbush from 'rbush';

import { geoExtent } from '../geo';

import { utilTile } from '../util';
import { utilTiler } from '../util';
import { utilDetect } from '../util/detect';

import {
Expand All @@ -33,7 +33,7 @@ import {
utilSetTransform
} from '../util';

var geoTile = utilTile().skipNullIsland(true);
var geoTile = utilTiler().skipNullIsland(true);

var apibase = 'https://openstreetcam.org';
var maxResults = 1000;
Expand Down
4 changes: 2 additions & 2 deletions modules/services/osm.js
Expand Up @@ -30,11 +30,11 @@ import {
import {
utilRebind,
utilIdleWorker,
utilTile,
utilTiler,
utilQsString
} from '../util';

var geoTile = utilTile();
var geoTile = utilTiler();

var dispatch = d3_dispatch('authLoading', 'authDone', 'change', 'loading', 'loaded', 'loadedNotes');
var urlroot = 'https://www.openstreetmap.org';
Expand Down
4 changes: 2 additions & 2 deletions modules/services/streetside.js
Expand Up @@ -28,11 +28,11 @@ import {
} from '../geo';

import { utilDetect } from '../util/detect';
import { utilQsString, utilRebind, utilTile } from '../util';
import { utilQsString, utilRebind, utilTiler } from '../util';

import Q from 'q';

var geoTile = utilTile().skipNullIsland(true);
var geoTile = utilTiler().skipNullIsland(true);

var bubbleApi = 'https://dev.virtualearth.net/mapcontrol/HumanScaleServices/GetBubbles.ashx?';
var streetsideImagesApi = 'https://t.ssl.ak.tiles.virtualearth.net/tiles/';
Expand Down
2 changes: 1 addition & 1 deletion modules/util/index.js
Expand Up @@ -23,6 +23,6 @@ export { utilSessionMutex } from './session_mutex';
export { utilStringQs } from './util';
export { utilSuggestNames } from './suggest_names';
export { utilTagText } from './util';
export { utilTile } from './tile';
export { utilTiler } from './tile';
export { utilTriggerEvent } from './trigger_event';
export { utilWrap } from './util';
2 changes: 1 addition & 1 deletion modules/util/tile.js
Expand Up @@ -4,7 +4,7 @@ import { range as d3_range } from 'd3-array';
import { geoExtent } from '../geo';


export function utilTile() {
export function utilTiler() {
var _size = [960, 500];
var _scale = 256;
var _scaleExtent = [0, 20];
Expand Down

0 comments on commit d1fe81b

Please sign in to comment.