Skip to content

positioning of map components #13

@mtennekes

Description

@mtennekes

Just implemented tm_draw and tm_fullscreen. But I'm wondering where these and other components should be placed.

tm_shape(NLD_muni) + 
  tm_polygons("dwelling_ownership") + 
  tm_fullscreen()  + 
  tm_minimap() + 
  tm_scalebar() +
  tm_geocoder() + 
  tm_draw()
Image

Opinions? @Robinlovelace @Nowosad @stragu ?

There is still an issue with the layer control box, which overlaps with any other component that is placed top left. @walkerke can this somehow be solved? Otherwise, we need to stick the layer control box to a corner without any other components.

Other question @walkerke: is it possible to change the stack order of components that are drawn in the same corner? E.g. I'd like the geocoder to be near the device borders (so top in this example) instead of between other buttons)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions