<blockquote>
<p>that actually works modulo a bit of bitrot</p>
</blockquote>
<p>Sorry, I don't know this expression. Do you mean that it bloats the software? <g-emoji class="g-emoji" alias="thinking" fallback-src="https://assets-cdn.github.com/images/icons/emoji/unicode/1f914.png">🤔</g-emoji></p>
<blockquote>
<p>For GoMap!! the question is if we can supply a bounding box or similar as a parameter in the URL or not, without that it doesn't make a lot of sense.</p>
</blockquote>
<p>Yes, Universal Deeplinks are passed to the iOS app in a whole, including the anchor (<code>#</code>) tag. As far as I remember, however, the corresponding parsing isn't in place yet. That's something that needs to be done on the iOS side.</p>
<p>As far as "one Universal Link for all platforms", I don't know if anchor tags reach the server-level where a HTTP redirect would typically be implemented.<br>
So maybe we need to provide the lat and lon via query parameters, e. g. <code>https://launch.openstreetmap.org/edit?lat=53.55210&lon=9.99340&zoom=19</code></p>
<h3>Expected behaviour</h3>
<p>Just to make it clear, here's what I understood:</p>
<ul>
<li>When visiting the URL on an iOS device with "Go Map!!" installed, "Go Map!!" should launch and zoom in on the bounding box.</li>
<li>When visiting the URL on an iOS device and does not have "Go Map!!" installed, the browser (e. g. Safari) should open the URL. <em>launch.openstreetmap.org</em> should redirect the user to <code>https://www.openstreetmap.org/edit#map=19/53.55210/9.99340</code>.</li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/1478#issuecomment-434105873">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABWnLWK9db-QtLxTXYZEm7OhURUgJfRLks5up4JQgaJpZM4MVzZ7">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABWnLf68jRBz6lndRxlP9qbkuleLx8Efks5up4JQgaJpZM4MVzZ7.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/openstreetmap-website","title":"openstreetmap/openstreetmap-website","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/openstreetmap-website"}},"updates":{"snippets":[{"icon":"PERSON","message":"@wtimme in #1478: \u003e that actually works modulo a bit of bitrot\r\n\r\nSorry, I don't know this expression. Do you mean that it bloats the software? ðŸ¤”\r\n\r\n\u003e For GoMap!! the question is if we can supply a bounding box or similar as a parameter in the URL or not, without that it doesn't make a lot of sense.\r\n\r\nYes, Universal Deeplinks are passed to the iOS app in a whole, including the anchor (`#`) tag. As far as I remember, however, the corresponding parsing isn't in place yet. That's something that needs to be done on the iOS side.\r\n\r\nAs far as \"one Universal Link for all platforms\", I don't know if anchor tags reach the server-level where a HTTP redirect would typically be implemented.\r\nSo maybe we need to provide the lat and lon via query parameters, e. g. `https://launch.openstreetmap.org/edit?lat=53.55210\u0026lon=9.99340\u0026zoom=19`\r\n\r\n### Expected behaviour\r\n\r\nJust to make it clear, here's what I understood:\r\n\r\n- When visiting the URL on an iOS device with \"Go Map!!\" installed, \"Go Map!!\" should launch and zoom in on the bounding box.\r\n- When visiting the URL on an iOS device and does not have \"Go Map!!\" installed, the browser (e. g. Safari) should open the URL. _launch.openstreetmap.org_ should redirect the user to `https://www.openstreetmap.org/edit#map=19/53.55210/9.99340`."}],"action":{"name":"View Pull Request","url":"https://github.com/openstreetmap/openstreetmap-website/pull/1478#issuecomment-434105873"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/1478#issuecomment-434105873",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/1478#issuecomment-434105873",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [openstreetmap/openstreetmap-website] Support android intent uri for JOSM style remote control (#1478)",
"sections": [
{
"text": "",
"activityTitle": "**wtimme**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@wtimme",
"facts": [

]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"openstreetmap/openstreetmap-website\",\n\"issueId\": 1478,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close pull request",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"PullRequestClose\",\n\"repositoryFullName\": \"openstreetmap/openstreetmap-website\",\n\"pullRequestId\": 1478\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/openstreetmap/openstreetmap-website/pull/1478#issuecomment-434105873"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 207042171\n}"
}
],
"themeColor": "26292E"
}
]</script>