Answers for "staticmap google responsive"

1

google maps static responsive

// map size 400w x 200h

.container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.container img {
  position: absolute;
  top: calc(50% - 100px);
  left: calc(50% - 200px);
}
Posted by: Guest on November-24-2020

Browse Popular Code Answers by Language