I want to use maps offline instead of using 3rd party


I want to customize the base map layer in the defaults.ini file. I tried different configurations, but nothing worked out.

Can anyone suggest a solution for this?

default_baselayer_config = { "type": "xyz", "config": { "attribution": "Open street map", "url": "$[url](http://localhost:8080/geoserver/osm/wms?service=WMS&version=1.1.0&request=GetMap&layers=osm%3Aosm&bbox=-180.0004640446196%2C-85.05113006405743%2C180.0004640446196%2C85.05116881126087&width=768&height=362&srs=EPSG%3A4326&format=application/openlayers#toggle/{z}/{x}/{y}.png" } }

Does the above URL correct? do I need to change anything to make it work?

Thanks in advance.