Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions docs/developer-guide/local-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ This is the main structure:
"extensionsRegistry": "extensions.json",
// URL of the folder from where extensions bundles and other assets are loaded
"extensionsFolder": "",
// API keys for bing and mapquest services
"bingApiKey",
// force dates to be in this specified format. use moment js format pattern
"forceDateFormat": "YYYY-MM-DD",
// force time to be in this specified format. use moment js format pattern
Expand Down
5 changes: 0 additions & 5 deletions docs/developer-guide/maps-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ In the case of the background the `thumbURL` is used to show a preview of the la
- `osm`: OpenStreetMap layers format
- `tileprovider`: Some other mixed specific tile providers
- `wmts`: WMTS: Web Map Tile Service layers
- `bing`: Bing Maps layers
- `google`: Google Maps layers
- `mapquest`: MapQuest layers
- `graticule`: Vector layer that shows a coordinates grid over the map, with optional labels
Expand Down Expand Up @@ -708,10 +707,6 @@ e.g. (embed tileMatrixSet without link to sources)
}
```

#### Bing

TODO

#### Google

!!! note
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[MapStore](https://mapstore.geosolutionsgroup.com/mapstore/#/) is an highly modular **Open Source** WebGIS framework developed by [GeoSolutions](https://www.geosolutionsgroup.com/) to create, manage and securely
share maps and mashups. This simple and intuitive framework is able to mix map contents provided by Google Maps, OpenStreetMap,
Bing or other servers compliant to OGC standards like WFS, CSW, WMC, WMS, WMTS and TMS.
other servers compliant to OGC standards like WFS, CSW, WMC, WMS, WMTS and TMS.
[MapStore](https://mapstore.geosolutionsgroup.com/mapstore/#/) is used to find, view and query published geospatial data and to integrate multiple remote sources into a single map; the result is
an high quality and user friendly framework that allows different kind of use cases by harmonizing remote data with smart and advanced
functionalities (like chart widgets, dashboards, timelines and others).
Expand Down
18 changes: 0 additions & 18 deletions web/client/components/map/cesium/__tests__/Layer-test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import '../plugins/OSMLayer';
import '../plugins/TileProviderLayer';
import '../plugins/WMSLayer';
import '../plugins/WMTSLayer';
import '../plugins/BingLayer';
import '../plugins/GraticuleLayer';
import '../plugins/OverlayLayer';
import '../plugins/MarkerLayer';
Expand Down Expand Up @@ -503,23 +502,6 @@ describe('Cesium layer', () => {
}).catch(done);
});

it('creates a bing layer for cesium map', () => {
var options = {
"type": "bing",
"title": "Bing Aerial",
"name": "Aerial",
"group": "background",
"apiKey": "required",
"visibility": true
};
// create layers
var layer = ReactDOM.render(
<CesiumLayer type="bing" options={options} map={map}/>, document.getElementById("container"));

expect(layer).toExist();
expect(map.imageryLayers.length).toBe(1);
});

it('switch osm layer visibility', () => {
// create layers
var layer = ReactDOM.render(
Expand Down
19 changes: 0 additions & 19 deletions web/client/components/map/cesium/plugins/BingLayer.js

This file was deleted.

1 change: 0 additions & 1 deletion web/client/components/map/cesium/plugins/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import './WMSLayer';
import './WMTSLayer';
import './MarkerLayer';
import './EmptyLayer';
import './BingLayer';
import './GraticuleLayer';
import './OSMLayer';
import './OverlayLayer';
Expand Down
20 changes: 0 additions & 20 deletions web/client/components/map/leaflet/__tests__/Layer-test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import '../plugins/GraticuleLayer';
import '../plugins/WMSLayer';
import '../plugins/WMTSLayer';
import '../plugins/GoogleLayer';
import '../plugins/BingLayer';
import '../plugins/MapQuest';
import '../plugins/WFSLayer';
import '../plugins/VectorLayer';
Expand Down Expand Up @@ -771,25 +770,6 @@ describe('Leaflet layer', () => {
});
});


it('creates a bing layer for leaflet map', () => {
var options = {
"type": "bing",
"title": "Bing Aerial",
"name": "Aerial",
"group": "background"
};
// create layers
var layer = ReactDOM.render(
<LeafLetLayer type="bing" options={options} map={map}/>, document.getElementById("container"));
var lcount = 0;

expect(layer).toExist();
// count layers
map.eachLayer(function() {lcount++; });
expect(lcount).toBe(1);
});

it('switch osm layer visibility', () => {
// create layers
var layer = ReactDOM.render(
Expand Down
74 changes: 0 additions & 74 deletions web/client/components/map/leaflet/plugins/BingLayer.js

This file was deleted.

1 change: 0 additions & 1 deletion web/client/components/map/leaflet/plugins/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/

module.exports = {
BingLayer: require('./BingLayer'),
Commons: require('./Commons'),
GraticuleLayer: require('./GraticuleLayer'),
GoogleLayer: require('./GoogleLayer'),
Expand Down
56 changes: 0 additions & 56 deletions web/client/components/map/openlayers/__tests__/Layer-test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import '../plugins/OSMLayer';
import '../plugins/WMSLayer';
import '../plugins/WMTSLayer';
import '../plugins/GoogleLayer';
import '../plugins/BingLayer';
import '../plugins/MapQuest';
import '../plugins/VectorLayer';
import '../plugins/GraticuleLayer';
Expand Down Expand Up @@ -1652,61 +1651,6 @@ describe('Openlayers layer', () => {
expect(dom.style.transform).toBe('rotate(90deg)');
});

it('creates a bing layer for openlayers map', () => {
var options = {
"type": "bing",
"title": "Bing Aerial",
"name": "Aerial",
"group": "background"
};
// create layers
var layer = ReactDOM.render(
<OpenlayersLayer type="bing" options={options} map={map}/>, document.getElementById("container"));

expect(layer).toBeTruthy();
// count layers
expect(map.getLayers().getLength()).toBe(1);
});

it('change a bing layer visibility', () => {
var options = {
"type": "bing",
"title": "Bing Aerial",
"name": "Aerial",
"group": "background"
};
// create layers
var layer = ReactDOM.render(
<OpenlayersLayer type="bing" options={options} map={map}/>, document.getElementById("container"));

expect(layer).toBeTruthy();
expect(layer.layer).toBeTruthy();
// count layers
expect(map.getLayers().getLength()).toBe(1);
expect(layer.layer.getVisible()).toBe(true);
layer = ReactDOM.render(
<OpenlayersLayer type="bing" options={{
"type": "bing",
"title": "Bing Aerial",
"name": "Aerial",
"group": "background",
"visibility": true
}} map={map}/>, document.getElementById("container"));
expect(map.getLayers().getLength()).toBe(1);
expect(layer.layer.getVisible()).toBe(true);
layer = ReactDOM.render(
<OpenlayersLayer type="bing" options={{
"type": "bing",
"title": "Bing Aerial",
"name": "Aerial",
"group": "background",
"visibility": false
}} map={map}/>, document.getElementById("container"));
expect(map.getLayers().getLength()).toBe(1);
expect(layer.layer.getVisible()).toBe(false);

});

it('creates a mapquest layer for openlayers map', () => {
var options = {
"type": "mapquest",
Expand Down
59 changes: 0 additions & 59 deletions web/client/components/map/openlayers/plugins/BingLayer.js

This file was deleted.

1 change: 0 additions & 1 deletion web/client/components/map/openlayers/plugins/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/

export default {
BingLayer: require('./BingLayer').default,
GoogleLayer: require('./GoogleLayer').default,
GraticuleLayer: require('./GraticuleLayer').default,
MapQuest: require('./MapQuest').default,
Expand Down
Loading