Skip to content

Commit

Permalink
修改fgb示例数据 review by luox
Browse files Browse the repository at this point in the history
  • Loading branch information
xilanhuaweidapao committed Oct 18, 2024
1 parent 0a40d75 commit 9905f9b
Show file tree
Hide file tree
Showing 20 changed files with 28 additions and 28 deletions.
8 changes: 4 additions & 4 deletions examples/leaflet/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -1161,15 +1161,15 @@ var exampleConfig = {
version: '11.1.0',
content: [
{
name: 'FGB 全量加载(2500万点数据量)',
name_en: 'FGB Full Load (Use lines to draw 25 millions Chinese roads)',
name: 'FGB 全量加载(1400万点数据量)',
name_en: 'FGB Full Load (Use lines to draw 14 millions Chinese roads)',
version: '11.1.0',
thumbnail: 'fgb_all_load.png',
fileName: 'fgb_all_load'
},
{
name: 'FGB 按需加载(2500万点数据量)',
name_en: 'FGB Extent Load (Use lines to draw 25 millions Chinese roads)',
name: 'FGB 按需加载(1400万点数据量)',
name_en: 'FGB Extent Load (Use lines to draw 14 millions Chinese roads)',
version: '11.1.0',
thumbnail: 'fgb_bbox_load.png',
fileName: 'fgb_bbox_load'
Expand Down
2 changes: 1 addition & 1 deletion examples/leaflet/fgb_all_load.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<script type="text/javascript">
var host = window.isLocal ? window.server : 'https://iserver.supermap.io';
var map, baseUrl = host + '/iserver/services/map-china400/rest/maps/China_4326',
fgbUrl = 'https://iclient.supermap.io/minio/fgb/roads.fgb';
fgbUrl = 'https://iclient.supermap.io/minio/fgb/waterways.fgb';
map = L.map('map', {
preferCanvas: true,
crs: L.CRS.EPSG4326,
Expand Down
4 changes: 2 additions & 2 deletions examples/leaflet/fgb_bbox_load.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
var host = window.isLocal ? window.server : 'https://iserver.supermap.io';
var map,
baseUrl = host + '/iserver/services/map-china400/rest/maps/China_4326',
fgbUrl = 'https://iclient.supermap.io/minio/fgb/roads.fgb';
fgbUrl = 'https://iclient.supermap.io/minio/fgb/waterways.fgb';
map = L.map('map', {
preferCanvas: true,
crs: L.CRS.EPSG4326,
center: [39.91313934326172, 116.3966453552246],
maxZoom: 18,
zoom: 12
zoom: 8
});
new L.supermap.TiledMapLayer(baseUrl).addTo(map);
new L.supermap.FGBLayer(fgbUrl, {
Expand Down
Binary file modified examples/leaflet/img/fgb_all_load.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/leaflet/img/fgb_bbox_load.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions examples/mapboxgl/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -1166,15 +1166,15 @@ var exampleConfig = {
version: '11.0.1',
content: [
{
name: 'FGB 全量加载(2500万点数据量)',
name_en: 'FGB Full Load (Use lines to draw 25 millions Chinese roads)',
name: 'FGB 全量加载(1400万点数据量)',
name_en: 'FGB Full Load (Use lines to draw 14 millions Chinese roads)',
version: '11.1.0',
thumbnail: 'fgb_all_load.png',
fileName: 'fgb_all_load'
},
{
name: 'FGB 按需加载(2500万点数据量)',
name_en: 'FGB Extent Load (Use lines to draw 25 millions Chinese roads)',
name: 'FGB 按需加载(1400万点数据量)',
name_en: 'FGB Extent Load (Use lines to draw 14 millions Chinese roads)',
version: '11.1.0',
thumbnail: 'fgb_bbox_load.png',
fileName: 'fgb_bbox_load'
Expand Down
2 changes: 1 addition & 1 deletion examples/mapboxgl/fgb_all_load.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
" Map Data <span>© <a href='http://support.supermap.com.cn/product/iServer.aspx' target='_blank'>SuperMap iServer</a></span>";
var host = window.isLocal ? window.server : 'https://iserver.supermap.io';
var baseUrl = host + '/iserver/services/map-china400/rest/maps/China/zxyTileImage.png?z={z}&x={x}&y={y}';
var fgbUrl = 'https://iclient.supermap.io/minio/fgb/roads.fgb';
var fgbUrl = 'https://iclient.supermap.io/minio/fgb/waterways.fgb';

var map = new mapboxgl.Map({
container: 'map',
Expand Down
4 changes: 2 additions & 2 deletions examples/mapboxgl/fgb_bbox_load.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
" Map Data <span>© <a href='http://support.supermap.com.cn/product/iServer.aspx' target='_blank'>SuperMap iServer</a></span>";
var host = window.isLocal ? window.server : 'https://iserver.supermap.io';
var baseUrl = host + '/iserver/services/map-china400/rest/maps/China/zxyTileImage.png?z={z}&x={x}&y={y}';
var fgbUrl = 'https://iclient.supermap.io/minio/fgb/roads.fgb';
var fgbUrl = 'https://iclient.supermap.io/minio/fgb/waterways.fgb';
var map = new mapboxgl.Map({
container: 'map',
center: [116.3966453552246, 39.91313934326172],
zoom: 12,
zoom: 8,
style: {
version: 8,
sources: {
Expand Down
Binary file modified examples/mapboxgl/img/fgb_all_load.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/mapboxgl/img/fgb_bbox_load.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions examples/maplibregl/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -911,14 +911,14 @@ var exampleConfig = {
name_en: 'FlatGeobuf',
content: [
{
name: 'FGB 全量加载(2500万点数据量)',
name_en: 'FGB Full Load (Use lines to draw 25 millions Chinese roads)',
name: 'FGB 全量加载(1400万点数据量)',
name_en: 'FGB Full Load (Use lines to draw 14 millions Chinese roads)',
thumbnail: 'fgb_all_load.png',
fileName: 'fgb_all_load'
},
{
name: 'FGB 按需加载(2500万点数据量)',
name_en: 'FGB Extent Load (Use lines to draw 25 millions Chinese roads)',
name: 'FGB 按需加载(1400万点数据量)',
name_en: 'FGB Extent Load (Use lines to draw 14 millions Chinese roads)',
thumbnail: 'fgb_bbox_load.png',
fileName: 'fgb_bbox_load'
}
Expand Down
2 changes: 1 addition & 1 deletion examples/maplibregl/fgb_all_load.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
" Map Data <span>© <a href='http://support.supermap.com.cn/product/iServer.aspx' target='_blank'>SuperMap iServer</a></span>";
var host = window.isLocal ? window.server : 'https://iserver.supermap.io';
var baseUrl = host + '/iserver/services/map-china400/rest/maps/China/zxyTileImage.png?z={z}&x={x}&y={y}';
var fgbUrl = 'https://iclient.supermap.io/minio/fgb/roads.fgb';
var fgbUrl = 'https://iclient.supermap.io/minio/fgb/waterways.fgb';

var map = new maplibregl.Map({
container: 'map',
Expand Down
4 changes: 2 additions & 2 deletions examples/maplibregl/fgb_bbox_load.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
" Map Data <span>© <a href='http://support.supermap.com.cn/product/iServer.aspx' target='_blank'>SuperMap iServer</a></span>";
var host = window.isLocal ? window.server : 'https://iserver.supermap.io';
var baseUrl = host + '/iserver/services/map-china400/rest/maps/China/zxyTileImage.png?z={z}&x={x}&y={y}';
var fgbUrl = 'https://iclient.supermap.io/minio/fgb/roads.fgb';
var fgbUrl = 'https://iclient.supermap.io/minio/fgb/waterways.fgb';
var map = new maplibregl.Map({
container: 'map',
center: [116.3966453552246, 39.91313934326172],
zoom: 12,
zoom: 8,
style: {
version: 8,
sources: {
Expand Down
Binary file modified examples/maplibregl/img/fgb_all_load.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/maplibregl/img/fgb_bbox_load.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions examples/openlayers/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -1130,15 +1130,15 @@ var exampleConfig = {
version: '11.1.0',
content: [
{
name: 'FGB 全量加载(2500万点数据量)',
name_en: 'FGB Full Load (Use lines to draw 25 millions Chinese roads)',
name: 'FGB 全量加载(1400万点数据量)',
name_en: 'FGB Full Load (Use lines to draw 14 millions Chinese roads)',
version: '11.1.0',
thumbnail: 'fgb_all_load.png',
fileName: 'fgb_all_load'
},
{
name: 'FGB 按需加载(2500万点数据量)',
name_en: 'FGB Extent Load (Use lines to draw 25 millions Chinese roads)',
name: 'FGB 按需加载(1400万点数据量)',
name_en: 'FGB Extent Load (Use lines to draw 14 millions Chinese roads)',
version: '11.1.0',
thumbnail: 'fgb_bbox_load.png',
fileName: 'fgb_bbox_load'
Expand Down
2 changes: 1 addition & 1 deletion examples/openlayers/fgb_all_load.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<script type="text/javascript">
var host = window.isLocal ? window.server : 'https://iserver.supermap.io',
url = host + '/iserver/services/map-china400/rest/maps/China_4326';
var fgbUrl = 'https://iclient.supermap.io/minio/fgb/roads.fgb';
var fgbUrl = 'https://iclient.supermap.io/minio/fgb/waterways.fgb';
var map;
map = new ol.Map({
target: 'map',
Expand Down
4 changes: 2 additions & 2 deletions examples/openlayers/fgb_bbox_load.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<script type="text/javascript">
var host = window.isLocal ? window.server : 'https://iserver.supermap.io',
url = host + '/iserver/services/map-china400/rest/maps/China_4326';
var fgbUrl = 'https://iclient.supermap.io/minio/fgb/roads.fgb';
var fgbUrl = 'https://iclient.supermap.io/minio/fgb/waterways.fgb';
var map;
map = new ol.Map({
target: 'map',
Expand All @@ -23,7 +23,7 @@
.extend([new ol.supermap.control.Logo({ link: "https://iclient.supermap.io" })]),
view: new ol.View({
center: [116.3966453552246, 39.91313934326172],
zoom: 13,
zoom: 9,
projection: 'EPSG:4326',
multiWorld: true
})
Expand Down
Binary file modified examples/openlayers/img/fgb_all_load.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/openlayers/img/fgb_bbox_load.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9905f9b

Please sign in to comment.