mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 09:12:52 +00:00
rename utilTile -> utilTiler
This commit is contained in:
@@ -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 = {};
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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/';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user