<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font face="Helvetica, Arial, sans-serif">Hi,</font></p>
<p><font face="Helvetica, Arial, sans-serif">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:</font></p>
<p><tt>launch: function () {</tt><tt><br>
</tt><tt><br>
</tt><tt> if (!Ext.state || !Ext.state.Provider) {</tt><tt><br>
</tt><tt> Ext.define('Ext.state.Provider', {});</tt><tt><br>
</tt><tt> }</tt></p>
<p><tt> // following lines are just there for verification<br>
</tt><tt> olMap1 = new ol.Map({</tt><tt><br>
</tt><tt> layers: [</tt><tt><br>
</tt><tt> new ol.layer.Tile({</tt><tt><br>
</tt><tt> source: new ol.source.Stamen({</tt><tt><br>
</tt><tt> layer: 'watercolor'</tt><tt><br>
</tt><tt> })</tt><tt><br>
</tt><tt> })</tt><tt><br>
</tt><tt> ],</tt><tt><br>
</tt><tt> view: new ol.View({</tt><tt><br>
</tt><tt> center: ol.proj.fromLonLat([-122.416667,
37.783333]),</tt><tt><br>
</tt><tt> zoom: 12</tt><tt><br>
</tt><tt> })</tt><tt><br>
</tt><tt> });</tt><tt><br>
</tt><tt> mapComponent1 = Ext.create('GeoExt.component.Map', {</tt><tt><br>
</tt><tt> map: olMap1</tt><tt><br>
</tt><tt> });</tt><tt><br>
</tt><tt>},</tt><font face="Helvetica, Arial, sans-serif"><br>
</font></p>
<p><font face="Helvetica, Arial, sans-serif">Best regards<br>
Chris</font></p>
<font face="Helvetica, Arial, sans-serif">[1] <a
class="moz-txt-link-freetext"
href="https://github.com/geoext/geoext3/issues/457#issuecomment-451979534">https://github.com/geoext/geoext3/issues/457#issuecomment-451979534</a><br>
[2]
<a class="moz-txt-link-freetext"
href="https://github.com/geoext/geoext3#recommended-from-a-git-clone-of-the-repository">https://github.com/geoext/geoext3#recommended-from-a-git-clone-of-the-repository</a></font>
<div class="moz-cite-prefix">Am 02.04.19 um 15:19 schrieb Ritesh
Saini:<br>
</div>
<blockquote type="cite"
cite="mid:2642C1AE-1DD8-404C-A211-E31CBF0760CC@gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div class="">Hello</div>
<div class=""><br class="">
</div>
I’m having the exact same issue: <a
href="https://github.com/geoext/geoext3/issues/457" class=""
moz-do-not-send="true">https://github.com/geoext/geoext3/issues/457</a>
<div class=""><br class="">
</div>
<div class="">Tried all the solutions mentioned but nothing
worked. Please help me in resolving this.</div>
<div class=""><br class="">
</div>
<div class="">Regards</div>
<div class=""><a href="https://www.digitalkube.com/vultr-coupon/"
class="" moz-do-not-send="true">https://www.digitalkube.com/vultr-coupon/</a></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@geoext.org">Users@geoext.org</a>
<a class="moz-txt-link-freetext" href="http://www.geoext.org/cgi-bin/mailman/listinfo/users">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>