diff --git a/examples/regularshape.js b/examples/regularshape.js index 195054b8e2..374a8fef66 100644 --- a/examples/regularshape.js +++ b/examples/regularshape.js @@ -15,58 +15,53 @@ var fill = new ol.style.Fill({color: 'red'}); var styles = { 'square': [new ol.style.Style({ - image: new ol.style.RegularShape( - /** @type {olx.style.RegularShapeOptions} */({ - fill: fill, - stroke: stroke, - points: 4, - radius: 10, - angle: Math.PI / 4 - })) + image: new ol.style.RegularShape({ + fill: fill, + stroke: stroke, + points: 4, + radius: 10, + angle: Math.PI / 4 + }) })], 'triangle': [new ol.style.Style({ - image: new ol.style.RegularShape( - /** @type {olx.style.RegularShapeOptions} */({ - fill: fill, - stroke: stroke, - points: 3, - radius: 10, - rotation: Math.PI / 4, - angle: 0 - })) + image: new ol.style.RegularShape({ + fill: fill, + stroke: stroke, + points: 3, + radius: 10, + rotation: Math.PI / 4, + angle: 0 + }) })], 'star': [new ol.style.Style({ - image: new ol.style.RegularShape( - /** @type {olx.style.RegularShapeOptions} */({ - fill: fill, - stroke: stroke, - points: 5, - radius: 10, - radius2: 4, - angle: 0 - })) + image: new ol.style.RegularShape({ + fill: fill, + stroke: stroke, + points: 5, + radius: 10, + radius2: 4, + angle: 0 + }) })], 'cross': [new ol.style.Style({ - image: new ol.style.RegularShape( - /** @type {olx.style.RegularShapeOptions} */({ - fill: fill, - stroke: stroke, - points: 4, - radius: 10, - radius2: 0, - angle: 0 - })) + image: new ol.style.RegularShape({ + fill: fill, + stroke: stroke, + points: 4, + radius: 10, + radius2: 0, + angle: 0 + }) })], 'x': [new ol.style.Style({ - image: new ol.style.RegularShape( - /** @type {olx.style.RegularShapeOptions} */({ - fill: fill, - stroke: stroke, - points: 4, - radius: 10, - radius2: 0, - angle: Math.PI / 4 - })) + image: new ol.style.RegularShape({ + fill: fill, + stroke: stroke, + points: 4, + radius: 10, + radius2: 0, + angle: Math.PI / 4 + }) })] }; diff --git a/examples/wms-tiled-wrap-180.js b/examples/wms-tiled-wrap-180.js index 3b9ea8c53e..fdf864b7e8 100644 --- a/examples/wms-tiled-wrap-180.js +++ b/examples/wms-tiled-wrap-180.js @@ -10,12 +10,12 @@ var layers = [ source: new ol.source.MapQuest({layer: 'sat'}) }), new ol.layer.Tile({ - source: new ol.source.TileWMS(/** @type {olx.source.TileWMSOptions} */ ({ + source: new ol.source.TileWMS({ url: 'http://demo.boundlessgeo.com/geoserver/ne/wms', params: {'LAYERS': 'ne:ne_10m_admin_0_countries', 'TILED': true}, serverType: 'geoserver', wrapX: true - })) + }) }) ]; var map = new ol.Map({ diff --git a/examples/wms-tiled.js b/examples/wms-tiled.js index abd603cafd..5c7e576c12 100644 --- a/examples/wms-tiled.js +++ b/examples/wms-tiled.js @@ -11,11 +11,11 @@ var layers = [ }), new ol.layer.Tile({ extent: [-13884991, 2870341, -7455066, 6338219], - source: new ol.source.TileWMS(/** @type {olx.source.TileWMSOptions} */ ({ + source: new ol.source.TileWMS({ url: 'http://demo.boundlessgeo.com/geoserver/wms', params: {'LAYERS': 'topp:states', 'TILED': true}, serverType: 'geoserver' - })) + }) }) ]; var map = new ol.Map({