@@ -65,16 +65,42 @@ private void DrawWebMapTileServiceProperties()
6565 {
6666 GUIContent baseUrlContent = new GUIContent (
6767 "Base URL" ,
68- "The base URL of the Web Map Service (WMS )." +
68+ "The base URL of the Web Map Tile Service (WMTS )." +
6969 "\n \n " +
7070 "e.g." +
7171 "\n \n " +
72- "https://services.ga.gov.au/gis/services/NM_Culture_and_Infrastructure/MapServer/WMSServer " ) ;
72+ "https://tile.openstreetmap.org/{TileMatrix}/{TileCol}/{TileRow}.png " ) ;
7373 EditorGUILayout . DelayedTextField ( this . _baseUrl , baseUrlContent ) ;
74+
75+ GUIContent layerContent = new GUIContent (
76+ "Layer" ,
77+ "The layer name for WMTS requests." ) ;
78+ EditorGUILayout . DelayedTextField ( this . _layer , layerContent ) ;
79+
80+ GUIContent styleContent = new GUIContent (
81+ "Style" ,
82+ "The style name for WMTS requests." ) ;
83+ EditorGUILayout . DelayedTextField ( this . _style , styleContent ) ;
84+
85+ GUIContent formatContent = new GUIContent (
86+ "Format" ,
87+ "The MIME type for images to retrieve from the server." ) ;
88+ EditorGUILayout . DelayedTextField ( this . _format , formatContent ) ;
89+
90+ GUIContent tileMatrixSetIDContent = new GUIContent (
91+ "Tile Matrix Set ID" ,
92+ "The tile matrix set identifier for WMTS requests." ) ;
93+ EditorGUILayout . DelayedTextField ( this . _tileMatrixSetID , tileMatrixSetIDContent ) ;
94+
95+ GUIContent useGeographicProjectionContent = new GUIContent (
96+ "Use Geographic Projection" ,
97+ "If true, the overlay will be projected using a geographic projection. " +
98+ "If false, the overlay will be projected using a web mercator projection." ) ;
99+ EditorGUILayout . PropertyField ( this . _useGeographicProjection , useGeographicProjectionContent ) ;
74100
75101 GUIContent tileWidthContent = new GUIContent (
76102 "Tile Width" ,
77- "Image width." ) ;
103+ "The width of the image tiles in pixels ." ) ;
78104 CesiumInspectorGUI . ClampedIntField (
79105 this . _tileWidth ,
80106 64 ,
@@ -83,7 +109,7 @@ private void DrawWebMapTileServiceProperties()
83109
84110 GUIContent tileHeightContent = new GUIContent (
85111 "Tile Height" ,
86- "Image height." ) ;
112+ "The height of the image tiles in pixels ." ) ;
87113 CesiumInspectorGUI . ClampedIntField (
88114 this . _tileHeight ,
89115 64 ,
@@ -103,32 +129,6 @@ private void DrawWebMapTileServiceProperties()
103129 "Maximum Level" ,
104130 "Maximum zoom level." ) ;
105131 EditorGUILayout . PropertyField ( this . _maximumLevel , maximumLevelContent ) ;
106-
107- GUIContent formatContent = new GUIContent (
108- "Format" ,
109- "The MIME type for images to retrieve from the server, default value is \" image/jpeg\" ." ) ;
110- EditorGUILayout . DelayedTextField ( this . _format , formatContent ) ;
111-
112- GUIContent styleContent = new GUIContent (
113- "Style" ,
114- "The style name for WMTS requests, default value is \" default\" ." ) ;
115- EditorGUILayout . DelayedTextField ( this . _style , styleContent ) ;
116-
117- GUIContent layerContent = new GUIContent (
118- "Layer" ,
119- "The layer name for WMTS requests." ) ;
120- EditorGUILayout . DelayedTextField ( this . _layer , layerContent ) ;
121-
122- GUIContent tileMatrixSetIDContent = new GUIContent (
123- "Tile Matrix Set ID" ,
124- "The tile matrix set identifier for WMTS requests." ) ;
125- EditorGUILayout . DelayedTextField ( this . _tileMatrixSetID , tileMatrixSetIDContent ) ;
126-
127- GUIContent useGeographicProjectionContent = new GUIContent (
128- "Use Geographic Projection" ,
129- "If true, the overlay will be projected using a geographic projection. " +
130- "If false, the overlay will be projected using a web mercator projection." ) ;
131- EditorGUILayout . PropertyField ( this . _useGeographicProjection , useGeographicProjectionContent ) ;
132132 }
133133
134134 private void DrawRasterOverlayProperties ( )
0 commit comments