OpenLayers OpenLayers

Changeset 1222

Show
Ignore:
Timestamp:
08/15/06 14:07:43 (2 years ago)
Author:
crschmidt
Message:

Add support for Google Layer to MVS.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/examples/mvs.html

    r1220 r1222  
    1212<head> 
    1313 
     14    <!-- this gmaps key generated for http://openlayers.org/dev/ --> 
     15    <script src='http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAA9XNhd8q0UdwNC7YSO4YZghSPUCi5aRYVveCcVYxzezM4iaj_gxQ9t-UajFL70jfcpquH5l1IJ-Zyyw'></script> 
     16    <!-- Localhost key --> 
     17     <!--<script src='http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhT2yXp_ZAY8_ufC3CFXhHIE1NvwkxTS6gjckBmeABOGXIUiOiZObZESPg'></script>--> 
    1418<script src="http://openlayers.org/dev/lib/OpenLayers.js"></script> 
    1519 
     
    96100                       )); 
    97101                break; 
     102            case 'gmaps': 
     103                theMVS.addLayer( 
     104                    new OpenLayers.Layer.Google( "Google" , {type: G_HYBRID_MAP }) 
     105                ); 
     106                break; 
    98107        } 
    99108    }