dynamic / silverstripe-locator

SilverStripe Locator Module. Show locations on a map. Search by geoposition.
http://www.dynamicagency.com/labs/silverstripe-locator-module/
BSD 3-Clause "New" or "Revised" License
21 stars 7 forks source link

Separated out an api controller #192

Open mak001 opened 6 years ago

mak001 commented 6 years ago

Pulled out methods from the locator controller and one from the locator page. Mostly for a locator block.

Resolves #109

codecov[bot] commented 6 years ago

Codecov Report

Merging #192 into master will decrease coverage by 1.72%. The diff coverage is 77.68%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #192      +/-   ##
============================================
- Coverage     68.67%   66.94%   -1.73%     
- Complexity       90      102      +12     
============================================
  Files             7        8       +1     
  Lines           316      357      +41     
============================================
+ Hits            217      239      +22     
- Misses           99      118      +19
Impacted Files Coverage Δ Complexity Δ
src/Admin/LocationAdmin.php 0% <ø> (ø) 4 <0> (?)
src/Model/LocationCategory.php 100% <ø> (ø) 7 <0> (?)
src/Form/LocatorForm.php 78.94% <ø> (ø) 10 <0> (?)
src/Model/Location.php 100% <ø> (ø) 10 <0> (?)
src/Page/LocatorController.php 9.45% <0%> (ø) 18 <0> (?)
src/Control/APIController.php 85.43% <85.43%> (ø) 34 <34> (?)
src/Page/Locator.php 87.5% <85.71%> (ø) 17 <1> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 142afd7...378db70. Read the comment docs.