PDA

View Full Version : Map HELPPPPPPPPP



Megajayeultra
15 Jul 2012, 8:33 AM
This is the code for my map so far. I notice I am doing it wrong. Can some one please tell me from where I am doing it wrong.




Ext.define("NFC.view.local", {
extend: 'Ext.Panel',
xtype: 'map',



Ext.Viewport.add( {
xtype: 'map',
useCurrentLocation: true
});




config: {
title: 'Location',
iconCls: 'map',




}
});

scottmartin
17 Jul 2012, 4:24 PM
Are you loading the UX in your html to allow access to the map component?
You have not provided much information for us to help you with.

Scott.

Megajayeultra
21 Jul 2012, 7:10 PM
if you are referring to the script google maps link then yes I am.