[OpenLayers-Trac] [OpenLayers] #686: Treat Google Layer as projected data
OpenLayers
trac at openlayers.org
Tue Sep 11 15:52:53 EDT 2007
#686: Treat Google Layer as projected data
----------------------+-----------------------------------------------------
Reporter: euzuro | Owner:
Type: feature | Status: new
Priority: blocker | Milestone: 2.5 Release
Component: general | Version: 2.4 RC2
Resolution: | Keywords: review
----------------------+-----------------------------------------------------
Comment (by elemoine):
Replying to [comment:5 crschmidt]:
> I don't know how much testing we want to do on this, but I'm tapped out
on it: for now, marking review just to garner comments from anyone
interested in the code. This is just a diff between
http://dev.openlayers.org/sandbox/tschaub/google/ and trunk -- The code
can be checked out from:
>
> http://svn.openlayers.org/sandbox/tschaub/google/
>
> and the way you use it is to set:
>
> sphericalMercator: true
>
> as an option on the layer.
>
> I think this is going to be the final API: the GoogleMercator layer is
going to go away, and it's just going to be an option on the layer.
I've just taken a look at the patch. Excellent work. One comment: your
patch adds !GoogleMercator.js to the js list in !OpenLayers.js, which, I
guess, is not something you want in the final patch.
--
Ticket URL: <http://trac.openlayers.org/ticket/686#comment:6>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list