[OGDev] GMAP and GMAP2 - was Re: Could maps be centred and scaled

Andrew Black - lists andrew-lists at mail.black1.org.uk
Sat May 3 09:29:18 BST 2008


Kake L Pugh wrote:
> On Fri 02 May 2008, Andrew Black - lists <andrew-lists at mail.black1.org.uk> wrote:
>> I mean the latter.  With the additional constraint that it should be no 
>> larger scale than at at present (or some other configured zoom).
>> Otherwise one (or a few very close) points give you a large scale map 
>> with no context.
> 
> Yes - just have a minimum/maximum zoom level (can't remember which way
> the numbers go).

It is confusing....

In the original version of GMAP (which I believe OG uses), 0 is the most 
zoomed in and a typical views is about 3-5. RGL defaults to 5.

In the new version GMAP2 which has been around for at least a year the 
most zoomed in is 17 and typical views are 14-12.  The reason for the 
change is that they can in the future give zooms that are finer than 17 
(0 in old money). Personally it would have been simpler to allow for 
negative zoom levels.

More details of differences are in
http://code.google.com/apis/maps/documentation/upgrade.html

The old interface continues to be supported as a "legacy" version of 
GMAP2 new features are only being released on GMAP2.



More information about the OpenGuides-Dev mailing list