PiRSquared17 / morisoliver

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

Geocoding zoom too far out #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When selecting "Zoom to center point" in the search for a location tool, the 
map should zoom to 1:1,000 or the closest available zoom level. Please change 
the "Zoom to center point" to the following zoom levels:

Custom - 1:1,000
Google Satellite - 1:1,066 (or the closest available zoom level to 1:1,000)
OpenStreetMap - 1:2,133 (or the closest available zoom level to 1:1,000)

Original issue reported on code.google.com by emily.hu...@state.ma.us on 29 Jul 2011 at 3:12

GoogleCodeExporter commented 9 years ago
It will attempt to set the scale to 1000 no matter what baselayer.

Committed revision 74.

Original comment by cpl...@gmail.com on 24 Aug 2011 at 7:28

GoogleCodeExporter commented 9 years ago
Looks like it goes to 1000 to me - Firefox 6

Original comment by Aleda.Fr...@state.ma.us on 25 Aug 2011 at 3:44

GoogleCodeExporter commented 9 years ago
IE9
Custom - 1:1,000
Google Terrain - 1:17,062  (whoa!)
Google Satellite - 1:1,066
Open Street Map - 1:2,133

Original comment by daniel.s...@state.ma.us on 29 Aug 2011 at 8:00

GoogleCodeExporter commented 9 years ago
I get the same thing as Dan.
I tried Firefox 6, my address "1 Ashburton Pl 02108"
Before each try I reloaded MORIS.
I chose "Zoom to center point"

Google Satellite - 1:1,066
Custom - 1:1,000
Google Terrain - 1:1,17062
Open Street Map - 1:2,133

The Terrain and OSM - those are the closest zooms we have so it does the best 
it can.
I assume we don't have closer zooms because there aren't closer zoom available? 

Original comment by Aleda.Fr...@state.ma.us on 30 Aug 2011 at 9:02

GoogleCodeExporter commented 9 years ago
Terrain is zooming to 1:17k because that is the closest zoom it has to 1k.  Our 
settings are:

  lyrBase['googleSatellite'] = new OpenLayers.Layer.Google(
     'googleSatellite'
    ,{
       'sphericalMercator' : true
      ,type                : google.maps.MapTypeId.SATELLITE
      ,minZoomLevel        : 7
      ,maxZoomLevel        : 20
    }
  );
  lyrBase['googleTerrain'] = new OpenLayers.Layer.Google(
     'googleTerrain'
    ,{
       'sphericalMercator' : true
      ,type                : google.maps.MapTypeId.TERRAIN
      ,minZoomLevel        : 7
      ,maxZoomLevel        : 15
    }
  );
  lyrBase['openStreetMap'] = new OpenLayers.Layer.OSM(
     'openStreetMap'
    ,'http://tile.openstreetmap.org/${z}/${x}/${y}.png'
  );
  lyrBase['custom'] = new OpenLayers.Layer.WMS.Untiled(
     'custom'
    ,'img/bg.png'
    ,{}
    ,{
       isBaseLayer : true
      ,maxScale    : 100
      ,minScale    : 5000000

Original comment by cpl...@gmail.com on 1 Sep 2011 at 4:00

GoogleCodeExporter commented 9 years ago
IE9
Custom - 1:1,000
Google Terrain - 1:17,062
Google Satellite - 1:1,066
Google Roadmap - 1:1,066
Google Hybrid - 1:1,066
Yahoo Satellite - 1:17,062
Yahoo Street - 1:17,062
Yahoo Hybrid - 1:17,062
OSM - 1:2,133

If the Yahoo can't be forced to zoom in further (it will on the Yahoo maps page 
itself), this is ready for the Verified pile.  Charlton can you confirm?

Original comment by daniel.s...@state.ma.us on 23 Sep 2011 at 8:49

GoogleCodeExporter commented 9 years ago
I got the same thing as Dan. Tested with Chrome 14 on Windows 7.

Original comment by emily.hu...@state.ma.us on 26 Sep 2011 at 3:00

GoogleCodeExporter commented 9 years ago
Zoom to center point zooms to 1:1,066 for all three Bing basemaps. Tested MORIS 
v. 0.62 with Chrome 14 on Windows 7.

Original comment by emily.hu...@state.ma.us on 18 Oct 2011 at 6:47