[Users] Can't get GeoExt 2 to work with ExtJS 4.2

Guillermo Heras guillermo.heras at gmail.com
Mon Mar 17 17:43:19 CET 2014


Never mind. I was just using Ext.require wrong. Sorry.


2014-03-17 17:20 GMT+01:00 Guillermo Heras <guillermo.heras at gmail.com>:

> Hello
>
> I'm trying to get the most simple map to show in ExtJS, copying the
> MapPanel example from GeoExt, but All I get is the following error:
> Object GeoExt.panel.Map has no method 'apply'
>
> It seems to be raised in the loader:
>
>         Ext.Loader.setConfig({
>             enabled: true,
>             disableCaching: false,
>             paths: {
>                 GeoExt: "GeoExt",
>                 Ext: "ext/src"
>             }
>         });
>
> The paths are those (approot/GeoExt contains the GeoExt js files and
> folders, and ext/src contains the extjs files and folders).
>
> Thanks you
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20140317/fb410c50/attachment.htm 


More information about the Users mailing list