mapsme / omim

🗺️ MAPS.ME — Offline OpenStreetMap maps for iOS and Android
Apache License 2.0
4.58k stars 1.15k forks source link

Bookmark with a lot of text -> hidden header #4610

Open thany opened 7 years ago

thany commented 7 years ago

A bookmark that has a lot of text, more than a whole screenful of text, doesn't open properly.

It opens with the heading & distance above the top of the screen. You could say, technically, it's Y-position is negative. It is possible to swipe down (scroll up) to see the header & distance anyway, but as soon as you let go of the screen, it jumps back up. Swiping up (scrolling down) to see more text, works fine. So the edit button can still be tapped (thank goodness for that 🙂)

Play Store version 6.4.4 - Galaxy S7 with Android 6.0

thany commented 7 years ago

I would include a zipped kml with a bookmark as an example, but github doesn't allow zip files, or adding zip files is broken. Bummer.

So, here we go:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.2">
<Document>
  <Style id="placemark-blue">
    <IconStyle>
      <Icon>
        <href>http://mapswith.me/placemarks/placemark-blue.png</href>
      </Icon>
    </IconStyle>
  </Style>
  <Style id="placemark-brown">
    <IconStyle>
      <Icon>
        <href>http://mapswith.me/placemarks/placemark-brown.png</href>
      </Icon>
    </IconStyle>
  </Style>
  <Style id="placemark-green">
    <IconStyle>
      <Icon>
        <href>http://mapswith.me/placemarks/placemark-green.png</href>
      </Icon>
    </IconStyle>
  </Style>
  <Style id="placemark-orange">
    <IconStyle>
      <Icon>
        <href>http://mapswith.me/placemarks/placemark-orange.png</href>
      </Icon>
    </IconStyle>
  </Style>
  <Style id="placemark-pink">
    <IconStyle>
      <Icon>
        <href>http://mapswith.me/placemarks/placemark-pink.png</href>
      </Icon>
    </IconStyle>
  </Style>
  <Style id="placemark-purple">
    <IconStyle>
      <Icon>
        <href>http://mapswith.me/placemarks/placemark-purple.png</href>
      </Icon>
    </IconStyle>
  </Style>
  <Style id="placemark-red">
    <IconStyle>
      <Icon>
        <href>http://mapswith.me/placemarks/placemark-red.png</href>
      </Icon>
    </IconStyle>
  </Style>
  <Style id="placemark-yellow">
    <IconStyle>
      <Icon>
        <href>http://mapswith.me/placemarks/placemark-yellow.png</href>
      </Icon>
    </IconStyle>
  </Style>
  <name>Japan Fall 2016</name>
  <visibility>1</visibility>
  <Placemark>
    <name>Takamatsu - Marugame Castle</name>
    <description>Open 9:00-16:30
Admission is ¥200

Marugame Castle (丸亀城, Marugamejō), also known as Kameyama Castle, is a hilltop castle in Marugame City. Situated high up on steep stone walls, the castle has a commanding view of the city below and overlooks one of the narrowest parts of the Seto Inland Sea, a feature which afforded it control over the main shipping lanes of the region. Marugame Castle is one of only twelve castles remaining in Japan that have survived the post feudal ages (since 1868) with their keep buildings intact.

Marugame Castle was originally constructed from 1597 to 1602 by Ikoma Chikamasa, the feudal lord who also built Tamamo Castle in nearby Takamatsu. However, due to a new policy by the shogun that limited the number of castles per province to just one, Marugame Castle was torn down again just 13 years after its completion. The castle was rebuilt in 1660 after the province had been split into two. Over the centuries many of the castle buildings were destroyed by fires, and now only the original keep and several of the castle gates remain.

Today the castle sits as the centerpiece of Kameyama Park, a large public park covering the original castle grounds, in the heart of Marugame City. Visitors who wish to explore the castle's small, three story keep must climb a steep road through multiple circles of defense to the top of the hill and will be rewarded with panoramic views out over Marugame and the Seto Inland Sea. The keep can be entered and houses a small museum.

The castle grounds are also one of the region's most famous cherry blossom spots with nearly 1000 cherry trees planted around the walls and castle keep. The blossoms are usually best from late March to early April, and an annual cherry blossom festival is held on the grounds during the first two weeks of April.</description>
    <styleUrl>#placemark-red</styleUrl>
    <Point><coordinates>133.80006,34.286139</coordinates></Point>
  </Placemark>
</Document>
</kml>