Friday, February 22, 2008 2:37 PM -
Code-Challenge-Team
Google Maps Adapter to ArcGIS Server Map Cache
By Nianwei Liu, Senior System Analyst Programmer, Charlotte, North Carolina, USA
Download the script.
Code Summary
This small javascript library enables serving ArcGIS Server map cache directly in Google Maps API. Using this script, ArcGIS Server cached map service can be added to a Google Maps application using as little as one line of code. You can build GIS user orientated AGS ADF applications and more consumer orientated Google Maps applications using the exact same set of map caches. The main difference of this script and other Google Map/GIS integration is that instead of making map caches to fit in Google system, this script will make Google system fit in the existing ArcGIS Map cache, without maintaining two separate set of map caches, specifically:
--No need to project your map into Google's coordinate system (Sphere Mercator). The map can stay in state plane coordinate system. (Currently only Lambert Conic Conformal is supported, which is the most widely used projection in U.S. state plane coordinate systems).
--No need to follow the exact zoom level defined by Google tile system, which starts from 0 at globe level and increase in strict factor of 2. The map cache can use standard map scales such as 1:500000 etc, or customized scales you defined when building ArcGIS server cache.
--Can use different tile sizes. ArcGIS server defaults to 512, which is different that Google's default 256.