I'm actually working on GeoNode 2.8 for a company as an internship, one of my mission is to change the basic zoom. They'd like to have a zoom on a specific region instead of having a global view of the map. For this I need to change the zoom level and the position of it but I don't know where to find this function in all these files.

3 Answers 3


In your settings.py file you have lines for that:

# Where should newly created maps be focused?
os.environ.get('DEFAULT_MAP_CENTER_Y', 0))

# How tightly zoomed should newly created maps be?
# 0 = entire world;
# maximum zoom is between 12 and 15 (for Google Maps, coverage varies by area)
DEFAULT_MAP_ZOOM = int(os.environ.get('DEFAULT_MAP_ZOOM', 0))

Edit that code to your location and zoom. Remember that if you are using "local_settings.py" file, this will over-ride your "settings.py".


Have a look in the settings.py file. The parameters for the base map are set there.

It's worth looking at the Django tutorial to see how the application is structured (it's built on Django).




As I saw while searching is that no solution has been found to change the zoom, they patched the issues but it still here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.