Rename _ol_Graticule_ to Graticule

This commit is contained in:
Frederic Junod
2017-12-16 08:11:54 +01:00
parent 935133755e
commit bf6a18dfc4
4 changed files with 48 additions and 49 deletions

View File

@@ -1,4 +1,4 @@
import _ol_Graticule_ from '../../../src/ol/Graticule.js';
import Graticule from '../../../src/ol/Graticule.js';
import _ol_Map_ from '../../../src/ol/Map.js';
import {get as getProjection} from '../../../src/ol/proj.js';
import _ol_style_Stroke_ from '../../../src/ol/style/Stroke.js';
@@ -8,7 +8,7 @@ describe('ol.Graticule', function() {
var graticule;
function createGraticule() {
graticule = new _ol_Graticule_({
graticule = new Graticule({
map: new _ol_Map_({})
});
}
@@ -30,7 +30,7 @@ describe('ol.Graticule', function() {
});
it('creates a graticule with labels', function() {
graticule = new _ol_Graticule_({
graticule = new Graticule({
map: new _ol_Map_({}),
showLabels: true
});
@@ -62,7 +62,7 @@ describe('ol.Graticule', function() {
var customStrokeStyle = new _ol_style_Stroke_({
color: 'rebeccapurple'
});
var styledGraticule = new _ol_Graticule_({
var styledGraticule = new Graticule({
map: new _ol_Map_({}),
strokeStyle: customStrokeStyle
});
@@ -75,7 +75,7 @@ describe('ol.Graticule', function() {
it('can be configured with label options', function() {
var latLabelStyle = new _ol_style_Text_();
var lonLabelStyle = new _ol_style_Text_();
graticule = new _ol_Graticule_({
graticule = new Graticule({
map: new _ol_Map_({}),
showLabels: true,
lonLabelFormatter: function(lon) {