laurenceputra
laurenceputra

Reputation: 317

sencha touch map not showing fullscreen

i've declare my map

ChalkMobile.mapContent = new Ext.Map({
    fullscreen: 'true',
    useCurrentLocation: 'true',
    mapOptions : {
        zoom: 18,
    },
});

but it's not showing in fullscreen. there's a large grey area and the map covers only less than 1/8 of the screen. any idea how to fix this?

thanks. =D

Upvotes: 1

Views: 921

Answers (1)

hering
hering

Reputation: 1954

Have you tried the following?

layout: {
   type: 'fit'
},

Upvotes: 1

Related Questions