This model is based off an XML feed that contains those fields. However, I do not know how to create a map marker based on the 'Latitude' and 'Longitude' from the model. I currently just set my map to my current location like this:

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.
}
}
});

Hi, thanks for your reply! I now understand the logic behind the model manager, thanks for your help! However, my application is running but I am getting this error in the Google map part. Any idea how I can solve this? Thanks!!
This is what it says:

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: