Advertisement
kyroskoh

Historical Map Service

May 8th, 2015
564
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. angular.module('starter').factory('HistoricalMapService', [ function() {
  2.  
  3. var mapYearObj = {};
  4.  
  5. mapYearObj.locateMapYear = [
  6. {
  7. name : "2015",
  8. tileLayer: 'http://e1.onemap.sg/arcgis/rest/services/SM256WGS84/MapServer/tile/{z}/{y}/{x}'
  9. },
  10. {
  11. name : "2007",
  12. tileLayer: 'http://52.74.148.255/geoserver/gwc/service/tms/1.0.0/HistoricalMap:2007wgs84@EPSG:3857@png/{z}/{x}/{y}.png'
  13. },
  14. {
  15. name : "1998",
  16. tileLayer: 'http://52.74.148.255/geoserver/gwc/service/tms/1.0.0/HistoricalMap:1998wgs84@EPSG:3857@png/{z}/{x}/{y}.png'
  17. },
  18. {
  19. name : "1988",
  20. tileLayer: 'http://52.74.148.255/geoserver/gwc/service/tms/1.0.0/HistoricalMap:19888wgs84@EPSG:3857@png/{z}/{x}/{y}.png'
  21. },
  22. {
  23. name : "1975",
  24. tileLayer: 'http://52.74.148.255/geoserver/gwc/service/tms/1.0.0/HistoricalMap:1975wgs84@EPSG:3857@png/{z}/{x}/{y}.png'
  25. },
  26. {
  27. name : "1969",
  28. tileLayer: 'http://52.74.148.255/geoserver/gwc/service/tms/1.0.0/HistoricalMap:1969wgs84@EPSG:3857@png/{z}/{x}/{y}.png'
  29. },
  30. {
  31. name : "1961",
  32. tileLayer: 'http://52.74.148.255/geoserver/gwc/service/tms/1.0.0/HistoricalMap:1961wgs84@EPSG:3857@png/{z}/{x}/{y}.png'
  33. },
  34. {
  35. name : "1955",
  36. tileLayer: 'http://52.74.148.255/geoserver/gwc/service/tms/1.0.0/HistoricalMap:1955wgs84@EPSG:3857@png/{z}/{x}/{y}.png'
  37. }
  38.  
  39. ];
  40.  
  41. return mapYearObj;
  42.  
  43. }]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement