Results 1 to 3 of 3

Thread: GeoExt on Architect: is it possible?

  1. #1
    Sencha User
    Join Date
    Apr 2017
    Posts
    7

    Default GeoExt on Architect: is it possible?

    Hello there,
    I'd like to use GeoExt on Architect but i'm haveing a lot of problems.

    Has anyone tried it yet or maybe someone wants to help me to configure Architect properly?
    The problem is that GeoExt semms to not provide an Architect package (.aux file) so I think that i have to import manually the library.
    I tried to follow instructions provided for Sencha CMD here and here with no luck at all..

    Am I missing something? I'm stucked in a situation that I can not handle and i have no clue on what I can try to do.



  2. #2
    Sencha User
    Join Date
    Sep 2014
    Location
    Central Europe
    Posts
    795
    Answers
    103

    Default

    As Cmd package should be most easy https://github.com/geoext/geoext3#al...ha-cmd-package

    You should be able to edit app.json in your app and that should be it.

    What exactly doesn't work? Do you have some error message etc?

  3. #3
    Sencha User
    Join Date
    Apr 2017
    Posts
    7

    Default

    Yes, I tried the way you mentioned but i'm not able to instantiate any GeoExt class. For instance if i launch
    mapComponent = Ext.create('GeoExt.component.Map', {});
    I get the following error:
    GeoExt.jpg

    I solved the problem in a tricky way that i can not consider a canonical approach to Architect, but it worked for me.
    1. Add a new js resource to the project inspector and set the ol url https://openlayers.org/en/v4.4.2/build/ol.js
    2. Create folder MyProject\packages\remote
    3. Add GeoExt to the remote folder
    4. Check MyProject\packages\remote\GeoExt\src is the src folder of GeoExt
    5. Replace "classpath" attribute with the following lines, in app.json:


    "classpath": [


    "app",
    "packages/remote/GeoExt/src"

    ],

    Even if it works, I'm not sure at all that it is the right way to use it..

Similar Threads

  1. GeoExt
    By schacha in forum Ext JS 6.x Q&A
    Replies: 0
    Last Post: 27 Apr 2017, 10:44 PM
  2. Integrating GeoExt 2.0 into Sencha Architect 3
    By Josh.McDowell in forum Sencha Architect 2.x: Help & Discussions
    Replies: 0
    Last Post: 8 Apr 2014, 6:26 AM
  3. GeoExt 2 how to use
    By Civera in forum Sencha Architect 2.x: Help & Discussions
    Replies: 0
    Last Post: 30 Jun 2013, 4:04 PM
  4. Geoext inside Sencha Architect
    By itssa in forum Sencha Architect 2.x: Help & Discussions
    Replies: 1
    Last Post: 21 Mar 2013, 2:55 PM
  5. Is there a bug in GeoExt.data.FeatureStore ( GeoExt 2 ) ?
    By Shadin_a in forum Ext: Discussion
    Replies: 1
    Last Post: 2 Oct 2012, 9:46 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •