16. Juni 2009

Using the iphone/ipod and google maps

Most of these browser based games have a kind of map that is used to select your building place, or to see your enemies. I am currently replacing it with google maps that play nicely with the safari browser. 

The only thing i had to add was a little CSS that makes the map scale with the window as the ipod gets turned.

#map_canvas {
   box-sizing: border-box;
   min-height: 418px;
}

Keine Kommentare:

Kommentar veröffentlichen