Use olx options ns in icon and geojson examples
This commit is contained in:
@@ -72,7 +72,7 @@ var styleFunction = function(feature, resolution) {
|
||||
};
|
||||
|
||||
var vectorSource = new ol.source.GeoJSON(
|
||||
/** @type {ol.source.GeoJSONOptions} */ ({
|
||||
/** @type {olx.source.GeoJSONOptions} */ ({
|
||||
object: {
|
||||
'type': 'FeatureCollection',
|
||||
'crs': {
|
||||
|
||||
@@ -22,7 +22,7 @@ var styleArray = [new ol.style.Style({
|
||||
})];
|
||||
|
||||
var vector = new ol.layer.Vector({
|
||||
source: new ol.source.GeoJSON(/** @type {ol.source.GeoJSONOptions} */ ({
|
||||
source: new ol.source.GeoJSON(/** @type {olx.source.GeoJSONOptions} */ ({
|
||||
object: {
|
||||
'type': 'FeatureCollection',
|
||||
'features': [{
|
||||
|
||||
Reference in New Issue
Block a user