The kitcommand ~~ google_map ~~
return a Google Map for the given location.
At least you must specify a street, zip code or city to define a location. You can also define a company name.
You can define a city for the location:
~~ google_map city[Berlin] ~~
will show a map centered to Berlin.
You can define a company name for the location, you will need also to add a street, zip and/or city:
~~ google_map company[phpManufaktur] city[Berlin] ~~
is enough information for Google.
By default the Google Map will be shown with a height of 300px
, you can specify another height, using a percentage or pixels:
~~ google_map city[Berlin] height[400px] ~~
will show a map with a height of 400 Pixels.
You can specify a street for the location:
~~ google city[Berlin] street[Stockholmer Str. 31] ~~
By default the Google Map will be shown with a width of 100%
(full available width), you can specify another width, using percentage or pixels:
~~ google_map city[Berlin] width[300px] ~~
will show a map with a height of 300 Pixels.
You can specify a zip code for the location:
~~ google_map city[Berlin] zip[13359] ~~
will center the map to Berlin with the zip area 13359
You can specify the zoom level for the map. Supported are levels between 0
(the whole globe) and 21
(you can see single buildings). By default the zoom level is 14
:
~~ google_map city[Berlin] zoom[8] ~~
will show Berlin and the surroundings.