diff --git a/examples/mapboxgl/02_attributes.html b/examples/mapboxgl/02_attributes.html index 26ed6598e..cc77480f7 100644 --- a/examples/mapboxgl/02_attributes.html +++ b/examples/mapboxgl/02_attributes.html @@ -59,7 +59,7 @@ 'raster-tiles': { attribution: attribution, type: 'raster', - tiles: [baseUrl], + tiles: [baseUrl + '/zxyTileImage.png?z={z}&x={x}&y={y}'], tileSize: 256 } }, diff --git a/examples/maplibregl/02_attributes.html b/examples/maplibregl/02_attributes.html index adc30d156..ed362e28b 100644 --- a/examples/maplibregl/02_attributes.html +++ b/examples/maplibregl/02_attributes.html @@ -58,7 +58,7 @@ "raster-tiles": { "attribution": attribution, "type": "raster", - "tiles": [baseUrl], + "tiles": [baseUrl + '/zxyTileImage.png?z={z}&x={x}&y={y}'], "tileSize": 256 } }, diff --git a/examples/openlayers/02_attributes.html b/examples/openlayers/02_attributes.html index 237c8d692..730eef17b 100644 --- a/examples/openlayers/02_attributes.html +++ b/examples/openlayers/02_attributes.html @@ -123,7 +123,7 @@ new ol.supermap.FeatureService(url).getFeaturesBySQL(sqlParam).then(function (serviceResult) { var tbody = document.querySelector('.tbody'); tbody.innerHTML = ''; - serviceResult.result.features.forEach((feature) => { + serviceResult.result.features.features.forEach((feature) => { var tr = document.createElement('tr'); var props = feature.properties; fieldList.forEach((field) => {