[Users] PermalinkProvider breaks "modern" applications

Christian Mayer ml-cm at meggsimum.de
Tue Apr 2 16:15:35 CEST 2019


Hi,

the workaround provided in the issue #457 [1] works for me. I just
created a modern application and integrated GeoExt as described in the
README of the project [2]. I injected the workaround code in the
Application's launch function like this:

launch: function () {

    if (!Ext.state || !Ext.state.Provider) {
        Ext.define('Ext.state.Provider', {});
    }

    // following lines are just there for verification
    olMap1 = new ol.Map({
        layers: [
            new ol.layer.Tile({
                source: new ol.source.Stamen({
                    layer: 'watercolor'
                })
            })
        ],
        view: new ol.View({
            center: ol.proj.fromLonLat([-122.416667, 37.783333]),
            zoom: 12
        })
    });
    mapComponent1 = Ext.create('GeoExt.component.Map', {
        map: olMap1
    });
},

Best regards
Chris

[1] https://github.com/geoext/geoext3/issues/457#issuecomment-451979534
[2]
https://github.com/geoext/geoext3#recommended-from-a-git-clone-of-the-repository

Am 02.04.19 um 15:19 schrieb Ritesh Saini:
> Hello
>
> I’m having the exact same
> issue: https://github.com/geoext/geoext3/issues/457
>
> Tried all the solutions mentioned but nothing worked. Please help me
> in resolving this.
>
> Regards
> https://www.digitalkube.com/vultr-coupon/
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geoext.org/pipermail/users/attachments/20190402/291a2033/attachment.html>


More information about the Users mailing list