Re: Custom layers in PgAdmin IV Mapview

2018-09-19 Thread Dave Page
Hi On Tue, Sep 18, 2018 at 6:58 PM, Atle Frenvik Sveen wrote: > > > On Tue, Sep 18, 2018, at 17:39, Dave Page wrote: > > Hi > > > > On Tue, Sep 18, 2018 at 11:09 AM, Atle Frenvik Sveen < > a...@frenviksveen.net> > > wrote: > > > > > Hello again! > > > > > > I think I've accomplished this task no

Re: Custom layers in PgAdmin IV Mapview

2018-09-18 Thread Atle Frenvik Sveen
On Tue, Sep 18, 2018, at 17:39, Dave Page wrote: > Hi > > On Tue, Sep 18, 2018 at 11:09 AM, Atle Frenvik Sveen > wrote: > > > Hello again! > > > > I think I've accomplished this task now, see last screenshot and attached > > patch. > > > > I hope I did this patch right? > > git checkout maste

Re: Custom layers in PgAdmin IV Mapview

2018-09-18 Thread Dave Page
Hi On Tue, Sep 18, 2018 at 11:09 AM, Atle Frenvik Sveen wrote: > Hello again! > > I think I've accomplished this task now, see last screenshot and attached > patch. > > I hope I did this patch right? > git checkout master > git fetch upstream > git merge upstream/master > git checkout mapviewer_

Re: Custom layers in PgAdmin IV Mapview

2018-09-18 Thread Aditya Toshniwal
Hi, On Tue, Sep 18, 2018 at 2:25 PM Atle Frenvik Sveen wrote: > Thanks for the suggestion! It seems that the style was indeed loaded, it > just did not do what I expected it to do :/ > > But, when using the module/static/css/module.css file-approach, I guess > web\pgadmin\preferences\static\css\

Re: Custom layers in PgAdmin IV Mapview

2018-09-18 Thread Atle Frenvik Sveen
Thanks for the suggestion! It seems that the style was indeed loaded, it just did not do what I expected it to do :/ But, when using the module/static/css/module.css file-approach, I guess web\pgadmin\preferences\static\css\preferences.css is the right path for css related to the preferences-ta

Re: Custom layers in PgAdmin IV Mapview

2018-09-18 Thread Dave Page
On Tue, Sep 18, 2018 at 9:06 AM, Aditya Toshniwal < aditya.toshni...@enterprisedb.com> wrote: > Hi, > > On Tue, Sep 18, 2018 at 1:32 PM Aditya Toshniwal enterprisedb.com> wrote: > >> Hi, >> >> >> On Tue, Sep 18, 2018 at 12:43 AM Atle Frenvik Sveen < >> a...@frenviksveen.net> wrote: >> >>> Hi agai

Re: Custom layers in PgAdmin IV Mapview

2018-09-18 Thread Aditya Toshniwal
Hi, On Tue, Sep 18, 2018 at 1:32 PM Aditya Toshniwal < aditya.toshni...@enterprisedb.com> wrote: > Hi, > > > On Tue, Sep 18, 2018 at 12:43 AM Atle Frenvik Sveen > wrote: > >> Hi again! >> >> I started digging around in the code used to display the Grid in the >> table dialogue, this worked a lot

Re: Custom layers in PgAdmin IV Mapview

2018-09-18 Thread Aditya Toshniwal
Hi, On Tue, Sep 18, 2018 at 12:43 AM Atle Frenvik Sveen wrote: > Hi again! > > I started digging around in the code used to display the Grid in the table > dialogue, this worked a lot better. Now most things works as expected, > although I decided to re-write the Grid-using code rather than re-

Re: Custom layers in PgAdmin IV Mapview

2018-09-17 Thread Atle Frenvik Sveen
Hi again! I started digging around in the code used to display the Grid in the table dialogue, this worked a lot better. Now most things works as expected, although I decided to re-write the Grid-using code rather than re-use the existing code, as that seems rather tightly coupled with the tabl

Re: Custom layers in PgAdmin IV Mapview

2018-09-17 Thread Atle Frenvik Sveen
On Mon, Sep 17, 2018, at 16:05, Dave Page wrote: > Hi > > On Mon, Sep 17, 2018 at 2:52 PM, Atle Frenvik Sveen > wrote: > > > Hello again! > > > > I've managed to get closer to resolving this task (see attached image for > > the current state of the work and https://github.com/atlefren/ > > pgadm

Re: Custom layers in PgAdmin IV Mapview

2018-09-17 Thread Dave Page
Hi On Mon, Sep 17, 2018 at 2:52 PM, Atle Frenvik Sveen wrote: > Hello again! > > I've managed to get closer to resolving this task (see attached image for > the current state of the work and https://github.com/atlefren/ > pgadmin4/tree/mapviewer_custom_layers_3646 for code), but I still have > s

Re: Custom layers in PgAdmin IV Mapview

2018-09-14 Thread Dave Page
On Fri, Sep 14, 2018 at 10:43 AM, Atle Frenvik Sveen wrote: > Thanks! > > > Another question: > > I had issues running make install-node using node 10.x. The issue was > related to an old version of the leveldown package ( > https://github.com/Level/leveldown/issues/455). > > The dependency on le

Re: Custom layers in PgAdmin IV Mapview

2018-09-14 Thread Atle Frenvik Sveen
Thanks! Another question: I had issues running make install-node using node 10.x. The issue was related to an old version of the leveldown package (https://github.com/Level/leveldown/issues/455). The dependency on leveldown was introduced by the hard-source-webpack-plugin, which was requir

Re: Custom layers in PgAdmin IV Mapview

2018-09-14 Thread Dave Page
Hi On Fri, Sep 14, 2018 at 8:44 AM, Atle Frenvik Sveen wrote: > Dave, Khushboo: > > Thanks for your replies. I've created an issue here: > https://redmine.postgresql.org/issues/3646 > > Please feel free to comment and suggest changes. > > Thank you both for your input! > > I guess I will spend s

Re: Custom layers in PgAdmin IV Mapview

2018-09-14 Thread Atle Frenvik Sveen
Dave, Khushboo: Thanks for your replies. I've created an issue here: https://redmine.postgresql.org/issues/3646 Please feel free to comment and suggest changes. Thank you both for your input! I guess I will spend some time getting to know this code-base, and when time comes I think I will ne

Re: Custom layers in PgAdmin IV Mapview

2018-09-13 Thread Khushboo Vashi
On Thu, Sep 13, 2018 at 8:10 PM, Dave Page wrote: > Hi > > On Thu, Sep 13, 2018 at 2:50 PM, Atle Frenvik Sveen > wrote: > >> Hi list! >> >> The new Mapview is great, but when you give people something they always >> want more, and so do I. >> >> I want to be able to add custom background layers

Re: Custom layers in PgAdmin IV Mapview

2018-09-13 Thread Dave Page
Hi On Thu, Sep 13, 2018 at 2:50 PM, Atle Frenvik Sveen wrote: > Hi list! > > The new Mapview is great, but when you give people something they always > want more, and so do I. > > I want to be able to add custom background layers to the existing list of > layers. > > I'm thinking that the list o

Custom layers in PgAdmin IV Mapview

2018-09-13 Thread Atle Frenvik Sveen
Hi list! The new Mapview is great, but when you give people something they always want more, and so do I. I want to be able to add custom background layers to the existing list of layers. I'm thinking that the list of layers should be configurable from the Preferences -> Sql editor menu (or