rename utilTile -> utilTiler

This commit is contained in:
Bryan Housel
2018-07-21 10:07:56 -04:00
parent e4d829ec06
commit d1fe81b905
7 changed files with 12 additions and 12 deletions

View File

@@ -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 = {};

View File

@@ -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';

View File

@@ -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 {
@@ -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;

View File

@@ -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';

View File

@@ -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/';

View File

@@ -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';

View File

@@ -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];