Browse Source

move map images to public folder for use in API docs

main
Aaron Parecki 2 years ago
parent
commit
e77d8b00f3
Failed to extract signature
63 changed files with 1 additions and 1 deletions
  1. +1
    -1
      controllers/main.php
  2. +0
    -0
      public/map-images/dot-large-blue.png
  3. +0
    -0
      public/map-images/dot-large-gray.png
  4. +0
    -0
      public/map-images/dot-large-green.png
  5. +0
    -0
      public/map-images/dot-large-orange.png
  6. +0
    -0
      public/map-images/dot-large-pink.png
  7. +0
    -0
      public/map-images/dot-large-purple.png
  8. +0
    -0
      public/map-images/dot-large-red.png
  9. +0
    -0
      public/map-images/dot-large-yellow.png
  10. +0
    -0
      public/map-images/dot-small-blue.png
  11. +0
    -0
      public/map-images/dot-small-gray.png
  12. +0
    -0
      public/map-images/dot-small-green.png
  13. +0
    -0
      public/map-images/dot-small-orange.png
  14. +0
    -0
      public/map-images/dot-small-pink.png
  15. +0
    -0
      public/map-images/dot-small-purple.png
  16. +0
    -0
      public/map-images/dot-small-red.png
  17. +0
    -0
      public/map-images/dot-small-yellow.png
  18. +0
    -0
      public/map-images/fb.png
  19. +0
    -0
      public/map-images/google.png
  20. +0
    -0
      public/map-images/large-blue-blank.png
  21. +0
    -0
      public/map-images/large-blue-cutout.png
  22. +0
    -0
      public/map-images/large-gray-blank.png
  23. +0
    -0
      public/map-images/large-gray-cutout.png
  24. +0
    -0
      public/map-images/large-gray-user.png
  25. +0
    -0
      public/map-images/large-green-blank.png
  26. +0
    -0
      public/map-images/large-green-cutout.png
  27. +0
    -0
      public/map-images/large-orange-blank.png
  28. +0
    -0
      public/map-images/large-orange-cutout.png
  29. +0
    -0
      public/map-images/large-pink-blank.png
  30. +0
    -0
      public/map-images/large-pink-cutout.png
  31. +0
    -0
      public/map-images/large-purple-blank.png
  32. +0
    -0
      public/map-images/large-purple-cutout.png
  33. +0
    -0
      public/map-images/large-red-blank.png
  34. +0
    -0
      public/map-images/large-red-cutout.png
  35. +0
    -0
      public/map-images/large-yellow-blank.png
  36. +0
    -0
      public/map-images/large-yellow-cutout.png
  37. +0
    -0
      public/map-images/large-yellow-message.png
  38. +0
    -0
      public/map-images/large-yellow-user.png
  39. +0
    -0
      public/map-images/mapbox-attribution.png
  40. +0
    -0
      public/map-images/mapbox-attribution.psd
  41. +0
    -0
      public/map-images/powered-by-esri.png
  42. +0
    -0
      public/map-images/powered-by-esri.psd
  43. +0
    -0
      public/map-images/small-blue-blank.png
  44. +0
    -0
      public/map-images/small-blue-cutout.png
  45. +0
    -0
      public/map-images/small-gray-blank.png
  46. +0
    -0
      public/map-images/small-gray-cutout.png
  47. +0
    -0
      public/map-images/small-gray-message.png
  48. +0
    -0
      public/map-images/small-gray-user.png
  49. +0
    -0
      public/map-images/small-green-blank.png
  50. +0
    -0
      public/map-images/small-green-cutout.png
  51. +0
    -0
      public/map-images/small-green-user.png
  52. +0
    -0
      public/map-images/small-orange-blank.png
  53. +0
    -0
      public/map-images/small-orange-cutout.png
  54. +0
    -0
      public/map-images/small-pink-blank.png
  55. +0
    -0
      public/map-images/small-pink-cutout.png
  56. +0
    -0
      public/map-images/small-pink-user.png
  57. +0
    -0
      public/map-images/small-purple-blank.png
  58. +0
    -0
      public/map-images/small-purple-cutout.png
  59. +0
    -0
      public/map-images/small-red-blank.png
  60. +0
    -0
      public/map-images/small-red-cutout.png
  61. +0
    -0
      public/map-images/small-yellow-blank.png
  62. +0
    -0
      public/map-images/small-yellow-cutout.png
  63. +0
    -0
      public/map-images/small-yellow-user.png

+ 1
- 1
controllers/main.php View File

