Looking at Google maps bottom right bar I was wondering if there is a method to compose leaflet controls to obtain a similar effect (i.e. Attribution, links and scale) by composing existing controls.
I think it would require a custom control acting as container to which the other controls, namely Attribution, a custom "links" control and Scale, would be added.
Something like:
composed = L.controlContainer(anchor-corner, className & other common options)composed.add(L.attribution());composed.add(L.links());composed.add(L.scale());composed.addTo(map);
أكثر...
I think it would require a custom control acting as container to which the other controls, namely Attribution, a custom "links" control and Scale, would be added.
Something like:
composed = L.controlContainer(anchor-corner, className & other common options)composed.add(L.attribution());composed.add(L.links());composed.add(L.scale());composed.addTo(map);
أكثر...