[Qgis-developer] QEP about Multimap support for QGIS

A Huarte ahuarte47 at yahoo.es
Thu Aug 25 14:49:24 PDT 2016


Thanks Tim! You are right, there will be many code with this assumption. It is true that I have only reviewed the main tools in QGIS, but these changes have been small or zero. At least we can know with this commit the amount de changes to do in the main application (100 files edited, some of them with minimum changes).

Regards
Alvaro

      De: Tim Sutton <tim at kartoza.com>
 Para: A Huarte <ahuarte47 at yahoo.es> 
CC: Filipe Dias <filipesdias at gmail.com>; QGIS Developer Mailing List <Qgis-developer at lists.osgeo.org>
 Enviado: Jueves 25 de agosto de 2016 21:13
 Asunto: Re: [Qgis-developer] QEP about Multimap support for QGIS
   
Hi
Alvaro I also think this would be very interesting to add - and timely to get into QGIS 3.0. Looking forward to hearing opinions from other devs. I expect there will be many many corner cases you will have to deal with where there is currently an implicit assumption that only 1 canvas exists....
Regards
Tim


On 25 Aug 2016, at 11:31 AM, A Huarte <ahuarte47 at yahoo.es> wrote:
Thank you very much Filipe!
The extra maps are normal windows as any dockable window in QGIS. It is a QDockWidget object, and your behavior is as usual.
Best regardsAlvaro
      De: Filipe Dias <filipesdias at gmail.com>
 Para: A Huarte <ahuarte47 at yahoo.es> 
CC: "Qgis-developer at lists.osgeo.org" <Qgis-developer at lists.osgeo.org>
 Enviado: Jueves 25 de agosto de 2016 9:39
 Asunto: Re: [Qgis-developer] QEP about Multimap support for QGIS
  
Hi,
Really nice feature in my opinion. Out of curiosity: would it be possible to split Map 1 and Map 2 between two different screens? It would be really nice to be able to drag Map 2's window to a second screen.
Thanks
Cheers


On Thu, Aug 25, 2016 at 2:36 AM, A Huarte <ahuarte47 at yahoo.es> wrote:

Hi devs, I have developed an experimental code to support more than one map in QGIS. I created a video showing the features implemented ( https://vimeo.com/179982647 ).
The main features are:
   
   - New user option to enable multi map canvas mode.   

   - QGIS has one no closeable default map, and 0-N extra dockable maps.   

   - Full integration of maps in legend using a new map legend node for each map.   

   - Print composer supports layouts with different maps.   

   - New legend menu option to synchronize the extent of maps.   

   - Map tools and plugins work with the current selected map (The signals and slots to the map canvas are updated with an automatic mechanism of synchronization to minimize the migration of code and to preserve behavior).   


I'm aware that this is a big change in QGIS, and I am sure that this capability must be debated by many people (project and developer leaders...) before writing any code. Because of that, I have not created any QEP entry in the https://github.com/qgis/ QGIS-Enhancement-Proposals  page. 
I developed it to learn QGIS core and it will have work to do (plugins and tools). But it runs fine, and it was funny :-). If at least, it is useful for a day to implement this capability in QGIS or to see the amount of changes needed, I am satisfied.



github:https://github.com/qgis/QGIS/ compare/master...ahuarte47: Feature_MultimapView

video:Multi Map Canvas for QGIS

|   |
|   |  |   |   |   |   |   |
| Multi Map Canvas for QGIS |
|  |
| Ver en vimeo.com | Vista previa por Yahoo |
|  |
|   |




Comments are welcome!
Best regardsAlvaro Huarte - https://github.com/ahuarte47

______________________________ _________________
Qgis-developer mailing list
Qgis-developer at lists.osgeo.org
List info: http://lists.osgeo.org/ mailman/listinfo/qgis- developer
Unsubscribe: http://lists.osgeo.org/ mailman/listinfo/qgis- developer




   _______________________________________________
Qgis-developer mailing list
Qgis-developer at lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

—







Tim Sutton
Co-founder: KartozaProject chair: QGIS.org
Visit http://kartoza.com to find out about open source:
Desktop GIS programming servicesGeospatial web developmentGIS TrainingConsulting Services
Skype: timlinux IRC: timlinux on #qgis at freenode.net
Kartoza is a merger between Linfiniti and Afrispatial


  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160825/6231e130/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KartozaNewLogoThumbnail.jpg
Type: image/jpeg
Size: 6122 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160825/6231e130/attachment-0001.jpg>


More information about the Qgis-developer mailing list