Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- angular.module('starter').factory('HistoricalMapService', [ function() {
- var mapYearObj = {};
- mapYearObj.locateMapYear = [
- {
- name : "2015",
- tileLayer: 'http://e1.onemap.sg/arcgis/rest/services/SM256WGS84/MapServer/tile/{z}/{y}/{x}'
- },
- {
- name : "2007",
- tileLayer: 'http://52.74.148.255/geoserver/gwc/service/tms/1.0.0/HistoricalMap:2007wgs84@EPSG:3857@png/{z}/{x}/{y}.png'
- },
- {
- name : "1998",
- tileLayer: 'http://52.74.148.255/geoserver/gwc/service/tms/1.0.0/HistoricalMap:1998wgs84@EPSG:3857@png/{z}/{x}/{y}.png'
- },
- {
- name : "1988",
- tileLayer: 'http://52.74.148.255/geoserver/gwc/service/tms/1.0.0/HistoricalMap:19888wgs84@EPSG:3857@png/{z}/{x}/{y}.png'
- },
- {
- name : "1975",
- tileLayer: 'http://52.74.148.255/geoserver/gwc/service/tms/1.0.0/HistoricalMap:1975wgs84@EPSG:3857@png/{z}/{x}/{y}.png'
- },
- {
- name : "1969",
- tileLayer: 'http://52.74.148.255/geoserver/gwc/service/tms/1.0.0/HistoricalMap:1969wgs84@EPSG:3857@png/{z}/{x}/{y}.png'
- },
- {
- name : "1961",
- tileLayer: 'http://52.74.148.255/geoserver/gwc/service/tms/1.0.0/HistoricalMap:1961wgs84@EPSG:3857@png/{z}/{x}/{y}.png'
- },
- {
- name : "1955",
- tileLayer: 'http://52.74.148.255/geoserver/gwc/service/tms/1.0.0/HistoricalMap:1955wgs84@EPSG:3857@png/{z}/{x}/{y}.png'
- }
- ];
- return mapYearObj;
- }]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement