Set padding usage
See original GitHub issuehi i saw setPadding method was added in new released sdk. I’ve tried and it seems that it’s not taking effects.
Map.setPadding(56, 16 , 56 ,16); Map.zoomTo(GeoBoundingBox.getBoundingBoxContainingGeoCoordinates(list), Map.Animation.LINEAR, 0);
This is how i implement it, any suggestion?
Issue Analytics
- State:
- Created 4 years ago
- Comments:12
Top Results From Across the Web
CSS Padding - W3Schools
Padding is used to create space around an element's content, inside of any defined borders. This element has a padding of 70px.
Read more >padding - CSS: Cascading Style Sheets - MDN Web Docs
The padding CSS shorthand property sets the padding area on all four sides of an element at once.
Read more >How to Set Padding inside the Elements Using CSS
The CSS padding properties allow you to set the spacing between the content of an element and its border (or the edge of...
Read more >padding | CSS-Tricks
Padding values are set using lengths or percentages, and cannot accept negative values. The initial, or default, value for all padding ...
Read more >CSS: padding property - TechOnTheNet
This CSS tutorial explains how to use the CSS property called padding with syntax and examples. The CSS padding property defines the padding...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @bluesnow4425, What are you trying to achieve with padding? Set padding to
list
ofMapObject
?Method
setPadding
is only used to define invisible area of the map aroundMapView
(doc), it does not set padding forMabObject
(like MapMarker, MapCircle etc), for this purposes use this approach.@NazarKacharaba thanx for the explanation!