@ -12,6 +12,6 @@ $app->get('/map', function() use($app) {
$app->map('/map/img', function() use($app) {
$params = $app->request()->params();
$app->response['Content-type'] = 'image/png';
$assetPath = dirname(__FILE__) . '/../p3k/map/images';
$assetPath = dirname(__FILE__) . '/../public/map-images';
$map = p3k\geo\StaticMap\generate($params, null, $assetPath);
})->via('GET','POST');

p3k/map/images/dot-large-blue.png → public/map-images/dot-large-blue.png View File


p3k/map/images/dot-large-gray.png → public/map-images/dot-large-gray.png View File


p3k/map/images/dot-large-green.png → public/map-images/dot-large-green.png View File


p3k/map/images/dot-large-orange.png → public/map-images/dot-large-orange.png View File


p3k/map/images/dot-large-pink.png → public/map-images/dot-large-pink.png View File


p3k/map/images/dot-large-purple.png → public/map-images/dot-large-purple.png View File


p3k/map/images/dot-large-red.png → public/map-images/dot-large-red.png View File


p3k/map/images/dot-large-yellow.png → public/map-images/dot-large-yellow.png View File


p3k/map/images/dot-small-blue.png → public/map-images/dot-small-blue.png View File


p3k/map/images/dot-small-gray.png → public/map-images/dot-small-gray.png View File


p3k/map/images/dot-small-green.png → public/map-images/dot-small-green.png View File


p3k/map/images/dot-small-orange.png → public/map-images/dot-small-orange.png View File


p3k/map/images/dot-small-pink.png → public/map-images/dot-small-pink.png View File


p3k/map/images/dot-small-purple.png → public/map-images/dot-small-purple.png View File


p3k/map/images/dot-small-red.png → public/map-images/dot-small-red.png View File


p3k/map/images/dot-small-yellow.png → public/map-images/dot-small-yellow.png View File


p3k/map/images/fb.png → public/map-images/fb.png View File


p3k/map/images/google.png → public/map-images/google.png View File


p3k/map/images/large-blue-blank.png → public/map-images/large-blue-blank.png View File


p3k/map/images/large-blue-cutout.png → public/map-images/large-blue-cutout.png View File


p3k/map/images/large-gray-blank.png → public/map-images/large-gray-blank.png View File


p3k/map/images/large-gray-cutout.png → public/map-images/large-gray-cutout.png View File


p3k/map/images/large-gray-user.png → public/map-images/large-gray-user.png View File


p3k/map/images/large-green-blank.png → public/map-images/large-green-blank.png View File


p3k/map/images/large-green-cutout.png → public/map-images/large-green-cutout.png View File


p3k/map/images/large-orange-blank.png → public/map-images/large-orange-blank.png View File


p3k/map/images/large-orange-cutout.png → public/map-images/large-orange-cutout.png View File


p3k/map/images/large-pink-blank.png → public/map-images/large-pink-blank.png View File


p3k/map/images/large-pink-cutout.png → public/map-images/large-pink-cutout.png View File


p3k/map/images/large-purple-blank.png → public/map-images/large-purple-blank.png View File


p3k/map/images/large-purple-cutout.png → public/map-images/large-purple-cutout.png View File


p3k/map/images/large-red-blank.png → public/map-images/large-red-blank.png View File


p3k/map/images/large-red-cutout.png → public/map-images/large-red-cutout.png View File


p3k/map/images/large-yellow-blank.png → public/map-images/large-yellow-blank.png View File


p3k/map/images/large-yellow-cutout.png → public/map-images/large-yellow-cutout.png View File


p3k/map/images/large-yellow-message.png → public/map-images/large-yellow-message.png View File


p3k/map/images/large-yellow-user.png → public/map-images/large-yellow-user.png View File


p3k/map/images/mapbox-attribution.png → public/map-images/mapbox-attribution.png View File


p3k/map/images/mapbox-attribution.psd → public/map-images/mapbox-attribution.psd View File


p3k/map/images/powered-by-esri.png → public/map-images/powered-by-esri.png View File


p3k/map/images/powered-by-esri.psd → public/map-images/powered-by-esri.psd View File


p3k/map/images/small-blue-blank.png → public/map-images/small-blue-blank.png View File


p3k/map/images/small-blue-cutout.png → public/map-images/small-blue-cutout.png View File


p3k/map/images/small-gray-blank.png → public/map-images/small-gray-blank.png View File


p3k/map/images/small-gray-cutout.png → public/map-images/small-gray-cutout.png View File


p3k/map/images/small-gray-message.png → public/map-images/small-gray-message.png View File


p3k/map/images/small-gray-user.png → public/map-images/small-gray-user.png View File


p3k/map/images/small-green-blank.png → public/map-images/small-green-blank.png View File


p3k/map/images/small-green-cutout.png → public/map-images/small-green-cutout.png View File


p3k/map/images/small-green-user.png → public/map-images/small-green-user.png View File


p3k/map/images/small-orange-blank.png → public/map-images/small-orange-blank.png View File


p3k/map/images/small-orange-cutout.png → public/map-images/small-orange-cutout.png View File


p3k/map/images/small-pink-blank.png → public/map-images/small-pink-blank.png View File


p3k/map/images/small-pink-cutout.png → public/map-images/small-pink-cutout.png View File


p3k/map/images/small-pink-user.png → public/map-images/small-pink-user.png View File


p3k/map/images/small-purple-blank.png → public/map-images/small-purple-blank.png View File


p3k/map/images/small-purple-cutout.png → public/map-images/small-purple-cutout.png View File


p3k/map/images/small-red-blank.png → public/map-images/small-red-blank.png View File


p3k/map/images/small-red-cutout.png → public/map-images/small-red-cutout.png View File


p3k/map/images/small-yellow-blank.png → public/map-images/small-yellow-blank.png View File


p3k/map/images/small-yellow-cutout.png → public/map-images/small-yellow-cutout.png View File


p3k/map/images/small-yellow-user.png → public/map-images/small-yellow-user.png View File


Loading…
Cancel
Save