Not sure if this is the kind of stuff you were looking. https://gisunchained.wordpress.com/2014/09/09/coordenadas-dos-cantos-do-mapa-em-qgis-map-corner-coordinates-in-qgis/
A qui, 27/10/2016, 20:08, Nyall Dawson <nyall.daw...@gmail.com> escreveu: > On 28 Oct 2016 1:51 AM, "DelazJ" <del...@gmail.com> wrote: > > > > Hi all, > > > > Is that possible to create a label which displays the x and y > coordinates of a selected map item in the composer. > > I suspect x(@map_extent_center) to do the trick but I'm unable to find > how to call the map_extent_center variable in a label item as it's stuck to > the map item afaics. > > > > Any tip, please? > > It's not currently possible unless you write a python function to do this. > > I've been pondering this week about allowing items to access the variables > from another item but need to think this through more. > > My (current) use case: > - working on a map of a train line which consists of three vertical panels > covering different parts of the line > - certain elements (like label buffers) in the map style use a > @background_color variable to data define their color > - each map item in the composition has its own @background_color variable > set so that this color represents a good background color for the visible > content within that panel > - I want to style things like North arrows to reuse the @background_color > variable from the map item they are associated with. > > Nyall > > > > > > Thanks, > > Harrissou > > > > _______________________________________________ > > Qgis-user mailing list > > Qgis-user@lists.osgeo.org > > List info: http://lists.osgeo.org/mailman/listinfo/qgis-user > > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user > _______________________________________________ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: http://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user -- Alexandre Neto --------------------- @AlexNetoGeo http://sigsemgrilhetas.wordpress.com http://gisunchained.wordpress.com
_______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user