]> source.dussan.org Git - vaadin-framework.git/commitdiff
Using itmill.com API-key by default; seems to work fine on localhost.
authorMarc Englund <marc.englund@itmill.com>
Wed, 3 Sep 2008 08:17:24 +0000 (08:17 +0000)
committerMarc Englund <marc.englund@itmill.com>
Wed, 3 Sep 2008 08:17:24 +0000 (08:17 +0000)
svn changeset:5338/svn branch:trunk

src/com/itmill/toolkit/demo/reservation/gwt/ReservationWidgetSet.gwt.xml

index 4298a0e164d3260257d2bf131c620c0eae19d5d5..f68a043fe37f801fb0241b3b1880baa41f3af9a7 100644 (file)
                Append your Google Maps API key to the src -attribute below, like so:
                        src="http://maps.google.com/maps?gwt=1&amp;file=api&amp;v=2.x&key=XXXXXXXX"
                where the X:s represent your key.
-               Example for http://toolkit.itmill.com:
-               <script src="http://maps.google.com/maps?gwt=1&amp;file=api&amp;v=2.x&key=ABQIAAAA4q5gw_y_N1Anvvn1KqbLwRTHuC2ERVOT66iQW8-FqpCQQUlHqBTZ0rGKdlKh9fxQOKN87TCwVNlIXQ" type="text/javascript"></script>      
        -->
-       <script src="http://maps.google.com/maps?gwt=1&amp;file=api&amp;v=2.x" />
+       <!-- Works w/o key for localhost:
+               <script src="http://maps.google.com/maps?gwt=1&amp;file=api&amp;v=2.x" />
+       -->
+       <!-- Using key for http://toolkit.itmill.com: -->
+       <script src="http://maps.google.com/maps?gwt=1&amp;file=api&amp;v=2.x&amp;key=ABQIAAAA4q5gw_y_N1Anvvn1KqbLwRTHuC2ERVOT66iQW8-FqpCQQUlHqBTZ0rGKdlKh9fxQOKN87TCwVNlIXQ" />
 
        <!-- Entry point -->
        <entry-point class="com.itmill.toolkit.demo.reservation.gwt.client.ReservationWidgetSet"/>