nakijun / morisoliver

Automatically exported from code.google.com/p/morisoliver
0 stars 0 forks source link

Permalink does not work for new Digital Globe basemap #223

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
lyrBase['MassGIS_Basemap'] = new OpenLayers.Layer.OSM(
   'MassGIS_Basemap'
   ,['http://gisprpxy.itd.state.ma.us/tiles/Basemaps_MassGISBasemapNoLabels1/${z}/${y}/${x}.jpg',
   'http://170.63.206.116/tiles/Basemaps_MassGISBasemapNoLabels1/${z}/${y}/${x}.jpg']
   ,{
      numZoomLevels : 20
      ,tileOptions: { crossOriginKeyword: null }
      ,attribution : null // enter a string for custom attribution
   }
);

Original issue reported on code.google.com by Aleda.Fr...@state.ma.us on 11 Jul 2013 at 3:04

GoogleCodeExporter commented 9 years ago
OK, I got the Permalink to work - the name had to be exactly the same as 
availableBase  

http://maps.massgis.state.ma.us/map_ol/oliver.php?lyrs=&bbox=-70.68315765394739,
41.905956348646306,-69.57422515898433,42.19149181784553&coordUnit=m&measureUnit=
m&base=Basemaps_Orthos_DigitalGlobe2011_2012¢er=-7806690.2173664,5168304.922302
3&zoom=11&opacity=&baseO=1&filt=

I updated map.js for that.

Original comment by Aleda.Fr...@state.ma.us on 11 Jul 2013 at 3:29

GoogleCodeExporter commented 9 years ago

Original comment by Aleda.Fr...@state.ma.us on 11 Jul 2013 at 3:30