Hi Expert!
I want to display my current location and get location coordinates to search nearby. Starting with the code below to display my location on the map, but its not working.
{
xtype: 'map',
useCurrentLocation: true
}
Thanks in advance!
home / developersection / forums / sencha touch 2 - display current location on map
AVADHESH PATEL
01-Jun-2013Ext.define('PPL.App', {extend : 'Ext.Map',
layout : 'fit',
config : {
items : [{
xtype : 'map',
useCurrentLocation : false
}]
}
});