diff --git a/cadasta/templates/organization/project_dashboard.html b/cadasta/templates/organization/project_dashboard.html index ab0c6d71c..272a15e63 100644 --- a/cadasta/templates/organization/project_dashboard.html +++ b/cadasta/templates/organization/project_dashboard.html @@ -32,7 +32,7 @@ renderFeatures(map, '{% url "async:spatial:list" project.organization.slug project.slug %}', - {projectExtent: projectExtent, trans: trans, fitBounds: 'locations'}); + {projectExtent: projectExtent, trans: trans, fitBounds: 'project'}); var orgSlug = '{{ project.organization.slug }}'; var projectSlug = '{{ project.slug }}'; diff --git a/cadasta/templates/spatial/location_map.html b/cadasta/templates/spatial/location_map.html index 8996d2e1b..f2062d7cd 100644 --- a/cadasta/templates/spatial/location_map.html +++ b/cadasta/templates/spatial/location_map.html @@ -33,7 +33,7 @@ renderFeatures(map, '{% url "async:spatial:list" object.organization.slug object.slug %}', - {projectExtent: projectExtent, trans: trans, fitBounds: 'locations'}); + {projectExtent: projectExtent, trans: trans, fitBounds: 'project'}); var orgSlug = '{{ object.organization.slug }}'; var projectSlug = '{{ object.slug }}';