Ext.Map#map is not guaranteed to be readily accessible at instantiation time since the rendering operation is synchronous. You should create a listener for the 'maprender' event and put your logics in there instead (create markers, etc.), i.e: