Skip to content

Commit

Permalink
Changing fitbounds to project
Browse files Browse the repository at this point in the history
  • Loading branch information
clash99 committed Mar 16, 2017
1 parent e5b02b2 commit d65be07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cadasta/templates/organization/project_dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}';
Expand Down
2 changes: 1 addition & 1 deletion cadasta/templates/spatial/location_map.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}';
Expand Down

0 comments on commit d65be07

Please sign in to comment.