NOTE #1 (June 9th, 2006): I deleted the code references in the blog and instead point people to the sample link above, where a working version of the code is maintained (the key component is the file called wms236.js).
NOTE #2 (June 9th, 2006): Thanks to Guilhem Vellut for fixing up some Javascript code to make the Mercator Projection work more accurately. Now, it can be used at all zoom levels.
Attributions:
->Mike Williams http://www.econym.demon.co.uk/googlemaps2/ V2 Reference & custommap code
->Brian Flood http://www.spatialdatalogic.com/cs/blogs/brian_flood/archive/2005/07/11/39.aspx V1 WMS code
->Kyle Mulka http://blog.kylemulka.com/?p=287 V1 WMS code modifications
->http://search.cpan.org/src/RRWO/GPS-Lowrance-0.31/lib/Geo/Coordinates/MercatorMeters.pm
->Modified by Chris Holmes, TOPP to work by default with GeoServer.
->Guilhem Vellut
3 comments:
good stuff John, I just got back into GMaps and WMS. This is clearly the update I need :)
cheers
brian
fyi - you should also add the "&reaspect=false" to the url to deal with some WMS servers.
Thank you for keeping this updated - it's incredibly useful.
Post a Comment