-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detailansicht zusätzliche Felder #25
Comments
Bzgl. Straßenansicht: Hier könnte ich automatisiert das passende Bild für die geklickte Position über die Mapillary API abfragen. Siehe: Bzw. ist im |
Hallo Sven,
wir haben für viele Straßen genau den Mapillary-Link herausgesucht, den
wir zeigen wollen. Das sind alle mit dem Standardbild
|Standard_Mapillary.jpg. Bei sehr wenigen haben wir den Aufwand
betrieben auch noch das passende Bild auf unseren Webserver hochzuladen.
Alle mit dem Bild Offen_Odeonsplatz.jpg haben einfach diesen
Default-Link zum Odeonsplatz, damit man wenigstens zu Mapillary wechseln
kann.|
|90 % des Nutzens wäre schon gegeben, wenn einfach genau das Bild und
der Mapillary-Link wie im geojson / in der Masterliste angegeben ist.
|
|Ideal wäre:
- A: Wenn ein anderes Bild als Standard_Mapillary.jpg oder
|||Offen_Odeonsplatz.jpg eingetragen ist, |||||dann zeige genau diesen
Mapillary-Link und dieses Bild an. (nice to have, den Aufwand werden wir
in Zukunft nicht mehr treiben)
|||
|||||- B: Wenn Standard_Mapillary.jpg eingetragen ist, dann zeige genau
diesen Mapillary-Link und das entsprechende Bild des Links aus Mapillary.|
||- C: Wenn ||||||Offen_Odeonsplatz.jpg|| eingetragen ist, dann zeige
irgendeinen Mapillary Link in der nähe an und das |||||entsprechende
Bild des Links aus Mapillary| (oder das default Bild Odeonsplatz zur
Unterscheidung von Fall B.)||
||Liebe Grüße
Thomas||
Am 01.11.2020 um 18:29 schrieb Sven:
…
Bzgl. Straßenansicht:
Im geojson sieht ein bild Parameter so aus:
|<a href=\"https://www.mapillary.com/map/im/P7IkXXG1E6K01H7C6BQAjI\"
target=\"_blank\">\n<img
src=\"https://www.munichways.com/img/Standard_Mapillary.jpg\"
width=175></a>|
Als Bild wird häufig ein Standardbild oder der Odeonsplatz angezeigt,
z.B. auch in Gräfelfing. Ist das beabsichtigt oder habe ich nur
schlecht Beispiele rausgesucht?
Hier könnte ich automatisiert das passend Bild für die geklickte
Position über Mapillary API abfragen. Siehe:
https://www.mapillary.com/developer/api-documentation/#images
<https://www.mapillary.com/developer/api-documentation/#images>
https://www.mapillary.com/developerpolicy
<https://www.mapillary.com/developerpolicy>
Problem ist natürlich dass eine Strasse mehrere Bilder hat. Entweder
nimmt man immer das Ende oder Anfang, oder wie beschrieben, dynamisch
das Bild von der Position wo geklickt wurde. Allerdings ist das evtl.
wenig intuitiv wenn es sich immer ändert.
Bzw. ist im |href|-Attribut meist schon die img id enthalten:
|P7IkXXG1E6K01H7C6BQAjI|. Dann könnte ich ggf. auch diese nehmen.
Allerdings ist es ja auch gewaltig aufwand für jede Strasse per Hand
eine id einzupflegen, evtl. wäre hier der Abfrageansatz von oben
einfacher.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#25 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALD5B3Q6JUDFKTLAP2ELQ3LSNWLGLANCNFSM4TGTDXIA>.
|
Straßenansicht fehlt noch. Da das eine größere Aufgabe ist, habe ich es in ein seperates Ticke gelegt. siehe #36 |
Ist:
Wunsch (wie Carto):
The text was updated successfully, but these errors were encountered: