you'll want to have a listener for the load event to create your map and map marker with the model that is associated with the store.

Code:

Ext.create('demo.store.news', {
listeners: {
load: function(store, records, successful, op, eOpts){
//create your map once the store is loaded and
//the model is successfully created and filled
//with data
var map = Ext.create({ xtype: 'mapo'});
//you can also use Ext.create('demo.view.Mapo'), but
//since you have defined your own xtype, you can use
//that
//now you can do what you want with your map,
//add it to your panel, or show it fullscreen,
//whatever you need to do.
}
}
});

Ext.create('demo.store.news', { listeners: { load: function(store, records, successful, op, eOpts){ //create your map once the store is loaded and //the model is successfully created and filled //with data var map = Ext.create({ xtype: 'mapo'}); //you can also use Ext.create('demo.view.Mapo'), but //since you have defined your own xtype, you can use //that //now you can do what you want with your map, //add it to your panel, or show it fullscreen, //whatever you need to do. } }});
Also, when I run the code for the Mapo.js, I got an error in the chrome console saying:

Unable to display map marker based on XML feed's longitude and latitude

Hi everyone, this is not the first post about the same topic , but I'm experiencing some difficulties with this, however I feel it might be very close to being solved. I'm basically creating an incident display map. The user will click on a list of road incidents and upon each item, a map will be shown displaying the incident location. The latitude and longitude is available in the xml feed. I have done the xml parsing and here are the sections of my code:

Thank you Jerome you have been of massive help! I couldn't thank you more! For now it's taking the first value from the list and the others are the same, but I'll try and figure out how to get a for loop for the itemtap in my controller! Thank you once again!

I had added a 'for' loop so that when I click on the incident list each item on the list will show a different marker. For now, every item on the list leads to the same marker. Hope you have the time to help and sorry to disturb!
Thank You!!