mirror of
https://github.com/maputnik/editor.git
synced 2025-12-27 08:30:02 +00:00
Remove projection code for now.
This commit is contained in:
@@ -483,11 +483,6 @@ export default class App extends React.Component {
|
||||
return metadata['maputnik:renderer'] || 'mbgljs';
|
||||
}
|
||||
|
||||
getProjectionCode () {
|
||||
const metadata = this.state.mapStyle.metadata || {};
|
||||
return this.state.openlayersDebugOptions.enableProjections ? metadata['maputnik:projection'] : "EPSG:3857";
|
||||
}
|
||||
|
||||
mapRenderer() {
|
||||
const metadata = this.state.mapStyle.metadata || {};
|
||||
|
||||
@@ -507,7 +502,6 @@ export default class App extends React.Component {
|
||||
if(renderer === 'ol') {
|
||||
mapElement = <OpenLayersMap
|
||||
{...mapProps}
|
||||
projectionCode={this.getProjectionCode()}
|
||||
debugToolbox={this.state.openlayersDebugOptions.debugToolbox}
|
||||
onLayerSelect={this.onLayerSelect}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user