Permalink
Browse files

first commit

  • Loading branch information...
1 parent 870af16 commit 14d4fbf2ef35f70ffdcca4aadbe014b128e5c8c3 @korbinus committed May 24, 2011
Showing with 38 additions and 0 deletions.
  1. +20 −0 LICENSE.txt
  2. +13 −0 annotated.js
  3. +1 −0 index.js
  4. +4 −0 package.json
View
@@ -0,0 +1,20 @@
+Copyright (c) 2011 Mickael Graf http://korbinus.geotruc.net
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
@@ -0,0 +1,13 @@
+function(
+ a //placeholder for div element
+) {
+ with (google.maps) {
+ var map = new Map(a
+ , { zoom:1 //zoom 1
+ ,center: new LatLng(0,0) //centered 0,0
+ ,overviewMapControl:!0 //overview
+ ,mapTypeId: MapTypeId.TERRAIN //terrain is beautiful
+ }
+ )
+ }
+}
View
@@ -0,0 +1 @@
+function(){with(google.maps)new Map(document.getElementById("map"),{zoom:1,center:new LatLng(0,0),mapTypeId:MapTypeId.TERRAIN})}
View
@@ -0,0 +1,4 @@
+{
+ "name":"GoogleMaps",
+ "keywords":["googlemaps","map"]
+}

0 comments on commit 14d4fbf

Please sign in to comment.