Skip to content

Commit

Permalink
Merge pull request #4697 from camptocamp/mobile-measure-area
Browse files Browse the repository at this point in the history
Move the mobile measure area from mobile_alt to mobile.
  • Loading branch information
sbrunner committed Feb 27, 2019
2 parents fb97a32 + 0cbd52f commit 0e370c5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
17 changes: 17 additions & 0 deletions contribs/gmf/apps/mobile/index.html.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@
gmf-displayquerywindow-featuresstyle="::mainCtrl.queryFeatureStyle"
gmf-displayquerywindow-defaultcollapsed="false">
</gmf-displayquerywindow>
<div
class="gmf-mobile-measure"
gmf-mobile-measurearea
gmf-mobile-measurearea-active="mainCtrl.measureAreaActive"
gmf-mobile-measurearea-precision="2"
gmf-mobile-measurearea-sketchstyle="::mainCtrl.customMeasureStyle"
gmf-mobile-measurearea-map="::mainCtrl.map">
</div>
<div
class="gmf-mobile-measure"
gmf-mobile-measurelength
Expand Down Expand Up @@ -160,6 +168,15 @@
{{'Length' | translate}}
</a>
</li>
<li>
<a ngeo-btn
ng-click="mainCtrl.hideNav()"
class="gmf-mobile-nav-button"
ng-model="mainCtrl.measureAreaActive">
<span class="fa fa-fw" ng-class="{'fa-check': mainCtrl.measureAreaActive}"></span>
{{'Area' | translate}}
</a>
</li>
</ul>
</div>
<gmf-authentication id="login" class="gmf-mobile-nav-slide" data-header-title="{{'Login' | translate}}"
Expand Down
17 changes: 0 additions & 17 deletions contribs/gmf/apps/mobile_alt/index.html.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,6 @@
gmf-displayquerywindow-featuresstyle="::mainCtrl.queryFeatureStyle"
gmf-displayquerywindow-defaultcollapsed="false">
</gmf-displayquerywindow>
<div
class="gmf-mobile-measure"
gmf-mobile-measurearea
gmf-mobile-measurearea-active="mainCtrl.measureAreaActive"
gmf-mobile-measurearea-precision="2"
gmf-mobile-measurearea-sketchstyle="::mainCtrl.customMeasureStyle"
gmf-mobile-measurearea-map="::mainCtrl.map">
</div>
<div
class="gmf-mobile-measure"
gmf-mobile-measurelength
Expand Down Expand Up @@ -174,15 +166,6 @@
{{'Length' | translate}}
</a>
</li>
<li>
<a ngeo-btn
ng-click="mainCtrl.hideNav()"
class="gmf-mobile-nav-button"
ng-model="mainCtrl.measureAreaActive">
<span class="fa fa-fw" ng-class="{'fa-check': mainCtrl.measureAreaActive}"></span>
{{'Area' | translate}}
</a>
</li>
</ul>
</div>
<gmf-authentication id="login" class="gmf-mobile-nav-slide" data-header-title="{{'Login' | translate}}"
Expand Down

0 comments on commit 0e370c5

Please sign in to comment.