BaseMap.js modified

Hello Anton,

I was modified Basemap.js to this select:

            case 'baidu':
                layer = new ol.layer.Tile({
                    source: new ol.source.XYZ({
                        url: 'http://c.map.turistautak.hu/tiles/turistautak/{z}/{x}/{y}.png',
                        attributions: [
                            new ol.Attribution({
                                html: ''
                            })
                        ]
                    })
                });
                break;

But when I start the the softver stil load the baidu map. Can I do rewrite any file this?

Anton Tananaev7 years ago

You have to either compile a minified version or use app in the debug mode:

https://www.traccar.org/build/

Thanks, I will try this.